How is this workig???
you are placing the sound on players position and set the players orientation to the sound? but why are you messing with z-axis at all? couldn't you just use two axis (x,y)? And how does love.audio.setOrientation actually work then?
And now for something completely different....
Re: And now for something completely different....
I tried to follow this tutorial, which was the first AND second google suggestion for me. It basically said that 12.04 had an old version of OpenAL, and I had to install some packages from 12.10 (which is what broke my shit), and only then add that line. That tutorial is from the early days of 12.04, maybe it was outdated?nuno wrote:really? When I used elementary OS (based on ubuntu 12.04) it was just adding a line and it was done. what did you have to do?
But all these comments are giving me the itch. Damn, I'm gonna fix this.
EDIT: Well, I was gonna have to fix it anyway, cause the broken packages were starting to give me trouble. So I reinstalled those packages (the right ones, from 12.04), but that alsoft.conf file I'm supposed to edit doesn't mention hrtf.
¯\_(ツ)_/¯
Re: And now for something completely different....
BozoDel, did you try adding the line yourself? I even had to create the file AND the folder that contains it on Manjaro, maybe it will work
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Re: And now for something completely different....
Ok, I added the line under [alsa], but how do I know it's working? I can't tell a difference. Managed to finish the demo, tho.Nixola wrote:BozoDel, did you try adding the line yourself? I even had to create the file AND the folder that contains it on Manjaro, maybe it will work
Re: And now for something completely different....
Very interesting! and hard aswell. But still amazing how quickly your senses adjust to like only hearing sound.
Email: ic4ruz39@gmail.com
Re: And now for something completely different....
its a 3d game, not 2d.. you just dont see anything to understand that, you should read a bit of the OpenAL specification. Sounds are positioned in space using x,y,z coordinates, and the listeners is also positioned and oriented with the same 3 coordinates. the underlying openal library does the work in making it sound like it shouldjack0088 wrote:How is this workig???
you are placing the sound on players position and set the players orientation to the sound? but why are you messing with z-axis at all? couldn't you just use two axis (x,y)? And how does love.audio.setOrientation actually work then?
Re: And now for something completely different....
I think the z axis affects two things:
- Imagine this: the sound travels from the sound source - a bell, for example - to your ears, but, depending on the angle, it's gonna reach one ear first, and then the other. That is affected by axes x and y, but also z.
- The loudness of the sound as perceived by ou ears varies with the shape of your ears. For example, things are louder from the front than from behind. The z axis affects this too, but it's probably a lot more complicated... it even seems that you can get different results by simulating different shapes for the ear and sizes for the head.
So yeah, it's all minimal, but you brain should be able to pick up the differences subconsciously.
- Imagine this: the sound travels from the sound source - a bell, for example - to your ears, but, depending on the angle, it's gonna reach one ear first, and then the other. That is affected by axes x and y, but also z.
- The loudness of the sound as perceived by ou ears varies with the shape of your ears. For example, things are louder from the front than from behind. The z axis affects this too, but it's probably a lot more complicated... it even seems that you can get different results by simulating different shapes for the ear and sizes for the head.
So yeah, it's all minimal, but you brain should be able to pick up the differences subconsciously.
Re: And now for something completely different....
I took some time today to put detailed info on the page regarding HRTF.
You can read a detailed description on how to get it enabled and customized for you. I also made a small HRTF test tool so you can see if its working as it should.
Downloads: http://www.bitoutsidethebox.com/shabda/downloads/
HRTF info: http://www.bitoutsidethebox.com/shabda/hrtf-info/
I'll release a 0.0.2 version soon, with some new features. Update: released
You can read a detailed description on how to get it enabled and customized for you. I also made a small HRTF test tool so you can see if its working as it should.
Downloads: http://www.bitoutsidethebox.com/shabda/downloads/
HRTF info: http://www.bitoutsidethebox.com/shabda/hrtf-info/
I'll release a 0.0.2 version soon, with some new features. Update: released
Who is online
Users browsing this forum: Amazon [Bot] and 2 guests