Skip to content

b3b/midistream

Repository files navigation

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.

Documentation: https://herethere.me/midistream

Related resources

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

About

Python for Android MIDI module

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors