Functions (MAS Script Effect)

   Print  Previous  Next

Specific Resources

»Functions called by MADRIX
MAS Script Effect: Available Functions

 

»Using Frames

 

General Resources

»Keyword Search
»List Of Functions (Alphabetical Order)
»List Of Functions (Grouped)
»List Of Global Variables and Constants
»List Of Operations
»List Of Structures
»Table Of Frequencies
»Table Of Notes

 

Available Functions

For non-specific functions, see »List of Functions (Alphabetical Order)
In addition to that, there are several other functions available for the MAS Script Effect which are not available for macros.

 

MAS Script-Specific Functions

Function

Description

void SetFrameCount(float fc)

Set the number of frames the effect produces before it gets repeated. See »here for further details.

Learn more »Using Frames

 

MADRIX 2.X To MADRIX 3.X Migration Hints

The following functions are not supported anymore. Please follow the hints to migrate your macros.

Function

Description

void SetFixedFrameRate(int bpm, int enable)

Use SetAsync(int value) instead. »Description

Please note that the interpretation of value is inverted now (deactivated asynchonous rendering activates the usage of a fixed frame rate and vice versa). Furthermore, the usage of a fixed frame rate will always synchonize the effect to the frame rate of the Main Mixer of MADRIX which is 50 Hz by default. The render frequency (bpm) cannot be controlled by macro anymore.

void SetUseFloatFrames(int enable)

Use SetStep(int value) instead. »Description

Please note that the interpretation of value is inverted now. (If stepped rendering is deactivated, floating-point frames are used. If stepped rendering is activated, integer frames are used.)

 

 

MADRIX Version: 3.6j | Script Version: 2.22
[Ctrl & +/-] = Zoom In/Out | [Ctrl & 0] = 100%
Print   Previous   Next