Pan

with_fx :pan do
play 50
end

amp:

1

amp_slide:

0

mix:

1

mix_slide:

0

pre_amp:

1

pre_amp_slide:

0

pan:

0

pan_slide:

0

Please write documentation!

 amp:

The amplitude of the sound. Typically a value between 0 and 1. Higher amplitudes may be used, but won't make the sound louder, it will just reduce the quality of all the sounds currently being played (due to compression.)
Default: 1
must be zero or greater
May be changed whilst playing

 amp_slide:

Amount of time (in seconds) for the amplitude (amp) to change. A long slide value means that the amp takes a long time to slide from the previous amplitude to the new amplitude. A slide of 0 means that the amplitude instantly changes to the new amplitude.
Default: 0
must be zero or greater
May be changed whilst playing

 mix:

The amount (percentage) of FX present in the resulting sound represented as a value between 0 and 1. For example, a mix of 0 means that only the original sound is heard, a mix of 1 means that only the FX is heard (typically the default) and a mix of 0.5 means that half the original and half of the FX is heard.
Default: 1
must be a value between 0 and 1 inclusively
May be changed whilst playing

 mix_slide:

Amount of time (in seconds) for the mix value to change. A long slide value means that the mix takes a long time to slide from the previous value to the new value. A slide of 0 means that the mix instantly changes to the new value.
Default: 0
must be zero or greater
May be changed whilst playing

 pre_amp:

Amplification applied to the input signal immediately before it is passed to the FX.
Default: 1
must be zero or greater
May be changed whilst playing

 pre_amp_slide:

Amount of time (in seconds) for the pre_amp value to change. A long pre_amp_slide value means that the pre_amp takes a long time to slide from the previous value to the new value. A pre_amp_slide of 0 means that the pre_amp instantly changes to the new value.
Default: 0
must be zero or greater
May be changed whilst playing

 pan:

Position of sound in stereo. With headphones on, this means how much of the sound is in the left ear, and how much is in the right ear. With a value of -1, the soundis completely in the left ear, a value of 0 puts the sound equally in both ears and a value of 1 puts the sound in the right ear. Values in between -1 and 1 move the sound accordingly.
Default: 0
must be a value between -1 and 1 inclusively
May be changed whilst playing

 pan_slide:

Amount of time (in seconds) for the pan to change. A long slide value means that the pan takes a long time to slide from the previous pan position to the new pan position. A slide of 0 means that the pan instantly changes to the new pan position.
Default: 0
must be zero or greater
May be changed whilst playing