LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Audio question

When I read a stereo buffer of sound from the sound card of defined length
2048 samples it appears on the graph as 2048 samples but when I change from
8 bits to 16 bits the number of points changes to 512 in my main loop for
some reason even though I define 2048 points as the buffer when I define the
sound input format. Any ideas? The only difference is that I have changed
from 8 to 16 bits - all else is the same.

Tom
0 Kudos
Message 1 of 3
(2,330 Views)
I guess the problem is how do you represent the samples (array of samples). The number of samples is the same. Read the size of the output array to be sure that the number of samples is OK.
0 Kudos
Message 2 of 3
(2,330 Views)
Here is an example I wrote to demo the problem but it works great. Are you doing something different?
0 Kudos
Message 3 of 3
(2,330 Views)