Uploaded image for project: 'Snowstorm'
  1. Snowstorm
  2. STORM-591

As a music fan, I want audio to fade in gently so my immersion is increased

    Details

    • Type: Story
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Active
    • Labels:
      None
    • Environment:
      -
    • Test Plan:
      Hide

      You will be testing the new music stream fade in/fade out feature. This feature is always on. The fade out time is 2 seconds. The fade in time is 3 seconds.

      There are many small steps, some involving cutting and pasting of music URLs, so allow 2 hours to get set up and to perform all these steps. You can perform this test in several stages.

      A possible issue you may come across while testing is that a parcel update when you arrive in a new parcel or change the current parcel's music URL may be slow to arrive. Keep this in mind if you experience delays in the stream starting or changing. You may want to test from a region that is not on a busy sim host.

      Another possible issue is how long it takes for a stream to start playing once the call to play it has been issued. You may notice what seems to be a truncated fade in, where the early, quiet, part of the fade is not present. This is because it has taken extra time to start receiving the stream feed from the outside server. If you notice this try to test with streams that are "quick" to start playing.

      You will need 2 adjacent parcels where you can control the parcel music URL.
      To help tell which parcel you are in as you walk back and forth you may want to lay down a narrow marker prim or to have the parcel boundary line showing (use CTRL+ALT+SHIFT+P to turn this on).

      You will need 3 working music stream URLs plus a faulty URL.

      These are not guaranteed to work but may save you time searching out your own:
      1) http://74.202.55.195:80/fm-hi
      2) http://scfire-mtc-aa01.stream.aol.com:80/stream/1060
      3) http://64.40.99.2:8088
      4) BadURL

      In Preferences->Sound & Media set the volume levels so when you play the music stream it is fairly loud.

      PART 1 - Autoplay off
      Uncheck Preferences->Sound & Media->Allow media to auto-play

      In Parcel A set music Stream 1
      In Parcel B set music Stream 2

      BLOCK 1

      1)
      Push play: sound fades in
      Wait until sound is at full volume
      Push stop: sound stops immediately

      2)
      Push play: sound starts to fade in
      Before sound is at full volume
      Push stop: sound stops immediately

      3)
      Push play
      Wait until sound is at full volume
      Walk to Parcel B: sound fades out

      4)
      Push play
      Before sound is at full volume
      Walk to Parcel A: sound fades out

      5)
      Push play
      Wait until sound is at full volume
      Replace Stream 1 with stream 3: Stream 3 fades out

      6)
      Push play
      Before sound is at full volume
      Replace stream 3 with stream 1: Stream 3 finishes fading up to full volume, Stream 3 fades out, Stream 1 starts and fades up to full volume

      7)
      Push play
      Wait until sound is at full volume
      Clear the Music URL box: Stream 1 fades out

      8)
      Put Stream 1 into the Music URL box: nothing is heard
      Push play
      Before sound is at full volume
      Clear the Music URL box: Stream 1 fades up to full volume and then fades out

      9)
      Push play
      Before sound is at full volume
      Replace stream 1 with stream 3: Stream 1 fades up to full volume, Stream 3 starts and fades out

      10)
      Push play
      Wait until sound is at full volume
      Replace Stream 3 with BadURL: Stream 3 fades out

      11)
      Put Stream 3 into the Music URL box
      Push play
      Before sound is at full volume
      Replace Stream 3 with BadURL: Stream 3 fades up to full volume and then fades out

      BLOCK 2
      Mouse hover over the play button
      The compact version of the media controls appear
      You will be using the Start All and Stop All buttons instead of Play and Stop

      Put Stream 1 into the Music URL box

      12)
      Push Start All: Stream 1 fades up to full volume
      Wait until sound is at full volume

      13)
      Push Stop All: Stream 1 stops

      14)
      Push Start All
      Before sound is at full volume
      Push Stop All: Stream 1 stops

      BLOCK 3
      Expand the media control by clicking on More>>

      Click on Parcel Streaming Audio: volume controls appear
      The button on the bottom left is stop
      The button to the right of it is play or pause/unpause

      Using these controls

      15)
      Push play
      Wait until sound is at full volume
      Push Stop: Stream 1 stops

      16)
      Push play
      Before sound is at full volume
      Push Stop: Stream 1 stops

      17)
      Push play
      Wait until sound is at full volume
      Push pause: Stream 1 pauses

      18)
      Push unpause: Stream 1 resumes playing

      19)
      Push play
      Before sound is at full volume
      Push pause: Stream 1 pauses

      20)
      Push unpause: Stream 1 resumes playing with a jump in volume
      This is by design. The volume fading in timer is not aware of the paused state.

      21)
      Push play
      Wait until sound is at full volume
      Push pause
      Push Start All: music resumes playing

      22)
      Push pause
      Push play in the taskar: music resumes playing

      End of Part 1

      PART 2 - Autoplay on

      Here are the three streams again, for easier cutting and pasting
      1) http://74.202.55.195:80/fm-hi
      2) http://scfire-mtc-aa01.stream.aol.com:80/stream/1060
      3) http://64.40.99.2:8088

      Check Preferences->Sound & Media->Allow media to auto-play

      In Parcel A set music Stream 1
      In Parcel B set music Stream 2

      23)
      Log in to Parcel A: You should hear a full fade in

      24)
      Walk to Parcel B: Stream 1 fades out, Stream 2 fades in

      25)
      Walk to Parcel A
      Before Stream 2 is fully faded out
      Walk to Parcel B: Stream 2 fades out fully and fades in

      26)
      Walk to Parcel A
      Before Stream 1 is fully faded in
      Walk to Parcel B: Stream 1 finishes fading in, fades out, Stream 2 fades in

      Clear Music URL box

      27)
      Walk to Parcel A
      Wait until sound is at full volume
      Walk to Parcel B: Stream 1 fades out

      28)
      Put Stream 2 into the Music URL box: Stream 2 fades in

      29)
      Teleport to a new region with streaming music: Stream 2 fades out while you are in transit (progress bar visible), the new stream fades in when you arrive
      Return to the test area from wherever you teleported to

      30)
      Teleport to a new region without streaming music: Stream 2 fades out while you are in transit (progress bar visible)
      Return to the test area from wherever you teleported to

      31)
      Try to teleport to a region you do not have access to: Stream 2 fades out, you receive a no-access message, Stream 2 fades back in

      32)
      Try to teleport to a new region but generate a teleport failure using QA magic: Stream 2 fades out, you receive a teleport failure notice, Stream 2 fades back in

      33) Teleport and while waiting push the Cancel button: I have only had my viewer lock up when doing this

      Set Parcel A and Parcel B to both have Stream 2.

      34)
      Walk back and forth between Parcels A and B: Stream 2 plays continuously with no fading

      Show
      You will be testing the new music stream fade in/fade out feature. This feature is always on. The fade out time is 2 seconds. The fade in time is 3 seconds. There are many small steps, some involving cutting and pasting of music URLs, so allow 2 hours to get set up and to perform all these steps. You can perform this test in several stages. A possible issue you may come across while testing is that a parcel update when you arrive in a new parcel or change the current parcel's music URL may be slow to arrive. Keep this in mind if you experience delays in the stream starting or changing. You may want to test from a region that is not on a busy sim host. Another possible issue is how long it takes for a stream to start playing once the call to play it has been issued. You may notice what seems to be a truncated fade in, where the early, quiet, part of the fade is not present. This is because it has taken extra time to start receiving the stream feed from the outside server. If you notice this try to test with streams that are "quick" to start playing. You will need 2 adjacent parcels where you can control the parcel music URL. To help tell which parcel you are in as you walk back and forth you may want to lay down a narrow marker prim or to have the parcel boundary line showing (use CTRL+ALT+SHIFT+P to turn this on). You will need 3 working music stream URLs plus a faulty URL. These are not guaranteed to work but may save you time searching out your own: 1) http://74.202.55.195:80/fm-hi 2) http://scfire-mtc-aa01.stream.aol.com:80/stream/1060 3) http://64.40.99.2:8088 4) BadURL In Preferences->Sound & Media set the volume levels so when you play the music stream it is fairly loud. PART 1 - Autoplay off Uncheck Preferences->Sound & Media->Allow media to auto-play In Parcel A set music Stream 1 In Parcel B set music Stream 2 BLOCK 1 1) Push play: sound fades in Wait until sound is at full volume Push stop: sound stops immediately 2) Push play: sound starts to fade in Before sound is at full volume Push stop: sound stops immediately 3) Push play Wait until sound is at full volume Walk to Parcel B: sound fades out 4) Push play Before sound is at full volume Walk to Parcel A: sound fades out 5) Push play Wait until sound is at full volume Replace Stream 1 with stream 3: Stream 3 fades out 6) Push play Before sound is at full volume Replace stream 3 with stream 1: Stream 3 finishes fading up to full volume, Stream 3 fades out, Stream 1 starts and fades up to full volume 7) Push play Wait until sound is at full volume Clear the Music URL box: Stream 1 fades out 8) Put Stream 1 into the Music URL box: nothing is heard Push play Before sound is at full volume Clear the Music URL box: Stream 1 fades up to full volume and then fades out 9) Push play Before sound is at full volume Replace stream 1 with stream 3: Stream 1 fades up to full volume, Stream 3 starts and fades out 10) Push play Wait until sound is at full volume Replace Stream 3 with BadURL: Stream 3 fades out 11) Put Stream 3 into the Music URL box Push play Before sound is at full volume Replace Stream 3 with BadURL: Stream 3 fades up to full volume and then fades out BLOCK 2 Mouse hover over the play button The compact version of the media controls appear You will be using the Start All and Stop All buttons instead of Play and Stop Put Stream 1 into the Music URL box 12) Push Start All: Stream 1 fades up to full volume Wait until sound is at full volume 13) Push Stop All: Stream 1 stops 14) Push Start All Before sound is at full volume Push Stop All: Stream 1 stops BLOCK 3 Expand the media control by clicking on More>> Click on Parcel Streaming Audio: volume controls appear The button on the bottom left is stop The button to the right of it is play or pause/unpause Using these controls 15) Push play Wait until sound is at full volume Push Stop: Stream 1 stops 16) Push play Before sound is at full volume Push Stop: Stream 1 stops 17) Push play Wait until sound is at full volume Push pause: Stream 1 pauses 18) Push unpause: Stream 1 resumes playing 19) Push play Before sound is at full volume Push pause: Stream 1 pauses 20) Push unpause: Stream 1 resumes playing with a jump in volume This is by design. The volume fading in timer is not aware of the paused state. 21) Push play Wait until sound is at full volume Push pause Push Start All: music resumes playing 22) Push pause Push play in the taskar: music resumes playing End of Part 1 PART 2 - Autoplay on Here are the three streams again, for easier cutting and pasting 1) http://74.202.55.195:80/fm-hi 2) http://scfire-mtc-aa01.stream.aol.com:80/stream/1060 3) http://64.40.99.2:8088 Check Preferences->Sound & Media->Allow media to auto-play In Parcel A set music Stream 1 In Parcel B set music Stream 2 23) Log in to Parcel A: You should hear a full fade in 24) Walk to Parcel B: Stream 1 fades out, Stream 2 fades in 25) Walk to Parcel A Before Stream 2 is fully faded out Walk to Parcel B: Stream 2 fades out fully and fades in 26) Walk to Parcel A Before Stream 1 is fully faded in Walk to Parcel B: Stream 1 finishes fading in, fades out, Stream 2 fades in Clear Music URL box 27) Walk to Parcel A Wait until sound is at full volume Walk to Parcel B: Stream 1 fades out 28) Put Stream 2 into the Music URL box: Stream 2 fades in 29) Teleport to a new region with streaming music: Stream 2 fades out while you are in transit (progress bar visible), the new stream fades in when you arrive Return to the test area from wherever you teleported to 30) Teleport to a new region without streaming music: Stream 2 fades out while you are in transit (progress bar visible) Return to the test area from wherever you teleported to 31) Try to teleport to a region you do not have access to: Stream 2 fades out, you receive a no-access message, Stream 2 fades back in 32) Try to teleport to a new region but generate a teleport failure using QA magic: Stream 2 fades out, you receive a teleport failure notice, Stream 2 fades back in 33) Teleport and while waiting push the Cancel button: I have only had my viewer lock up when doing this Set Parcel A and Parcel B to both have Stream 2. 34) Walk back and forth between Parcels A and B: Stream 2 plays continuously with no fading

      Description

      "I feel that sound is half the experience." -George Lucas

      Since we introduced ABOUT LAND > SOUND tab's "Music URL" (aka "parcel streaming audio") a long time ago, it's remained unchanged. One aspect that continues to abruptly annoy is the fact that when parcel music starts playing, it does so at its full volume immediately. This doesn't give the human ear any time to adjust, and is horribly noticeable when you teleport or fly from one parcel to another.

      This is also grossly unnatural and contradictory to how one behaves approaching sound to behave in the real world. We don't need to get into deep psychoacoustics, but even this simple change would cause a striking benefit.

      These brief clips will help you understand exactly what I mean:

      I was reminded of this as I was testing Skylight!

      Think of how on the radio or by a DJ, songs are mixed: for smooth transitions, they fade in and out, they don't suddenly go silent – which is often associated with problems like the audio stream dropping, or something else broken.

      The problem becomes more glaring when you play many modern games, where crossfades are used to great effect. Coming back to SL and hearing the music cut in and out is, well, a very severe and primitive experience, although it's an understated one. Most people will observe but can't articulate why it rubs them the wrong way.

      Proposal for how this should work:

      • Optimally when transporting from Parcel A to Parcel B with a different audio stream, Parcel A will fade out while Parcel B fades in.
      • If that isn't technically possible because we can't get two parcels playing simultaneously without causing other problems, simply fade out Parcel A upon leaving, then fade in Parcel B.

      Let me know if you'd like me to specify the type of crossfade curve, but even a 1-second linear transition is far more pleasing than none at all.

        Attachments

        1. Audio fades OFF.mov
          4.20 MB
        2. Audio fades ON.mov
          4.18 MB
        3. Audio fades ON-2.mov
          4.18 MB

          Activity

            People

            • Assignee:
              productengine.team ProductEngine Team
              Reporter:
              torley.linden Torley Linden
            • Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: