All snippets tagged with audio

Page 1 of 1
 

Working with audio channels

Not all file formats support multi channel audio, or work with it equally well. We found it easiest to work with raw wave files (for great support with Audacity, e.g.) or AAC.

Read more…

Convert or compress audio

Compile FFMPEG with non-standard libraries

FFMPEG is a great tool for doing anything programmatically with audio or video files, but the default installation contains only open standards, and is therefore utterly incapable of converting AAC files and other common standards. Time to build it ourselves!

Read more…

Play a sound using the MediaPlayer

Important: make mMediaPlayer a field, because otherwise the garbage collector will clean up the mediaplayer while the sound is still playing, causing it to be cut off!

Read more…