"Sound Notifications" by David Kinder Include Glulx Entry Points by Emily Short. The Sound Stage is a room. "Enter 'chime' to play a sound." Sound of Chiming is the file "Chime.aiff". To play (SFX - sound name) with notification: (- glk_schannel_play_ext(gg_foregroundchan,ResourceIDsOfSounds-->{SFX},1,1); -). Playing chime is an action applying to nothing. Carry out playing chime: play Sound of Chiming with notification; say "The sound has started playing." Understand "chime" as playing chime. To restart line input in the/-- main window: (- glk_request_line_event(gg_mainwin,buffer+WORDSIZE,INPUT_BUFFER_LEN-WORDSIZE,0); -) A glulx sound notification rule: Cancel line input in the main window; say "The sound has finished playing.[line break]>"; Restart line input in the main window.