Multiple sounds
Hi all,
I am quite new here. Have been programming for several years but still getting into android apps, and a lot to learn
I am writing a small app in which there is a drawed keyboard, and want it to sound as the user touches the different keys
As a very first approach i have used the beeper. I created an array of 14 beepers, each one with a different frequency and 300msec. When I hit the keyboard it sounds. If I hit a second key, it sounds the new beeper, even if the previous one isn't finished
When do this (start one beep before the previous one has ended) sometimes my device reboots. I don't know if it is due to the fact that beeper does not support simultaneous plays of instances to this object or something more in my app. Is this the point or am I missing something?
Also, in the future I would like the app to play different "custom" sounds (previously stored as a file) assotiated to each key in the keyboard, and I want to be able to play some (different channels) of them at the same time:
> which file format is more suitable (requires less memory and/or less processing for the device) for this purpose?
> which player object would you recommend, also taking into account memory and performance issues?
Any advice would be welcome :sign0163:
Jordi