8000 GitHub - aapris/midi-experiments: Various data-to-music experiments
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aapris/midi-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Midi experiments

Various experiments how to transform data to music or at least sounds.

Gettings started

Create virtualenv and install python modules:

pip install -r requirements.txt

Midiutil

Midiutil normally creates a .mid file, which can be played, for example, which VLC.

Realtime midi

Install fluidsynth, if you want to use python-rtmidi (realtime midi) to play tunes in realtime.

MacOS & Homebrew

brew install fluid-synth

In addition, you need to download FluidR3_GM.sf2 for example here. Unzip the archive and place the soundfont file in this directory.

Running flounsynth creates virtual midi device which can be used from python-rtmidi.

fluidsynth -o midi.driver=coremidi -o audio.driver=coreaudio -o audio.coreaudio.device=default -o audio.period-size=256 FluidR3_GM.sf2

Convert a .mid file to a .wav file

fluidsynth -F out.wav FluidR3_GM.sf2 source.mid

Random links

About

Various data-to-music experiments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0