This repository contains a Python script (rttl-loader.py
) that makes it easy to load or view RTTTL data in a music module.
- Python 3 (https://www.python.org/downloads/)
- pyserial library (https://pyserial.readthedocs.io/en/latest/)
py -m pip install pyserial
pip install pyserial
git clone https://github.com/simtelic/el0003-music-module.git
If git
is not available, download the source code snapshot from GitHub.
Use a application like Device Manager to identify the assigned COM port (e.g., COM3).
py rttl-loader.py -p COM5 -m write -f sample.txt # Replace with your actual serial port
Use a tool like ls /dev/tty*
or dmesg | grep tty
to find the serial port assigned to your music module. It's typically named /dev/ttyUSB0
, but it might vary.
python3 rttl-loader.py -p ttyUSB0 -m write -f sample.txt # Replace with your actual serial port
-
The repository contains a large collection of RTTTL files available at FlipperMusicRTTTL. Most of the files in this repository are working with this module and can fit into a 2Kbit EEPROM space.
-
To access more commands, please check the help section of the
rttl-loader
by typingrttl-loader --help
.