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.0.tar.gz (14.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: midistream-0.3.0.tar.gz
  • Upload date:
  • Size: 14.6 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.0.tar.gz
Algorithm Hash digest
SHA256 4c7ec4b4b3a66042f7df3d800ba33e5a63d77f97560e6e04500cc8757127708c
MD5 9c7695a286519eebe8172b074134fde3
BLAKE2b-256 55f98eee4a89f5a33bdf342508122343405607ab13cd1f7aae6ddcc0273c8e07

See more details on using hashes here.

Provenance

The following attestation bundles were made for midistream-0.3.0.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