
These examples demonstrate the use of sound in LabVIEW.
Play Song
- This example demonstrates how to play a song in the NXT code.
Sound as Response
- This program emits a beeping sound as an NXT vehicle backs up. As the vehicle gets closer to another object (say, a wall or another vehicle), the beeping gets faster. This program uses a while loop containing a case structure in order to accomplish this. Such a program could be useful in the development of a parking aid for a car.
Sound Sensing
- This example demonstrates the use of the sound sensor by reading in sound intensity and displaying a corresponding message to the NXT screen.
Resources
- LabVIEW examples - sound (ZIP)