RouterOS beeper player

Super Mario Bros, remastered

Every part of the tune is written down once, and a playlist calls them in the game’s order, counting each strain as it comes round. It plays the same notes as the notes page, tone for tone, with the bass and the grace notes slipped in on one speaker.

Source: IanH’s post on the MikroTik forum

Space to play / stop
NoteFreqLine
Download .rsc

On the router: paste the script into a terminal, or upload the file and run it.

Script output

    Write your own

    Ask for a tune you may arrange: your own, one out of copyright, or one you are licensed to use.

    Have a MIDI file? altucor’s converter turns it into a script.

    How it works

    One command sounds one tone: :beep frequency=<hertz> length=<time>; the beeper plays one note at a time.

    :delay is the clock. A beep starts the tone and returns at once, so every note is a beep followed by a delay of the same length and a small gap.

    Most tunes here are written out note by note, a beep and a delay each; some also come as code, with loops, tables and functions, that plays the very same notes. Download any of these and run it in a terminal.