To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI reads in a .WAV file and uses the Sound and Vibration Measurement Suite to programmatically determine the peaks of the file.
Description
This example VI reads and plays a WAV file which is specified by the user. The WAV data is then scaled to engineering units. After this, the power spectrum of the WAV data is computed over a subset of the baseband span and the spectrum peaks are identified and listed in a table. The peaks are identified using an algorithm that accounts for the time-domain window applied to the data. The threshold for the peak search can be manually entered or an automatic threshold will be used if the default value is used for the threshold.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
Front Panel
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.