Example Code

Voice Recognition using Advanced Signal Processing Toolkit using LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW Advanced Signal Processing Toolkit
  • LabVIEW
  • LabVIEW Advanced Signal Processing Toolkit

Code and Documents

Attachment

Description

Overview

This example VI utilizes the Advanced Signal Processing Toolkit to perform voice analysis on a sound file.

 

Description

I unfortunately cannot get credit for this package but I don't know who the author is. For a very detailed tutorial on the subject of voice recognition and the original files, please visit Using LabVIEW for Voice Signal Analysis. The Advanced Signal Processing Toolkit includes the Modeling and Prediction VIs that you can use to obtain the LPC coefficients or AR model coefficients, as shown in the figures below. The LabVIEW Signal Processing VIs include the Scaled Time Domain Window VI and the FFT VI. You can use these VIs to apply a window to the source signal and calculate the DFT of the signal block, respectively. The Advanced Signal Processing Toolkit also includes the Correlation and Spectral Analysis VIs that you can use to calculate the real cepstrum of a signal. In the figures below, you use the WA Multiscale Peak Detection VI to detect the resonance peaks in the cepstrum.

 

Requirements

  • LabVIEW 2012 (or compatible)
  • Advanced Signal Processing Toolkit

 
Steps to Implement or Execute Code

  1. Download the example and corresponding files
  2. Unzip the folder
  3. Run the VI

 

Additional Information or References

Top level VI Block Diagram

 

 VoiceAnalysis LV2012 NI verified.png

**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.