nisrulz / zentone

:sound: [Android Library] Easily generate audio tone of a specific frequency and volume in Android.
http://nisrulz.github.io/zentone
Apache License 2.0
116 stars 28 forks source link

Generate tone but play in stereo channels? L/R #12

Closed zhenwei2972 closed 2 years ago

zhenwei2972 commented 4 years ago

Hi is there support for intergration with perhaps SoundPool to play in stereo rather than just playing it in mono

nisrulz commented 2 years ago

With the release of v2.0.0, this is possible:

private val zenTone = ZenTone(channelMask = AudioFormat.CHANNEL_OUT_STEREO)