volumeDisplay: false debug: true muteOnBlur: falsebeep: ./audio/beep.mp3, ./audio/beep.ogg nope: ./audio/no.mp3, ./audio/no.ogg que-pena: ./audio/que-pena.mp3, ./audio/que-pena.ogg cibelle: ./audio/cibelle.mp3, ./cibelle/no.ogg organ: http://www.kozco.com/tech/organfinale.wav, http://www.kozco.com/tech/organfinale.mp3{ (newplaylist: 'test', 'beep', 'nope') (newplaylist: 'bgm', 'cibelle', 'que-pena') (newgroup: 'tests', 'beep', 'nope') (newgroup: 'bgm', 'cibelle', 'que-pena') (masteraudio: 'preload') }(track: (either: 'que-pena', 'cibelle'), 'playwhenpossible')\ Welcome to the Harlowe Audio Library demo! * (link-repeat: "View this demo's source code.")[(open-url: 'https://github.com/ChapelR/harlowe-audio/tree/master/docs/demo')] * (link-repeat: "Read the documentation.")[(open-url: 'https://hal.twinelab.net/')] * (link-repeat: "Download the library.")[(open-url: 'https://github.com/ChapelR/harlowe-audio/releases')] Tests: { (link-repeat: "Play a beep.")[ (track: 'beep', 'play') ] } { (link-repeat: "Play a different beep.")[ (track: 'nope', 'play') ] } { (link-repeat: "Halve the beeps' volumes.")[ (group: 'tests', 'volume', 0.5) ] } { (link-repeat: "Restore the beeps' volumes.")[ (group: 'tests', 'volume', 1) ] } { (link-repeat: "Randomize background track.")[ <script> A.group('bgm').stop(); A.playlist('bgm').random().loop(true).play(); </script> ] } { (link-repeat: "Play audio from over the network.")[ (track: 'organ', 'play') ] } { (link-repeat: "Mute only the background music.")[ (group: 'bgm', 'mute', true) ] } { (link-repeat: "Unmute the background music.")[ (group: 'bgm', 'mute', false) ] }This is another passage! [[Go back.|Start]] |secret>[ [[testbed]] ]<!-- for targeted testing --> (masteraudio: 'stopall') <script>A.playlist('test').playWithTrackBetween('organ')</script>