TunePlayer note calculator

This calculator allows encoding and decoding individual notes to and from the 16 bit format used by TunePlayer. This is mainly intended for educational and debugging purposes. For more serious (and less tedious) purposes, see the Musescore plugin. For details on how the notes are encoded, see the Note Structure page.

Please note that this tool requires javascript be enabled to operate. Open this file in a web browser to run it.

Decoding notes

Input:

Enter the code: (Examples: 0b1001101111111100, 0xe0f0, 0x7a78)

Output:

Note:

Encoding notes

Playable note (including a rest)

Input:

Enter the octave:

Enter the length:

Output:

Repeat

Input:

Enter the number of messages to go back:

Output:

Set tempo

Input:

Enter the effect (currently unused, set to 0):

Enter the tempo in beats per minute:

Output:

End of tune

Input:

Start over from the beginning:

Output: