MJMixerAutomation

From wiki.jriver.com
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

provides volume, balance, and mute control

Functions

void SetEQBand(number nBand, number nValue)

Description: sets the value of an equalizer band
Parameters:

  • nBand: the equalizer band (0 = preamp, 1 - 10 = eq bands)
  • nValue: the new band value (-100 to 100 where -100 is full cut, 0 is no gain, and 100 is full gain)

number GetEQBand(number nBand)

Description: gets the value of an equalizer band
Parameters:

  • nBand: the equalizer band (0 = preamp, 1 - 10 = eq bands)

Return Value: value of the specified band (-100 to 100 where -100 is full cut, 0 is no gain, and 100 is full gain)

void UpdateEQSettings(number bUpdatePlayer, number bUpdateMiniMe)

Description: updates the internal settings to reflect outside changes (made in DSP Studio, etc.) -- not necessary in most cases
Parameters:

  • bUpdatePlayer: whether to update the player window (0 = no, 1 = yes)
  • bUpdateMiniMe: whether to update the mini-me window (0 = no, 1 = yes)

void ShowDSP()

Description: Activate the DSP

Properties

number Volume() (read / write)

Description: the volume (0 = no volume, 100 = full volume)

number Balance() (read / write)

Description: the balance between left and right (-100 = all left, 0 = centered, 100 = all right)

boolean Mute() (read / write)

Description: the mute state (0 = not muted, 1 = muted)

boolean EQOn() (read / write)

Description: whether the equalizer is on or off (0 = off, 1 = on)