Audio Clip | This node loads and plays different types of audio files, such as MP3 and WMA. | |
Sound | This node loads and plays sounds and audio clips in WAV format only. |
The Audio node plays back all those audio formats for which the appropriate DirectShow filters are installed on the system. Usually MP3, WMA, and WAV are supported by default.
The Audio Clip node offers several input properties for controlling playback of an audio file.
The property File specifies the audio file to play. The property Loop indicates if the playback should be looped. The property AutoActivate specifies if the playback should start automatically when the scene is loaded or activated. The property Volume adjusts the playback volume. The property Balance adjusts the playback volume between the left and right audio channel.
The category Audio Control provides properties to start, pause and continue the audio playback. The property Control can be bound to a Keyframe Animation node to control the playback in the time-line of the Animation Editor.
The property Ordinal specifies the audio device that should be used for playback.
The output event Complete is fired if playback has reached the end of the audio file.
The Sound node can be used to play back sounds and audio clips. It provides functionality similar to the Audio Clip Node. The main difference is that the Sound node can only play back WAV files and supports multi-play functionality. Because WAV files store audio data in an uncompressed format, only short audio clips or sound effects should be played by using the Sound node. Long audio clips should be transcoded into a compressed audio file format to reduce file size.
The property File specifies the audio file to play. The property Loop indicates if the playback should be looped. The property AutoActivate specifies if the playback should start automatically when the scene is loaded or activated. If the property MultiPlay is activated, a new additional playback of the sound file starts every time the Play method is triggered. This may be useful for playing back multiple overlapping sound effects. The property Volume adjusts the playback volume. The property Balance adjusts the playback volume between the left and right audio channel.
The category Audio Control provides properties to start and stop the audio playback. The property Control can be bound to a Keyframe Animation node to control the playback in the time-line of the Animation Editor.
The property Ordinal specifies the audio device that should be used for playback.