LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problems with sound VIs - can't create usable new sound file

hello all!

I'm trying to create a VI that will, in real time, take a sound file and place it, on demand, as many times as you want into a longer sound file.  it should place the file once each time a button is pressed.  The rest of the audio I want to be just silence, but still filling time so that the output file is in real time.

(i am a sound editor for TV shows, and for my master's thesis i'm trying to create this program so that I could say, watch a video clip of someone walking and at the same time place footstep sounds in real time while watching the clip, just by pressing a button each time i see a footfall.)

i attached the VI i have so far.  the only subVIs are in the Sound VI palette (no custom subVIs are used).  No external hardware is used, so you should be able to see exactly what i see.  i would attach the WAV file, but it's not an allowed attachment.  You should be able to use any WAV, stereo 16-bit, 44.1 kHz file.

the problem i'm having so far:
the resulting WAV file is not playable by any means I can figure out.  and it's always 4 KB.  So obviously I'm missing something - maybe misuse of the Sound VIs?  (Though the VI does recognize that I'm feeding it a stereo, 44.1kHz, 16-bit file.  so that's good.)

i'm working on a Mac Powerbook G4, Labview 8.2, 1.5 GHz, Mac OS 10.4.8, 1 GB RAM.  and i've tried both the internal sound card and an external sound card (Digidesign's MBox which works with ProTools).

thanks so much for your help!!

--Liz F.

Message 1 of 1
(2,222 Views)