S2L Wavegraph

   Print  Previous  Next

Functions Provided By S2L Wavegraph

This effect uses the following functions:

This Effect uses the Color Controls. Learn more »Using Color Controls
This Effect uses the BPM Control. Learn more »Using BPM Control
This Effect uses Directions. Learn more »Using Directions
This Effect uses Look-At Types. Learn more »Using Look-At Types

 

Function

Description

void SetTimeSlot(float value)

Sets the Time Slot value, which is the length of the displayed wave data, in seconds. This function also automatically sets the BPM to the corresponding value. Valid values for value range from 0.01 to 9999.

float GetTimeSlot()

Returns the current Time Slot in seconds.

void SetChannelMode(int value)

Sets the Channel Mode value, which defines the displayed audio channels. See below for a list of constants.

int GetChannelMode()

Returns the current Channel Mode. See below for a list of constants.

 

Channel Mode Constants

Constant

Description

int CHANNEL_MODE_STEREO

Selects Stereo mode, which displays the left channel and the right channel at the same time.

int CHANNEL_MODE_MONO

Selects Mono mode, which is the average of the left channel and the right channel.

int CHANNEL_MODE_LEFT

Selects the Left channel only.

int CHANNEL_MODE_RIGHT

Selects the Right channel only.

 

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 SetChannelView(int view)

Use SetChannelMode(int value) instead.

int GetChannelView()

Use GetChannelMode() instead.

void SetShiftOutwards(int enable)

Use SetDirection(int value) with value DIRECTION_X_AXIS_EXPLODE or DIRECTION_Y_AXIS_EXPLODE instead to activate outwards movement. Use any other available direction to deactivate it.

int GetShiftOutwards()

Use GetDirection() instead. If it returns DIRECTION_X_AXIS_EXPLODE or DIRECTION_Y_AXIS_EXPLODE, outwards movement is currently activated. Otherwise, it is currently deactivated.

void SetShiftInwards(int enable)

Use SetDirection(int value) with value DIRECTION_X_AXIS_IMPLODE or DIRECTION_Y_AXIS_IMPLODE instead to activate inwards movement. Use any other available direction to deactivate it.

int GetShiftInwards()

Use GetDirection() instead. If it returns DIRECTION_X_AXIS_IMPLODE or DIRECTION_Y_AXIS_IMPLODE, inwards movement is currently activated. Otherwise, it is currently deactivated.

CHM_STEREO

Use CHANNEL_MODE_STEREO instead.

CHM_MONO

Use CHANNEL_MODE_MONO instead.

CHM_LEFT

Use CHANNEL_MODE_LEFT instead.

CHM_RIGHT

Use CHANNEL_MODE_RIGHT instead.

 

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