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

Apps About sounds

maest

Newbie
Hi,

The only way to play sounds in Android, afaik, are either using media player or using JET content. However both of these use precreated sounds to play.

What I am looking for is for some way to just start from one sound and then, during playback to modify its pitch and maybe loudness. So, say I have a bar that I can move left right and a sound that constantly plays in the background. The more I move the bar to the right, the higher the pitch of the sound becomes. Since this should be a continuous motion I don't think a prerecorded sound would be enough. Maybe using JET content in some smart way might work, but then there would be jumps in the pitch.
 
Thank you, this should work.

Also, are there any classes that deal with editing the sound? That is, starting from one short sound file, you can modify the pitch, the loudness and other characteristics?
 
Double posting:

AudioTrack seems to work with PCM audio buffers. I'm not really sure what that is (pcm = pulse code modulation, according to Wikipedia), but would a wav file work?

It would be simpler if I could just play mp3 files, but I guess this works as well.
 
Back
Top Bottom