pouët.net

music/soundfx library

category: music [glöplog]
 
i'm not really up to date anymore what the cool kids use nowadays for sound/music playback, so i thought i'll ask the hopefully-still-uptodate-guys (and btw: i'm also not motivated to write it myself, as i wanna concentrate on other stuff).

what i want it to do:
- be able to play (long/music) mp3s (with just some simple standard stuff i can tweak like volume, panning, pitch, etc)
- be able to play sound effects (again with some simple standard stuff to tweak)
- obviously a lot of these simultaneously (i.e. mixing (at least) one musictrack and multiple soundfx)
- be able to specify different sound outputs/cards for each sound/mp3 (the music and some of the fx for example should be able to play through one set of speakers, the remaining stuff through a second set)
- 32bit & 64bit windoze
- if possible (no requirement though) no dlls, just libs (or plain source, but i guess thats overkill)
added on the 2014-08-05 12:00:32 by toxie toxie
Some "cool kids" use SFML and such, but I don't think BASS/FMOD have been surpassed for most of the things you listed.
added on the 2014-08-05 12:17:23 by tomaes tomaes
Yeah, BASS should be able to do all of that (possibly in combination with some of its addons like BASSMIX).
BASS is 32bit only (AFAIK), and "classic" FMOD seems to be discontinued in favor of their new API.
(i would want it also to be a still active project if somehow possible)

So SFML is capable of all that?
added on the 2014-08-05 13:11:49 by toxie toxie
oh, bass seems to be 64bit also by now, sorry..
added on the 2014-08-05 13:13:19 by toxie toxie
Quote:
AFAIK

Your knowledge is wrong.
I'm not sure if you can do the different speakers thing in SFML, but it is also available for 64 bit. If you're already familiar with BASS, I'd probably go with that.
added on the 2014-08-05 13:29:33 by tomaes tomaes
okay, thanks.. (though i still can use more opinions)
added on the 2014-08-05 14:17:08 by toxie toxie
It probably doesn't have everything you need (especially the multi-soundcard support, but I didn't have a very deep look so I wouldn't know exactly), but maybe SoL's SoLoud would suit your needs, especially since it's OSS.
from a quick browse of the "documentation" i think SFML is also out due to missing multi-soundcard support..
added on the 2014-08-05 18:06:32 by toxie toxie
What do you want to achieve with multi sound card support? Keep in mind that the sample clocks will not be synchronized between two sound cards, which leads to slight differences in playback speed and will completely screw up any attempt at doing sample accurate surround sound properly.

Of course, feel free to "yeah, whatever" this.
added on the 2014-08-05 18:48:33 by trc_wm trc_wm
Its not so sophisticated actually, its really just only about one sound effect coming from one set of speakers, a completely different one from another one, it doesn't need to be perfectly synchronized.
added on the 2014-08-05 19:34:22 by toxie toxie
You don't need two soundcards for that, a surround set or a home recording card with more than one stereo output will be enough for that, with the advantage of proper synchronization.
i know, but this is not just for my own personal use.. ;)
added on the 2014-08-05 19:48:29 by toxie toxie
Well, what is the intended target audience then? Do they have easy access to systems with surround output (I guess every PC these days has at least 5.1 onboard) or multi-I/O soundcards?
If you truly need that and other, more esoteric features, and BASS won't do, it might be quicker to roll your own (using DirectSound3D/OpenAL etc.) after all.
added on the 2014-08-05 20:09:26 by tomaes tomaes
I'm currently developing an open source sound player lib using OpenAL + under the hood, maybe that fits your needs? (warning - WIP)
Doesn't support multiple cards, but you could try using 3D audio and play some things in front and other things in the back of the listener, should work with a proper speaker setup regardless of which lib you use.
Other than that, i don't know of any other audio lib that supports multiple cards. Maybe FMOD offers this, if you can live with its licensing policy.
added on the 2014-08-06 01:09:20 by fgenesis fgenesis
So far i found BASS will do the job well. Didn't stumble over anything that shouldn't work later-on.

Thanks guys!
added on the 2014-08-06 16:39:00 by toxie toxie

login