mirror of
https://github.com/danog/system-bus-radio.git
synced 2024-11-26 19:34:51 +01:00
.. | ||
mary_had_a_little_lamb.tune | ||
README.md | ||
smb.tune |
Tune File Format
This file defines the .tune
music file format.
Following is a simple example of the beginning parts of the Super Mario Brothers theme song:
100 660
150 0
100 660
300 0
100 660
300 0
100 510
Full specification
- Simple text file
- Each line represents a beep or a pause
- Column one is a positive integer number of milliseconds
- Column two is a positive integer frequency in Hz, or
0
which represents silence - Columns are separated by a space
- Line ending is unix format
- File extension is
.tune
- Although not necessarily part of the tune, consider adding a silence at the end so that looped playback sounds good :-)