2D Positional Audio
tinyBigGAMES

Any resources, ideas, how to implement this in allegro?

SiegeLord

It's easy enough to do something with panning and gain, e.g. https://github.com/SiegeLord/Cortex-Terror/blob/master/engine/Sound.d#L122-L152. If you want to do Doppler effects, it might be more tricky, I haven't tried it myself.

Dizzy Egg

I'd recommend using irrKlang - just my opinion. It's much easier to work with and to do positional audio.

tinyBigGAMES

SWEET! Thx guys, I will check them.
Respect!

Thread #618458. Printed from Allegro.cc