04-16-2010 11:53 PM
Hi,
I used "Sound File Read Simple vi" to read an audio signal.
I want to know the total number of samples of that particular audio signal.
Is there any other block to find that?
Waiting for the replies.Thanks in advance.
Rakesh
04-16-2010 11:58 PM - edited 04-16-2010 11:59 PM
That function returns a 1-D array of waveforms. Use Index Array to get one of the waveforms. Use Get Waveform Components and get the Y data array. Use Array Size on that.
04-17-2010 01:21 AM
i am trying to divide the total number of samples into 4 groups and i want to see those samples on the front panel.
i am attaching my vi,could you please fix that
Thanks,
Rakesh
04-17-2010 03:30 AM
Instead of making Rube type code why not use this VI. It will give you all you need about number of samples and other timing info.
Sound File Info VI
Owning Palette: Sound Files VIs
Requires: Base Package
Retrieves data about a .wav file. This VI accepts either a path or a refnum