Skip to content

ct2034/superpermidi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

superpermidi

A python script to make music from superpermutations

Requirements

This is tested under Ubuntu Bionic with Python 3.6.7. This should install all you need

sudo apt install wget python3 python3-pip timidity timgm6mb-soundfont

Installation

Install the python requirements using

sudo pip3 install -r requirements.txt

Usage

Get a textfile with a superpermutation (or create your own)

wget http://www.gregegan.net/SCIENCE/Superpermutations/7_5906_nsk666646664466646666_2SYMM_FS.txt

Run the script

./superpermidi.py 7_5906_nsk666646664466646666_2SYMM_FS.txt

You should get a midi file with the same name and can play it

timidity 7_5906_nsk666646664466646666_2SYMM_FS.mid

About

A python script to make music from superpermutations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages