SoundTransform
The SoundTransform object contains properties for volume and panning.
Can be created with new method:
Lib.Media.Audio.SoundTransform.new(vol, panning) |
Creates a SoundTransform object. |
vol (recommended default = 1) - The volume, ranging from 0 (silent) to 1 (full volume). panning (recommended default = 0) - The left-to-right panning of the sound, ranging from -1 (full pan left) to 1 (full pan right). A value of 0 represents no panning (center). |
Created SoundTransform object has properties:
pan |
The left-to-right panning of the sound, ranging from -1 (full pan left) to 1 (full pan right). |
number |
volume |
The volume, ranging from 0 (silent) to 1 (full volume). |
number |
Created with the Personal Edition of HelpNDoc: Free help authoring environment