Hello -

I attempting to play with the doppler effect settings in the AuralAttributes
Node Component. However, when I set the VelocityScaleFactor to different
settings, even ludicrous ones, I notice no difference in sound. Here is the
code:

AuralAttributes attributes = new AuralAttributes( );
attributes.setCapability(AuralAttributes.ALLOW_VELOCITY_SCALE_FACTOR_WRITE
);
attributes.setCapability
(AuralAttributes.ALLOW_VELOCITY_SCALE_FACTOR_READ );
attributes.setCapability( AuralAttributes.ALLOW_ATTRIBUTE_GAIN_READ );
attributes.setCapability( AuralAttributes.ALLOW_ATTRIBUTE_GAIN_WRITE );
attributes.setAttributeGain(1.0f);
attributes.setVelocityScaleFactor( 1000000000.0f );
Soundscape scape = new  Soundscape(new BoundingSphere(new
Point3d(0.0,0.0,0.0), 30000.0), attributes);

T1.addChild( scape );

I know that the Soundscape is active - when I change the AttributeGain to
0.0, no sound is outputted. The application has me driving by a police car
at a good clip, and it is hard to distinguish any difference between various
VelocityScaleFactor settings, though i do have a sensing that the car is
behind me once i have passed. Love to hear from anyone with experience in
this field.

David Refsland

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to