Picture 6: Audio Sequencer with Default Music
The realization of the play/1 predicate makes use of the Dogelog sleep/1 command. This command will yield the Prolog engine for the given time. The Prolog engine will also automati-cally yield 60 times per second. The example seems to work in browsers such as Chrome and Edge, but for example Safari causes troubles in that it dims the audio.