LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

music processing in real time

Hello,
 
I am tyring to make do some real time music (.wav file) processing in labview and at the same time use the NI 6008 DAQ. Basically I take a song (a few minutes), and using the Sound File Read.vi take some (~1000) samples continiously in the while loop. I need to run it through some (simple) filering as well (and play the file in real time).
The issue is that it slows down the whole processing (I take some inputs from the DAQ and it runs with a big lag, and even crushes my program (both work well independently). The sound part executes much slower.
 
Are there any good tutorials on how to solve my problem? or what am I doing wrong?
 
Help is much appreciated.
Thanks a lot
0 Kudos
Message 1 of 2
(2,518 Views)

Using LabVIEW RT? What version? What system?

Why does that need to be done RT?

Your VI architechture could have a great deal to do with it, but file processing can take a ton of CPU time and lag things if the system is too slow...

You can post your code for others to look at, maybe we find a problem/suggestion with the code.

________________________________________________________

Use the rating system, otherwise its useless; and please don't forget to tip your waiters!
using LV 2010 SP 1, Windows 7
________________________________________________________
0 Kudos
Message 2 of 2
(2,515 Views)