[android-developers] Re: AudioTrack - Clicking Sound

2010-01-04 Thread Business Talk
After, repeated effort at sound synthesis I have decided to go back to pre=generated sounds. It's much too computationally expensive. My question is; does AudioTrack use pure pcm of it uses wave. I have this clicking sound and I think it's because I am using wave and the wave is pcm plus same

[android-developers] Re: AudioTrack - Clicking Sound

2009-12-21 Thread Business Talk
Mark, Yours is a golden tip. In a long run using files is out of the question, considering the size of the application it would generate. Your approach is definitely the way to go. I just have no experience in the sound synthesis, Specifically synthesizing instrument sounds. Do you have any

[android-developers] Re: AudioTrack - Clicking Sound

2009-12-16 Thread MarkNZ
Do you need to use files? I have been generating audio at run time using the java math sine function to create an array of short, then playing it with audio track. Perfomance has been fine, I have been testing on an HTC tattoo. The only problem I have found is when I record the the data being

[android-developers] Re: AudioTrack - Clicking Sound

2009-12-15 Thread niko20
Hi, I use AudioTrack for several projects and haven't had a problem. However, as I was learning to use it, I had lots of small issues related to: 1. Not filling the buffer correctly as you think - double check your code. Even if you are missing one PCM sample you will get a click. 2. If using

[android-developers] Re: AudioTrack - Clicking Sound

2009-12-15 Thread Business Talk
Niko, I have redone all the test pcm files using the Audiocity and the click is still there. Maybe it’s the driver. I have my development environment on a virtual server. I am creating the track in a static mode so there should not be any gaps. since it’s one track per pcm. I will keep digging.