Shoreline sound ranges

To emulate the sound of the shoreline and have it surround the island without extending all across the island, I have made the sound large enough to encomapss the island, but placed it under a transformation that flattens the sound envelope into a pancake shape and transformed it so that only the top of the range shows above the ocean.

The red lines show the maximum extent of the sound and the yellow ones show the "minimum" extent of the sound.

The VRML code loks like this:

         DEF shoreSoundGroup Transform {
           children                DEF shoreSound Sound {
             source    DEF shoreclip AudioClip {
                      url      "sounds/shoreLoop.wav"
                      loop     TRUE
                      startTime        1
             }

             intensity 1
             location  -31.3 -23.72 64.5
             direction 0 0 1
             minFront  800
             maxFront  900
             minBack   800
             maxBack   900
           }

           translation 4.287 -204.64 0
           scale       1 0.15 1
         }


Note how the translation moves the sound down and sccales the Y direction to 0.15.