Skip to main content

Python for Android MIDI stream wrapper

Project description

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

midistream-0.3.1.tar.gz (15.3 kB view details)

Uploaded Source

File details

Details for the file midistream-0.3.1.tar.gz.

File metadata

  • Download URL: midistream-0.3.1.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for midistream-0.3.1.tar.gz
Algorithm Hash digest
SHA256 a0aa9a4d68e23117eb4a7ac161c263f98a9a1edadd9cda7a2cfea9a76c5dee65
MD5 38129468f358900b00735a59097a8486
BLAKE2b-256 4cbd7bfcd2f651bc9c7bed0ab0c31c98fee7d76fddd62221c2ff7302c294911b

See more details on using hashes here.

Provenance

The following attestation bundles were made for midistream-0.3.1.tar.gz:

Publisher: release-python.yml on b3b/midistream

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page