Functions Provided By SCE Pulse / Stroboscope
This effect uses the following functions:
Function
|
Description
|
void SetRatio(float value)
|
Sets the Ratio value.
|
float GetRatio()
|
Returns the Ratio value.
|
void SetFade(int enable)
|
Sets the Fade option. Use TRUE to activate it. Use FALSE to deactivate it.
|
int GetFade()
|
Returns TRUE, if Fade is activated, otherwise FALSE.
|
void ToggleFade()
|
Toggles the Fade option.
|
MADRIX 2.X To MADRIX 3.X Migration Hints
The following functions and constants are not supported anymore. Please follow the hints to migrate your macros.
Function/Constant
|
Description
|
void SetFrequency(int frequency)
|
Use SetBpm(float value) instead. 60 BPM are 1Hz. A frequency of 18 Hz equals 1080 BPM.
|
int GetFrequency()
|
Use GetBpm() instead. Divide the returned value by 60 to get the frequency value in Hz.
|
void SetOnTime(float time)
|
Use SetRatio(float value) instead. A Ratio of 80% means an on-time of 0.2s and an off-time of 0.8s with 60 BPM (1Hz).
|
float GetOnTime()
|
Use GetRatio() instead.
|
void SetOffTime(float time)
|
Use SetRatio(float value) instead. A Ratio of 80% means an on-time of 0.2s and an off-time of 0.8s with 60 BPM (1Hz).
|
float GetOffTime()
|
Use GetRatio() instead.
|
void SetMode(int mode)
|
Use SetRatio(float value) instead. A value of 50.0 equals the old PULSE mode.
|
int GetMode()
|
Use GetRatio() instead. A value of 50.0 equals the old PULSE mode.
|
|