[Papervision3D] 3D Sound request

Zohar Babin (G) z.babin at gmail.com
Thu Feb 1 17:01:22 EST 2007


That's a cool feature..

Maybe this will help in the AS3 part -
http://www.flashcodersbrighton.org/wordpress/?p=9

 

 

From: Papervision3D-bounces at osflash.org
[mailto:Papervision3D-bounces at osflash.org] On Behalf Of De'Angelo Richardson
Sent: Thursday, February 01, 2007 11:08 PM
To: Papervision3D at osflash.org
Subject: Re: [Papervision3D] 3D Sound request

 

Not yet but I do plan to add more to it. The next thing I will add is a way
to make have more of a 3D effect using sound.setTransform(); and include
looped sound. The only thing with the sound is that it would have to be
stereo and has reverb in it. Then make it go from stereo to mono to add a
little bit more to the 3D sound.

 

The code I made already can be attached to any object in the scene and you
can put multiple sounds in the scene if you have multiple objects (one sound
per object). So far the sound can only be streamed but I'm also working on
ways to attach sound from the library and load without streaming for those
who would like to preload the sound when they have a loader.

 

I have included the first modifications in the files attached. This is in
as2 though. I still have to learn a little bit about as3.

 

Here's the way you can add sound, 

obj.addSound( "mysound.mp3", camera ); //obj is an object you created and
camera is the name of the camera you created

obj.maxSndDist is what you can use to change how far the sound will be
heard. It is set to 1050 by default.

obj.sound is the sound object. You can do whatever you want with that.

 

You can add this to each object in the scene if you want. Have fun.

 

-De'Angelo



Trevor Burton <trevor.burton at virtuefusion.com> wrote:

Thanks, carlos

 

De'Angelo - have you done any more work on this?

 

  _____  

From: Papervision3D-bounces at osflash.org
[mailto:Papervision3D-bounces at osflash.org] On Behalf Of Carlos Ulloa
Sent: 01 February 2007 17:02
To: Papervision3D at osflash.org
Subject: Re: [Papervision3D] 3D Sound request

 

Hey Trevor,

It was De'Angelo that did the 3D sound demo. Look forward to get that in
Paper soon, it didn't look complicated.

C4RL05
// noventaynueve.com <http://noventaynueve.com/> 
// papervision3d.org <http://papervision3d.org/> 

On 01/02/07, Trevor Burton <trevor.burton at virtuefusion.com> wrote:

Hi list.

 

I'm coming to the list, cap in hand to beg for contributions to PaperWorld -
specifically I'm wondering if anyone's done any more work on 3D sound
objects - preferably in AS3. I've got some ideas for this but would prefer
not to re-write the code-wheel unless absolutely necessary.

 

I know someone did an example that Carlos showed at the presentation last
week - has anyone done any more work on this? And if so would they be
willing to contribute to paperworld?

 

 

 

Trevor Burton

 

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.18/662 - Release Date: 31/01/2007
15:16


_______________________________________________
Papervision3D mailing list
Papervision3D at osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

 

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.18/662 - Release Date: 31/01/2007
15:16

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.18/662 - Release Date: 31/01/2007
15:16

_______________________________________________
Papervision3D mailing list
Papervision3D at osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org





-De'Angelo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070202/ab32593c/attachment.htm


More information about the Papervision3D mailing list