Skip to content

RTTTL loader for music module

License

Notifications You must be signed in to change notification settings

simtelic/el0003-music-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTTTL loader for music module

This repository contains a Python script (rttl-loader.py) that makes it easy to load or view RTTTL data in a music module.

Requirements

Install dependencies (Windows)
py -m pip install pyserial
Install dependencies (Linux)
pip install pyserial

Usage

Clone the repository:

git clone https://github.com/simtelic/el0003-music-module.git

If git is not available, download the source code snapshot from GitHub.

Run the script:

Windows:

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
Linux:

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

Additional Notes

  • 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 typing rttl-loader --help.

About

RTTTL loader for music module

Resources

License

Stars

Watchers

Forks

Languages