Generate and play sound dynamically (from frequency / amplitude data)

So, I'm trying to figure out whether it is possible to create some sound waves that I can manipulate using java, more specifically for the Android platform. The idea is to get integer values ​​and use them, dynamically change the step / pulse based on user input. I looked at the soundpool class and it seems that it only handles sampled sound, I am wondering if there is a way to generate it using code.

I assume that if so, each generated wave will have to use its own stream to manipulate them independently. Can someone confirm this?

Any help in the right direction is appreciated.

+4
source share
1 answer

So, I found this question, whose highest voted answer exactly matches exactly what I was looking for. In any case, here is the link for the link:

Android arbitrary tone playback

0
source

All Articles