Re: Recognize the Sound Source Position (Can't identify front and back sound).
Matheus Bratfisch <[email protected]> Fri, 17 Jun 2011 22:33:01 -0300
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
Nice.
I did some modifications in "hrtf.c" file. I put inside every call of
functions a call to AL_PRINT.
Then compiled again and tested with hrtf = true and false. When it is TRUE,
I can see the functions being called. Then I saw your e-mail and tested to
change the function and the system complained ("ALc.c:1368: HRTF disabled
(format is 44200hz Stereo)"). And with FALSE I don't see anything.
So I'm using the new Library. But when I'm trying my tests I still get
confused about what is the position. I tried with it near me, and far.
Actually I'm using a sound with 11025 Hz on Mono. I just tried with a one
that is 44100HZ and Stereo. It's almost the same.
But again, really thanks to your help. I will ask to some friends discover
the sound position and see if they are better than me more this. (probably
I'm the problem not the HRTF functions. Right? :D )
OFF-TOPIC: I just noticed that the default reply to it isn't the list. It is
the user. Maybe it is a good idea to change it to the list.
Very thankful,
--
Matheus (X-warrior) Bratfisch.
http://matbra.com
On Fri, Jun 17, 2011 at 10:10 PM, Chris Robinson <[email protected]>wrote:
> On Friday, June 17, 2011 5:35:00 PM you wrote:
> > Really Thanks Chris.
> >
> > I just installed the new version in my Ubuntu. Now with my randon test of
> > position, I get betters results discovering the location (front or back).
> > But I'm not sure, maybe it is just coincidence (50% chance to get the
> right
> > one). Is the difference really noticeable? Because for me it seems almost
> > the same (maybe my ears are not so good)
>
> It's a subtle difference, and pretty difficult to tell by ear. It's a very
> small effect, but your brain can pick up on it.
>
> > Inside .alsoftrc I add
> > [general]
> > hrtf = on
> > frequency = 44100
> >
> > But Is there anyway to check if the OpenAL is using the HRTF funcion?
>
> If you're using the latest Git version, from the repo.or.cz repository, it
> will say if HRTF is disabled. As a test, you can try to change the
> frequency
> and see if it complains about anything on the console. If not, it might
> still
> be using the old lib.
>
_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal