Re: MISC: Inlined Sound Support

Chris Marrin ([email protected])
Mon, 17 Apr 1995 22:31:13 -0700


On Apr 14, 4:50pm, Gavin Bell wrote:
> Subject: Re: MISC: Inlined Sound Support
> How about this:
>
> PointSound {
> fields [ SFVec3f position, SFFloat radiusOfEffect, SFFloat volume,
> SFString url ]
>
> position 0 0 0
> radiusOfEffect 100.0
> volume 0.5
> url "http://iuma.com/Samples/HappyBirthday.aiff"
> }

One other thing about sound. I do think it's important to simulate the
directionality of the sound source. If we add a directional vector field
we can use a standard cardioid distribution of the sound to get a pretty
accurate effect...

-- 
chris marrin                     ,,.                        
Silicon Graphics, Inc.        ,`` 1$`
(415) 390-5367             ,|`   ,$`
[email protected]           b`    ,P`                           ,,.
                        mP     b"                            , 1$'
        ,.`           ,b`    ,`                              :$$' 
     ,|`             mP    ,`                                             ,mm
   ,b"              b"   ,`                ,mm      m$$    ,m          ,,`P$$
  m$`             ,b`  .` ,mm          ,.`'|$P   ,|"1$`  ,b$P       ,,`   :$1
 b$`             ,$: :,`` |$$       ,:`    $$` ,|` ,$$,,`"$$      .`      :$|
b$|            _m$`,:`    :$1    ,:`      ,$Pm|`    `    :$$,..;"'        |$:
P$b,      _;b$$b$1"       |$$ ,,``       ,$$"             ``'             $$
 ```"```'"    b$P         `""`           ""`                             ,P`
             `"`                                              '$$b,,...-'

"As a general rule, don't solve puzzles that open portals to Hell." - excerpt from "A Horror Movie Character's Survival Guide"