[Papervision3D] 3D Sound request

De'Angelo Richardson dialeoson at yahoo.com
Thu Feb 1 16:07:41 EST 2007


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:
        v\:* {behavior:url(#default#VML);}  o\:* {behavior:url(#default#VML);}  w\:* {behavior:url(#default#VML);}  .shape {behavior:url(#default#VML);}                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
// 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/20070201/8c6aa980/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DisplayObject3D.as
Type: application/octet-stream
Size: 18620 bytes
Desc: 3518202132-DisplayObject3D.as
Url : http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070201/8c6aa980/DisplayObject3D-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SceneObject3D.as
Type: application/octet-stream
Size: 6427 bytes
Desc: 549847418-SceneObject3D.as
Url : http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070201/8c6aa980/SceneObject3D-0001.obj


More information about the Papervision3D mailing list