Skip to content Skip to sidebar Skip to footer

Soundpool To File

I've got a SoundPool[] that I use to play mixed audio files. Soundpools play together without any problem, and it's very efficient! Very briefly: private SoundPool[] sound = ne

Solution 1:

The only way I found how to record audio is by recording each information of the sound being press such as, duration (using mediaplayer), soundID, millisecond time stamp to do play back to the millisecond, volume, rate (if needed). Then write these to a text file (internally or externally) for later use. Create a play back system that decodes that saved information from text file and organize it in some arrays or hashmaps and play back throught some sort of play back method with maybe using a handler and postDelay to play sound and desired time and then plug in necessary data to play sound from array or hashmap.

In this way you can have your own data files for playing sound sequences.

Post a Comment for "Soundpool To File"