RouterOS beeper player

Korobeiniki

The peddlers’ song as an old print gives it: it opens low and climbing, and after the refrain a shorter verse comes round again, faster, then faster still.

Your score
Space to play / stop
NoteFreqBar
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.