LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting a real time audio signal into an audio sample

I'm looking to convert a real time audio signal into an audio sample similiar to that shown in the attached image.

 

I'm taking values from two ports AIO & AI1, which both receive two different voltages representing

 

1. Direct playback from an mp3 device

2. Phased 180 playback with alternating gain (noise)

 

Currently, i'm using an adapted basic VI that used the audio inputs to read sound waves (posted somewhere on forum, credit where its deserved). These inputs are plotted on a graph using time in milliseconds on the x-axis and amplitude on the y-axis (please see attached VI).

 

How would I go about converting these signals into a the format attached?

I've attempted to use a spectural measurement without any success....

Sorry if i've been a bit vague, new to labview!

 

 

Download All
0 Kudos
Message 1 of 2
(2,417 Views)

Hi Owen.w77,

 

You will need to convert the sound data into .wav format for you to open it in audacity. I have added code to your VI to convert the dynamic datatype into .wav format. You must be able to use it into the correct format.

 

Thanks and Regards,

Thanks and Regards,
Supreeth.K

0 Kudos
Message 2 of 2
(2,343 Views)