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.

I have one question; do you have any performance experience with
manipulating the pcm date at the run time with regard to the data
synthesis, such as changing the pitch at run.  I would hate to spent
time to find out that it not on the current platforms

For example, I need pcm data representing a C note in octave 3 and
octave 4. I can do it two ways;


1. have two separate pcm files, or

2. have one pcm data representing the middle C in octave 4 and than
manipulate the pitch to create the C in the lower octave.




On Dec 15, 10:14 am, niko20 <nikolatesl...@yahoo.com> wrote:
> 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 streaming buffer AudioTrack, you have to keep the buffer
> full. If you have any gaps you will get clicks.
>
> I'd say the problem is in your code somewhere. You probably have some
> off by one error or negative/positive error or missing a couple of
> samples, or such.
>
> Also never hurts to load your PCM data into Audacity to double check
> how it sounds.
>
> -niko
>
> On Dec 15, 7:37 am, Business Talk <roman.businesst...@gmail.com>
> wrote:
>
>
>
> > I am getting this clicking sound when playing static pcm data. Anybody
> > out there is having the same problem? This is not the data issue. I am
> > sure of it.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to