WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   audio speed (https://forum.worldviz.com/showthread.php?t=2712)

Andy 04-22-2010 04:07 AM

audio speed
 
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:
Code:

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


All times are GMT -7. The time now is 01:07 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC