I'm not sure what's happening for you. It could be that everything is
amplified, or maybe the bits/bytes are in the wrong order (things that
could happen if the float-to-int conversion that's needed before
sending the audio to android's java layer is buggy or is compiling
wrong on your machine). If you turn the "amp" values down really low
(e.g. 0.0002) and gradually increase them, what happens? Do you always
get distortion, or does it fade in and then distort beyond a
particular level?
Dan
2012/2/22 maxprofitisback <maxprof...@gmail.com>:
I'd suggest that you'll find it easier to use a sine-wave to test if
the signal is being output correctly. Just use a full-amplitude (i.e.
amplitude=1) SinOsc. If it doesn't sound pure and lovely then you know
you've got a problem. Pink noise, you might not tell the difference.
So if the SinOsc isn't outputting correctly, then you can try swapping
the bytes around or whatever your hardware/OS needs.
Dan
2012/2/28 maxprofitisback <maxprof...@gmail.com>: