Products Applications Downloads Features Wiki forum Store

Audio Play CHOP

From Wiki077
Jump to: navigation, search

Summary

The Audio Play CHOP plays back a sound file through any attached audio output device using DirectSound. It supports .aif, .mp3, .mid, and .wav files up to 48.000 kHz, which can have mono, stereo or even up to 5.1 channels in them. The audio channels can then be routed to any speaker location that DirectSound uses, which is 7.1 and more. See Outputs section below.

The first input (Input 0:Triggers) is used to trigger the audio file to play. The second input (Input 1: Volume) can be used to control volume, if no input is connected the Volume parameter will be used. The third input (Input 2: Pan) is for panning, no input assumes it is centered. When using the DAT List parameter, the inputs can contain mulitiple channels to manipulate each file individually. Multiple Audio Play CHOPs can output to different devices simutaneously.

The Audio Play CHOP can also be triggered through the audioplay command. Some advanced options are only available through the audioplay command.

The file can be read in from disk or from the web. Use http:// when specifying a URL.

Parameters - Audioplay Page

Device /device - A menu of available audio devices to output to. Selecting default sets the audio device to that which is selected in Windows Control Panel>Sounds and Audio Devices>Audio>Sound Playback.

Sound File /file - .aif, .mp3, .mid or .wav audio file. The file can be mono or stereo.

DAT List /datlist - Links to a Table DAT which can be used as list of audio files to choose from. When using the DAT List, the first input (Input 0: Triggers) on the CHOP can contain mulitiple channels to fire the files in the list individually. Using the audioplay command the index can be specified directly.

Volume /volume - 0 = mute, 1 = full volume. Using the second input (Input 1: Volume) or the audioplay -v command will override the value of this parameter.

Mode /mode - Determines how the audio is triggered when using the first input to trigger.

  • Play While On - Plays while input is 1.
  • Trigger - Triggers once when input goes to 1.
  • Loop - Plays and loops when input goes to 1.

Cook Every Frame /cookalways - Forces CHOP to cook every frame.

Parameters - Output 1 Page

Stereo Mode /stereo - Sets output to just 2 channels, front left and front right.

Outputs - The outputs on this page and the following Output 2 page are for routing to an audio device's different speaker outputs. Not all devices will support all ouputs. For each speaker output, you can route any of the file's channels to play through it. For example, you can easily output the front left channel of the file to the all the front left speaker outputs, or you could output the front left channel to both front and rear speaker outputs. The value of each output parameter determines which channel from the file it plays, see below.

  • -1 - no audio plays through this output
  • 0 - front left channel will play
  • 1 - front right channel will play
  • 2 - rear left channel will play
  • 3 - rear right channel will play
  • 4 - center channel will play
  • 5 - sub or low frequency channel will play

The following speaker outputs are found on this parameter page.

Front Left
Front Right
Front Center
Low Frequency
Back Left
Back Right
Front Left of Center
Front Right of Center
Back Center

Parameters - Output 2 Page

The following speaker outputs are found on this parameter page.

Side Left
Side Right
Top Center
Top Front Left
Top Front Center
Top Front Right
Top Back Left
Top Back Center
Top Back Right

Notes

ASIO not supported.

See also File Types


Personal tools