PDA

View Full Version : audio speed


Andy
04-22-2010, 04:07 AM
Is there a way change the frequency / speed of an 3D Sound object? I want to customize the sound of an engine depending on its speed.

Jeff
04-22-2010, 09:36 AM
You can set the rate the audio plays at. For example:
song = viz.addAudio('music.mp3')
song.setRate(2)
song.play() # The song will play twice as fast

Andy
04-23-2010, 12:22 AM
It doesn't work for a VizSound3D object. The velocity of an 3D sound object goes in the right direction but dependence on the ListenerSound3D... I have no idea.

Andy
05-05-2010, 07:21 AM
Has anybody an idea for a realtime mamipulation of the frequenzy of a VizSound3D object?

setRate() would be create but doesn't work...