screen.resolution.set (512,384)
sound.play ("avo\audio.mp3",CHANNEL_1)
sound.loop.set (CHANNEL_1,TRUE)
text.display ("Sound is playing, press a key to pause.",CENTER,10)
keyboard.wait ()
sound.pause (CHANNEL_1)
text.display ("Sound is pausing, press a key to resume.",CENTER,10)
keyboard.wait ()
sound.resume (CHANNEL_1)
text.display ("Press any key to exit.",CENTER,350)
keyboard.wait ()
script.stop ()