WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 04-21-2008, 02:03 AM
joeymax joeymax is offline
Join Date: Apr 2007
Location: England
Posts: 11
3d sound

Hi there,

I was wondering how I can add 3d sound to an entire object, so that no matter where you are on that object the volume of sound stays the same.
For instance, the object could be a ground plane which you walk around, and the volume only decreases when you leave that object.

Sorry if this is really dumb, ive checked the user guide but im new to vizard.


sound = d4.playsound('BusyStation.wav', viz.LOOP)
Reply With Quote
Old 04-22-2008, 10:05 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
This is not currently possible. If you want ambient sound then you will need to use the non-3D sound features. You can manually decrease the volume of the sound as you move away from the specific area. Here is how you would create a sound object:
ambient = viz.add('BusyStation.wav',loop=True)
You can also set the volume using the following code:
ambient.volume(0.5) #Set volume to 50%
Reply With Quote
Old 04-22-2008, 12:36 PM
joeymax joeymax is offline
Join Date: Apr 2007
Location: England
Posts: 11
thanks farshizzo

i think ill experiement with using both 3d sound and ambient sound in my scene, that should work fine! thanks for your help
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Looping Problem JMOwens Vizard 4 09-29-2010 09:42 PM
On click Sound Play Problems Robbos Vizard 1 02-28-2008 02:02 PM
Stuttering sound Jerry Vizard 1 06-13-2007 12:36 PM
Sound in one ear only? Jerry Vizard 1 06-29-2006 04:26 PM
sound problem alaa Vizard 7 09-02-2005 01:13 PM

All times are GMT -7. The time now is 12:59 AM.

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