Using Director > Sound, Video, and Synchronization > Playing sounds with Lingo > Controlling sound channels |  |

Controlling sound channels

You can use Lingo to make actions in a movie dependent on whether a sound is playing. Lingo lets you determine whether a sound is playing in a particular sound channel and control how a channel plays sound.

| To determine whether a specific channel is playing a sound, use the `isBusy()` function. See `isBusy()`.
| To turn off the current sound in a specific channel, use the `setPlayList()` command with `[ ]` as the new play list. This will delete the entire sound queue and leave the current sound playing. Use the `stop()` command to stop the currently playing sound. See `setPlaylist()` and `stop() (sound)`.
| To fade a specific channel's sound in and out, use the `fadeTo()` function. See `fadeTo()`.
| To control a specific sound channel's volume, specify the `volume` property. See `volume (sound channel)`.
| To control the left-to-right panning of a sound, specify the `pan` property. See `pan (sound property)`.