audGetChannelPan

Gets the current stereo panning of a playing channel. Takes channel (channel handle). Returns the current pan position for the specified channel.

Audio

Parameters & Returns

Parameters

channel Int

Returns

Double

Quick Summary

Gets the current stereo panning of a playing channel. Takes channel (channel handle). Returns the current pan position for the specified channel.

Technical Exegesis...

Returns the current pan position for the specified channel. Pan ranges from -1.0 (full left) through 0.0 (center) to 1.0 (full right).

Returns 0.0 if the channel handle is invalid or <= 0. Use this to query the current pan setting before making adjustments or for implementing dynamic panning effects.

Example

Example.bam
Local pan:Double = audGetChannelPan(channel)