Modifying stereo sound placement

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
User avatar
kexisse
Citizen
Posts: 56
Joined: Wed Jun 13, 2012 2:52 pm

Re: Modifying stereo sound placement

Post by kexisse »

Somehow I had OS X's assistive devices "Play all audio in mono" turned on. Sorry for wasting everyone's time :S
Screenshot of the settings.
Screenshot of the settings.
Screen Shot 2012-07-15 at 10.38.57.png (74.56 KiB) Viewed 1078 times
To clarify, Löve can indeed play stereo sound.

Code: Select all

source = love.audio.newSource("bleep.ogg", "static")
source:setPosition(x, y)
User avatar
kexisse
Citizen
Posts: 56
Joined: Wed Jun 13, 2012 2:52 pm

Re: Modifying stereo sound placement

Post by kexisse »

I updated my stereo sound testbed. You can now modify the rolloff, listener depth, distance model.
Maybe it will be useful for people who want to test out the effects of each of these settings.

I'm trying to find a sweet spot where sounds on-screen have a small amount of left/right difference, but then more when they go off-screen.
I think I'll fake this by reducing the overall volume in a separate routine that is applied once the sound source is off-screen.
Attachments
stereo_sound2.love
Test bed for stereo sound settings.
(6.99 KiB) Downloaded 96 times
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 50 guests