Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Current »

defineModulation(name, bipolar)


Function to declare a modulation output for the script module, which can be assigned in the modulation matrix of the Zone. After the declaration the modulation output can be found in the Modulation Module submenu of the modulation matrix's Source menu. The function can be called multiple times to declare different modulation outputs.

The function declares only the modulation output. It does not calculate the modulation signal. The modulation signal must be generated with calcModulation.

Available in: Processor.


nameThe name of the modulation output as it will be shown in the modulation matrix of the Zone.string
bipolarIf this is set to true, the output is expected to be in the range from -1.0 to 1.0. If this is set to false, the output is expected to be in the range from 0.0 to 1.0.boolean


function onInit()
   defineModulation("Mod 1", false) -- unipolar
   defineModulation("Mod 2", true)  -- bipolar

See Also: calcModulation 

  • No labels