Multitrack Audio

Djembefola

Active Member
Licensed User
Longtime User
I urgently need some audio functions, which allow simultaneous playing and looping of audiofiles with low latency.

I'm trying to program a Multitrack Player. Recording is not necessary, all i need is looped playback of four wav- or mp3-Files. The duration of each audio file is ~ 8 seconds.

Any idea how i can accomplish this?
Does anybody know an open source library, which can be adapted for b4a?
Anybody out there, who can write such a library in java?

I have experimented with soundpool, but this seems to be more a toy than a tool - very buggy and limited: sound pool has no events, can not handle sound files with a duration of > 1 second and is not able to play multiple files simultaneously in a loop.
:sign0085:
 

Djembefola

Active Member
Licensed User
Longtime User
Try using OGG format.

I have tried all formats and bitrates. :( Soundpool can only be used for very short sounds and many important functions are missing: there's no position information, no complete event, loop playing doesn't work with multiple files and so on.
 
Upvote 0
Top