[Openal] Artifacts - Alternating from left to right channels?

Daniel PEACOCK dpeacock at creativelabs.com
Thu Feb 19 09:46:25 PST 2009





>> - I tried setting a proper orientation and all the sources at 0,0,0 with
>> velocity 0,0,0 - artifacts gone

It would be interesting to narrow it down to a position or velocity
problem.   Then it would be interesting to see what parameters values are
being passed to AL.

NOTE : Velocity is rather tricky to get right.   By default, units are
assumed to be in meters.  If your units are not in meters then you need to
set the AL_METERS_PER_UNIT listener property to an appropriate value that
will be used to scale all the 3D values you pass into AL.

Dan
Creative Labs (UK) Ltd.

Notice
The information in this message is confidential and may be legally
privileged.  It is intended solely for the addressee.  Access to this
message by anyone else is unauthorized.  If you are not the intended
recipient,  any disclosure,  copying or distribution of the message,  or
any action taken by you in reliance on it,  is prohibited and may be
unlawful.  If you have received this message in error,  please delete it
and contact the sender immediately.  Thank you.

Creative Labs UK Ltd company number 2658256 registered in England and Wales
at Belmont Road, Belmont Place, Maidenhead, Berkshire, SL6 6TB



                                                                           
             Ashley McConnell                                              
             <ashley at siroccora                                             
             cing.com>                                                  To 
             Sent by:                  openal at opensource.creative.com      
             openal-bounces at op                                          cc 
             ensource.creative                                             
             .com                                                  Subject 
                                       Re: [Openal] Artifacts -            
                                       Alternating from left to right      
             02/19/2009 05:04          channels?                           
             PM                                                            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           







Daniel PEACOCK wrote:
>
>
> Hi Ashley,
>
> Are you setting Listener position and orientation?   One explanation
would
> be if the listener orientation was being updated with bad values causing
> AL
> to think the listener is rapidly changing direction - which could cause
> all
> the sounds to pan around rapidly.
>

Hi Daniel,

I've tried a couple of experiments.

- I tried setting a static orientation each update, the artifacts were
still
there
- I tried setting a static orientation and all the sources at 0,0,0 with
velocity 0,0,0 - artifacts gone
- I tried setting a proper orientation and all the sources at 0,0,0 with
velocity 0,0,0 - artifacts gone

This of course means it is essentially working in 2d / mono.  I am setting
the positions directly from the physics so i'm not sure what can go wrong
there.

Can you think of anything i could of messed up?

Thanks again for the help
All the best,
Ash

--
View this message in context:
http://www.nabble.com/Artifacts---Alternating-from-left-to-right-channels--tp22100029p22104794.html

Sent from the OpenAL - User mailing list archive at Nabble.com.

_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal

ForwardSourceID:NT000695B2



More information about the Openal mailing list