WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 01-24-2018, 03:14 AM
johnallen johnallen is offline
Join Date: Nov 2013
Location: Canterbury, UK
Posts: 36
3D sound - any updates/tips?

I've read the Vizard docs on 3D sounds and had a play with the basics - all good as far as it goes however I noted that apparently it only works with mono .WAV files.

A couple of related questions:

Just incase the docs are lagging behind the software I wanted to check whether the above restrictions were still current?

Also, I wondered whether anyone had had any success (and therefore had any tips) for working with/simulating stereo 3D sounds so that depending oon the viewers orientation the volume differs between the ears to give a sense of direction (this is what I want to do)? Can Directsound handle this?

Alternatively, could a callback function be used to obtain the orientation of the viewer and to modify the sound parameters in realtime to create this effect? In theory this should be possible but with buffering I don't know how responsive this would be?

Has anyone tried anything like this?

Many thanks,
Reply With Quote
Old 01-25-2018, 03:56 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,471
Even though the sound file needs to be a mono WAV file it will play differently in each ear depending on the position and orientation of the user and the sound source. The sound is processed through the Windows DirectSound API. The 3D sound tutorial includes example code and sound files you can try out.
Reply With Quote
Old 01-30-2018, 11:45 AM
Veleno Veleno is offline
WorldViz Team Member
Join Date: Sep 2005
Posts: 148
The 3D sound is only mono in the sense of that it's coming from a fixed point in space, like the snap of fingers or tapping a drum. Imagine playing a stereo sound from a single speaker on your desk - it would be coming from one location (mono), but it would reach each ear differently (stereo).
Reply With Quote
Old 02-01-2018, 07:14 AM
johnallen johnallen is offline
Join Date: Nov 2013
Location: Canterbury, UK
Posts: 36
Thank you both for your replies - I understand what you mean and it's good to know, I'll investigate further and see how I get on.

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 10:42 PM
Attaching sound to a moving object GiudiceLab Vizard 6 08-21-2009 09:52 AM
Multiple Sound Devices GiudiceLab Vizard 2 06-06-2009 11:29 AM
Stuttering sound Jerry Vizard 1 06-13-2007 01:36 PM
sound problem alaa Vizard 7 09-02-2005 02:13 PM

All times are GMT -7. The time now is 06:46 PM.

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