//    Instruction Example :      track.key.sound.pan.set (long)


        screen.resolution.set (512,384)

        @sound=sound.load ("avo\sound.wav")

        @track=track.create ()
          track.key.set (0)
            track.key.sound.channel.play (CHANNEL_1)
          track.key.set (1)
            track.key.sound.pan.set (32)
          track.key.set (2)
            track.key.sound.pan.set (64)
          track.key.set (3)
            track.key.sound.pan.set (128)
          track.key.set (4)
            track.key.sound.pan.set (256)
        track.end ()

        sequence.play (@track,@sound)

        text.display ("Press a key to exit.",CENTER,350)

        keyboard.wait ()

        script.stop ()