M2L Drops

   Print  Previous  Next

Functions Provided By M2L Drops

This effect uses the following functions:

This Effect uses Directions. Learn more »Using Directions
This Effect uses the Color Table. Learn more »Using Color Table
This Effect uses Shapes. Learn more »Using Shapes
This Effect uses the BPM Control. Learn more »Using BPM Control
This Effect uses the Size Control. Learn more »Using Size Control

 

Function

Description

void SetSpeedVariance(int value)

Sets the Speed Variance value, which means a random value between 0 and 500 percent. This value will multiply with the current BPM value.

int GetSpeedVariance()

Returns the current Speed Variance.

void SetLength(float value)

Sets the Length value, which defines how long the trace of the shapes is, in percent of the matrix size (depending on the direction). Valid values for value range from 0.0 to 100.0.

float GetLength()

Returns the current Length in percent.

void SetPixelLength(int value)

Sets the Length value, which defines how long the trace of the shapes is, in pixels.

int GetPixelLength()

Returns the current Length in pixels.

void SetLengthOffset(float value)

Set the Length Offset value between the shapes of the trace, in percent of the matrix size (depending on the direction). Valid values for value range from 0.0 to 100.0.

float GetLengthOffset()

Returns the current Length Offset in percent.

void SetPixelLengthOffset(int value)

Set the Length Offset value between the shapes of the trace, in pixels.

int GetPixelLengthOffset()

Returns the current Length Offset in pixels.

void SetPitch1(float value)

Sets the Pitch value for axis one (depending on the direction), which is the distance of the shapes, in percent of the matrix size (depending on the direction). Valid values for value range from 0.0 to 100.0.

float GetPitch1()

Returns the current Pitch for axis one in percent.

void SetPixelPitch1(int value)

Sets the Pitch value for axis one (depending on the direction), which is the distance of the shapes, in pixels.

int GetPixelPitch1()

Returns the current Pitch for axis one in pixels.

void SetPitch2(float value)

Sets the Pitch value for axis two (depending on the direction), which is the distance of the shapes, in percent of the matrix size (depending on the direction). Valid values for value range from 0.0 to 100.0.

float GetPitch2()

Returns the current Pitch for axis two in percent.

void SetPixelPitch2(int value)

Sets the Pitch value for axis two (depending on the direction), which is the distance of the shapes, in pixels.

int GetPixelPitch2()

Returns the current Pitch for axis two in pixels.

void SetAlphaMix(int value)

Sets the Alpha Mix value, which defines the variance of the shapes' alpha channel, in percent. Valid values for value range from 0 to 100.

int GetAlphaMix()

Returns the current Alpha Mix in percent.

void SetInvert(int value)

Use value TRUE to invert the shape's positions. Use value FALSE to use the default setting.

int GetInvert()

Returns TRUE, if the shape's positions are inverted, otherwise FALSE.

void ToggleInvert()

Inverts the shape's positions or uses the default setting, depending on the current state.

void SetMirror(int value)

Use value TRUE to mirror the shape's positions. Use value FALSE to use the default setting.

int GetMirror()

Returns TRUE, if the shape's positions are mirrored, otherwise FALSE.

void ToggleMirror()

Mirrors the shape's positions or uses the default setting, depending on the current state.

void SetGeneratorType(int value)

Sets the Generator Type. See below for a list of constants.

int GetGeneratorType()

Returns the current Generator Type. See below for a list of constants.

Function

Description

void SetToneRangeMin(int index)

Sets the minimum Tone Range for the effect with the help of 128 MIDI notes. Valid values for index range from 0 to 127.  »Valid parameters (Notes)

int GetToneRangeMin()

Returns the currently set minimum Tone Range.

void SetToneRangeMax(int index)

Sets the maximum Tone Range for the effect with the help of 128 MIDI notes. Valid values for index range from 0 to 127.  »Valid parameters (Notes)

int GetToneRangeMax()

Returns the currently set maximum Tone Range.

 

Generator Type Constants

Constant

Description

int GENERATOR_TYPE_TONE

Sets the generator type to Tone.

int GENERATOR_TYPE_INTERVAL

Sets the generator type to Interval.

int GENERATOR_TYPE_BASS_TYPE

Sets the generator type to Bass Type.

 

MADRIX 2.X To MADRIX 3.X Migration Hints

The MADRIX 2.X effect M2L Interval Drops has been renamed to M2L Drops in MADRIX 3.X. The following functions and constants are not supported anymore. Please follow the hints to migrate your macros.

Function/Constant

Description

void SetPixelWidth(int value)

Use SetPixelSizeX(int value) instead.

int GetPixelWidth()

Use GetPixelSizeX() instead.

void SetStep(int value)

Use SetPixelLengthOffset(int value) instead.

int GetStep()

Use GetPixelLengthOffset() instead.

void SetPitch(int value)

Use SetPixelPitch1(int value) instead.

int GetPitch()

Use GetPixelPitch1() instead

void SetUseBass(int  value)

Use SetGeneratorType(GENERATOR_TYPE_BASS_TYPE) instead.

int GetUseBass()

Use GetGeneratorType() instead.

 

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