• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Signal Generator package

blue_

Lurker
Hi all,


I need to do an app capable of generate sounds, signal wave between 120hz and 30k hz..

But i don't meet any package that allows that...

can someone give me a tip?
 
you may want to look into the java sound library. I have seen quite a few dog whistle applications so I'm sure its not a complicated thing to create.

Another thought is to create sounds in all the ranges you need then using the android library to adjust how they are played (assuming it can do that like the java sound library does).
 
I suspect most DAC chips on phones run at a 44.1 kHz or 48 kHz sampling rate, meaning that 22.05 kHz or 24 kHz is the highest possible frequency that you can generate (even in theory). Quite likely 20 kHz or lower is the actual maximum output, due to a hardware antialias (low-pass) filter.
 
Back
Top Bottom