ecj2 / momo

[NOT MAINTAINED / ABANDONED] A simple 2D game-making library written in JavaScript.
MIT License
1 stars 0 forks source link

Be able to pan audio when playing samples #13

Open ecj2 opened 6 years ago

ecj2 commented 6 years ago

Add the ability to specify a pan range when playing samples. The range could go from -1.0 for the left speaker only to 1.0 for the right speaker only. 0.0 should be equal distribution between both speakers.