Owning Palette: Sound VIs
Use the Sound Output VIs to configure and control a sound output device.
Windows You must have DirectX 8.0 or later to use the Sound Output VIs.
The VIs on this palette can return general LabVIEW error codes.
| Palette Object | Description |
|---|---|
| Play Sound File | Opens a file and starts playing it immediately. |
| Play Waveform | Plays data from the sound output device using finite sampling. This Express VI automatically configures an output task and clears the task after the output completes. |
| Sound Output Clear | Stops the device from playing sound, clears the buffer, returns the task to the default unconfigured state, and clears the resources associated with the task. The task becomes invalid. |
| Sound Output Configure | Configures a sound output device to generate data. Use the Sound Output Write VI to write the data to the device. |
| Sound Output Info | Returns information about the current state of a sound output task. |
| Sound Output Set Volume | Sets the volume at which the sound output device plays. |
| Sound Output Start | Starts playback from the device. This VI is necessary only if the Sound Output Stop VI has previously been called. |
| Sound Output Stop | Stops the device from playing sound from the buffer. Use the Sound Output Clear VI to clear the data in the buffer. Use the Sound Output Start VI to restart output. |
| Sound Output Wait | Waits until all of the sound is played by the output device. |
| Sound Output Write | Writes data to a sound output device. You must use the Sound Output Configure VI to configure the device if you are writing continuously. You must manually select the polymorphic instance you want to use. |