Hi,
Sorry if this is in the wrong place, but the showcase section said I wasn't allowed to start a new thread there.
I wrote a simple program called SensoMin that I thought would make a useful example for some people of how to use the soundpool library and accelerometer to make interesting sounds.
A zip file of the project is attached. Basically the program loads and plays a looped sound sample (pure sine wave of 1kHz). The code also demonstrates how to make sounds of different pitch using the playrate methods, as playing at twice the speed is akin to playng a note at twice the frequency/pitch, etc.
Anyway, I hope it's of use to someone who wants to learn how to code for sound loading/playing and audio manipulation. I've uploaded the apk to GetJar and it should be available soon once reviewed (Page not found). I'll hopefully upload it to the android market soon too.
Best wishes,
Andrew.
Sorry if this is in the wrong place, but the showcase section said I wasn't allowed to start a new thread there.
I wrote a simple program called SensoMin that I thought would make a useful example for some people of how to use the soundpool library and accelerometer to make interesting sounds.
A zip file of the project is attached. Basically the program loads and plays a looped sound sample (pure sine wave of 1kHz). The code also demonstrates how to make sounds of different pitch using the playrate methods, as playing at twice the speed is akin to playng a note at twice the frequency/pitch, etc.
Anyway, I hope it's of use to someone who wants to learn how to code for sound loading/playing and audio manipulation. I've uploaded the apk to GetJar and it should be available soon once reviewed (Page not found). I'll hopefully upload it to the android market soon too.
Best wishes,
Andrew.
Attachments
Last edited: