LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to take audio out from myrio 1900

1)how to read and play .wav sound files on my rio 1900.Can 'Play waveform' function be used to play audio on myrio. If so how to configure i/o pins. 

 

2)Can 1950 be used for playing .wav files.I have run a VI file in myrio project which reads .wav file but it is showing error as ' sound file read simple.vi  sub vi not supported in current target'.

Do we need FPGA functionality to take audio out.

Right now we are working on myrio 1950 if there is no option to play audio output, whats the other alternative?

0 Kudos
Message 1 of 2
(3,205 Views)

The myRIO can certainly process audio data -- a number of projects use the myRIO audio in/audio out to do sound processing (filters, equalizers, etc.) because it is fast.  However, the myRIO doesn't have a lot of memory, so it's not ideal as a "store it and play it", or "decode a .wav file and play it".

 

What you could do, however, is to open a .wav file on the PC, stream the waveform (in modest-sized pieces) to the myRIO, and get the myRIO to process and output the waveform through the D/A converter.

 

Note that there is an example myRIO project that acquires sound data on the myRIO, streams it to the PC that does some displays, analysis, data saving, etc., then could stream it back to the myRIO for output.

 

This takes advantage of the myRIO's FPGA.  This is not something for the LabVIEW beginner to tackle.

 

Bob Schor

Message 2 of 2
(3,163 Views)