Midistream#
Package to synthesize and playback MIDI commands from Python for Android.
Midistream is a wrapper for Bill Farmer’s Midi Driver, and includes libmidi.so libraries from the MidiDriver build. The bundled MidiDriver components are licensed under the Apache License 2.0.
Previous version was using system version of Sonivox EAS library and Audiostream for playback.
Generated documentation: https://midistream.readthedocs.org
Quick start development environment#
midistream is included in PythonHere app, together with the Jupyter Notebook it could be used as a development environment.
Usage examples: https://herethere.me/examples/midi.html
Build#
The following instructions are for building app with buildozer tool.
buildozer.spec requirements should include midistream:
requirements = python3,kivy,midistream
App configuration example: buildozer.spec
Examples#
See examples/ directory.
examples/demo is an app that shows how to initialize the synthesizer, inspect configuration, set volume and reverb, and play MIDI notes:
cd examples/demo
buildozer android debug deploy run logcat