And now for something completely different....

Show off your games, demos and other (playable) creations.
User avatar
jack0088
Prole
Posts: 33
Joined: Fri Mar 22, 2013 4:59 am

Re: And now for something completely different....

Post by jack0088 »

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?
User avatar
BozoDel
Party member
Posts: 164
Joined: Fri Nov 01, 2013 10:28 pm

Re: And now for something completely different....

Post by BozoDel »

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?
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?

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.

¯\_(ツ)_/¯
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: And now for something completely different....

Post by Nixola »

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
User avatar
BozoDel
Party member
Posts: 164
Joined: Fri Nov 01, 2013 10:28 pm

Re: And now for something completely different....

Post by BozoDel »

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
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.
User avatar
Mermersk
Party member
Posts: 108
Joined: Tue Dec 20, 2011 3:27 am

Re: And now for something completely different....

Post by Mermersk »

Very interesting! and hard aswell. But still amazing how quickly your senses adjust to like only hearing sound.
User avatar
nuno
Party member
Posts: 137
Joined: Wed Dec 11, 2013 12:00 pm
Location: Portugal
Contact:

Re: And now for something completely different....

Post by nuno »

jack0088 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?
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 should
User avatar
BozoDel
Party member
Posts: 164
Joined: Fri Nov 01, 2013 10:28 pm

Re: And now for something completely different....

Post by BozoDel »

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.
User avatar
nuno
Party member
Posts: 137
Joined: Wed Dec 11, 2013 12:00 pm
Location: Portugal
Contact:

Re: And now for something completely different....

Post by nuno »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest