Owning Palette: Sound VIs
Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Sound Input VIs to configure and control a sound input device.
(Windows) You must have DirectX 8.0 or later to use the Sound Input VIs.
(Linux) You must have the Open Sound System (OSS) driver to use this VI. LabVIEW searches for input and output devices by looking for files named /dev/dsp or /dev/dspX, where X is an integer between 0 and 16. LabVIEW attempts to open each input and output device. If LabVIEW cannot detect the sound card, check that a device file named /dev/dsp or /dev/dspX exists on the local system and that you have permission to read from and write to the device. If you moved this device to a location other than the default, LabVIEW can work with a symbolic link.
Palette Object | Description |
---|---|
Acquire Sound | Acquires data from a sound device. This Express VI automatically configures an input task, acquires the data, and clears the task after the acquisition completes. |
Sound Input Clear | Stops acquisition of data, clears the buffer, returns the task to the default state, and clears the resources associated with the task. The task becomes invalid. |
Sound Input Configure | Configures a sound input device to acquire data and send the data to the buffer. Use the Sound Input Read VI to read the data. |
Sound Input Read | Reads data from a sound input device. You must use the Sound Input Configure VI to configure the device. You must manually select the polymorphic instance you want to use. |
Sound Input Start | Starts data acquisition from the device. This VI is necessary only if Sound Input Stop has previously been called. |
Sound Input Stop | Stops data acquisition from the device. Use the Sound Input Clear VI to clear the data in the buffer. Use the Sound Input Start VI to restart the acquisition after calling the Sound Input Stop VI. |