LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sound Looping station

Hi Guys,
 
I relatively new to LabVIEW, but am loving it so far.
I want to create a sound looping program... the difference from others being that the sound is recorded (eg. 4 seconds of recording) then the Sound Output doesnt play for a while (eg. delays the output by 8 seconds - variable by input).
 
Is there a type of buffer i can store the sound input to...? Or do i have to write to a file, and the open it to be played.
I would not like to do the latter because i need the playback exactly on the time specified (for live music applications).
 
Thanks!
 
Dan
0 Kudos
Message 1 of 5
(2,431 Views)
The wire between the record VI and the play VI would be the buffer.  You would just have to put a wait VI in between.  Passing the wire through a frame would make sure that the play VI doesn't begin until the wait VI is done.

Message Edited by Ravens Fan on 02-01-2007 11:04 PM

0 Kudos
Message 2 of 5
(2,431 Views)

 

Message Edited by Ravens Fan on 02-01-2007 11:43 PM

Message Edited by Ravens Fan on 02-01-2007 11:45 PM

0 Kudos
Message 3 of 5
(2,430 Views)

I'm sorry for the duplicate posts.  I wanted to add the image of the block diagram, but it took me a while to figure out how to do that.  The link where I learned it is here:

http://forums.ni.com/ni/board/message?board.id=130&message.id=1655&query.id=122224#M1655

Also, the link to get the block diagram was here:

http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=1020&view=by_date_ascending&pag...

Here is the image:

 

It is a cool feature that really makes reading the threads easier when people can post small snippets of code.  But there really must be an easier way to do this!

Message Edited by Ravens Fan on 02-02-2007 12:07 AM

0 Kudos
Message 4 of 5
(2,416 Views)
thanks thats great! ill try it on the weekend.
i knew it was something simple Smiley Wink
0 Kudos
Message 5 of 5
(2,407 Views)