hi,
i want to ask if anyone knows how to play pcm data from a array without physically writing the file out or reading from a file?
is there any working examples?
i am quite a newbie at this.
thx
hi,
i want to ask if anyone knows how to play pcm data from a array without physically writing the file out or reading from a file?
is there any working examples?
i am quite a newbie at this.
thx
Maybe you could check the streaming examples from the Wiki, they show the basic classes for playing PCM from buffers.
yucca
so its possible? i can create the array but i donno how to put the array into the buffer and play it.
pls help ty
What does your Array look like ?
Basically I would assume that your array would hold the PCM data in some kind of byte-binary form, then you could copy it strait to a byte buffer really..
yucca
the array looks like [6.8634033e-002] [5.2642822e-002] [1.8585205e-002] [1.4465332e-002]. 10000 samples
hihi,
i hav tried to put the array in to the buffer but could not play the sound i dont know where went wrong. pls help!!!
the code is in the text file below. ty
http://www.freefileupload.net/file.p...3/code.txt.txt
hi,
sry the previous link may nt work i re uploaded another link
pls i really need help
http://files-upload.com/280643/codespcmarray.txt.html
hi,
i got the example working but the array sound i played is distorted totally different from the sound i have or was suppose to hear can anyone tell me what happen?