TDelphiFruityPlug |
[DELPHI only]
Declared in : FP_DelphiPlug.pas
This class is derived from TFruityPlug and adds some helper functions. It's not necessary to derive from this class if you want to create a plugin.
GetStep_Cents | (internal) Parameters : Pitch (integer) Result (integer) |
GetStep_Cents_S | (internal) Parameters : Pitch (single) Result (integer) |
GetStep_Freq | (internal) Parameters : Freq (integer) Result (integer) |
ProcessAllParams | (internal) Calls ProcessParam for all parameters Parameters : none Result : none |
SkipRendering | (internal) Parameters : SourceBuffer (pointer) DestBuffer (pointer) Length (integer) Result : none |
ShowHintMsg | Let the host show a hint to the user Parameters : Msg (string) : The hint to show. Add "^a" (parameter can be linked to a midi controller) and "^b" (parameter is recordable) to the beginning of the hint to have FL Studio show little icons Result : none |
ShowHintMsg_Direct | Show a hint to the user. Unlike ShowHintMsg, this function shows it without
any delay. Useful for progress indicators. Parameters : Msg (string) : The hint to show. Add "^a" (parameter can be linked to a midi controller) and "^b" (parameter is recordable) to the beginning of the hint to have FL Studio show little icons Result : none |
ShowHintMsg_Percent | Shows a hint for a value in percentage Parameters : Value (integer) : The value to be shown as a percentage Max (integer) : The maximum for the value (the value is counted from 0..Max) Result : none |
ShowHintMsg_Pitch | Show a hint for a value in terms of pitch Parameters : Value (integer) : The value to be shown in terms of pitch PitchType (integer) : ? Result : none |
ShowHintMsg_Gauge | Show a progress gauge as a hint Parameters : Msg (string) : The hint to show. Add "^a" (parameter can be linked to a midi controller) and "^b" (parameter is recordable) to the beginning of the hint to have FL Studio show little icons Value (integer): The current value Max (integer): The maximum value Result : none |
AdjustParamPopup | Adds menu items that FL Studio tells it about to the specified menu item. Parameters : Item (TMenuItem) : The menu item to set the state of ParamNum (integer) : The index of the parameter ItemIndex (integer) : The index of the menu item (see Parameter Popup Menu Item Indexes) SetOnClick (TNotifyEvent) : A method that will be called when the user clicks one of the menu items that this function adds Result : none |
Lock | Lock the critical section in order to change something that could be accessed
by multiple threads Parameters : none Result : none |
Unlock | Unlock the critical section Parameters : none Result : none |
PlugHost | (TFruityPlugHost) This object is used when the plugin needs to talk to the host application. |
EditorForm | (TForm) Set this to the editor form of the plugin when it is created |
SmpRate | (integer) The current sample rate |
PitchMul | (single) A pitch multiplier |
ProgPath | (FL 7.0) (string) Will hold the path where FL Studio is installed |