LabView examples: Sound

Sound sensing
Sound sensing

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.


The following two tabs change content below.


The Tufts Center for Engineering Education and Outreach (CEEO) in Boston, Massachusetts, is dedicated to improving engineering education in the classroom, from Kindergarten to college. The Center houses faculty, staff, and graduate students from engineering disciplines and the education department.

Latest posts by CEEO (see all)