[][src]Module fpsdk::voice

Voices used by generators to track events like their instantiation, release, freeing and processing some events.

Structs

LevelParams

This structure holds the parameters for a channel. They're used both for final voice levels (voice levels+parent channel levels) and original voice levels. LevelParams is used in Params.

Params

This is the type for the parameters for a voice. Normally, you'll only use final_levels. The final levels are the initial (voice) levels altered by the channel levels. But the initial levels are also available for, for example, note layering. In any case the initial levels are made to be checked once the voice is triggered, while the other ones are to be checked every time.

Tag

Identifier.

Enums

Event

Voice events.

Traits

ReceiveVoiceHandler

Implement this trait for your type if you make a generator plugin.

SendVoiceHandler

Additional methods used by ReceiveVoiceHandler in VFX plugins for the output voices.

Voice

You should implement this trait to your voice type.

Functions

vol_to_midi_vel

Translate FL voice volume to linear velocity (0.0..127.0).

vol_to_vel

Translate FL voice volume to linear velocity (0.0..1.0).