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 heade
Mark,
I have just wrote a simple oscillator that generates the data and it
plays fine. But as you know, it is a long way to synthesizing an
instrument sound. I would appreciate any references on the sound
synthesis and most of all code examples. Any libraries with a small
footprint maybe.
Thanks
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 docume
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
playe
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.
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 a
6 matches
Mail list logo