Skip to content

garncarz/songs

Repository files navigation

My songs

Build Status

History

In around 2009, I've bought a great Textbook of Harmony (Czech: Učebnice harmonie) by Jaroslav Kofroň and started to compose my own songs. You can find their sources here.

My diploma thesis was about random compositions by a computer, then I went on to try writing a musical Prolog library.

As of now, I'd like to rewrite my songs to Python, which I find as the best and the most playful/effective/easy/fast-to-deliver language, and then move on to composing more in a framework which will emerge in the meantime.

This project

Directory Content
src Original sources
src.py Pythonized songs
midi Sources rendered into MIDI format

Procession of songs is automated by the script make.py which is capable of producing:

  • MIDI files
  • PDF files with sheet music
  • FLAC/OGG files with rendered MIDI files
  • PNG previews of PDFs

Needed

  • Python 3 (scripting, song scripting)
  • LilyPond (.ly.midi/.pdf)
  • MuseScore (.mscz/.mscx.midi/.pdf; also capable of importing .midi)
  • TiMidity++ (.midi.ogg/.flac/direct play)
  • some SoundFont for TiMidity++, e.g. Fluid R3 GM
  • ImageMagick (.pdf.png)

Usage

pip install -r requirements.txt

./make.py