https://github.com/android/midi-samples
Samples showing best practices for MIDI on Android.
https://github.com/android/midi-samples
Last synced: 2 months ago
JSON representation
Samples showing best practices for MIDI on Android.
- Host: GitHub
- URL: https://github.com/android/midi-samples
- Owner: android
- License: apache-2.0
- Created: 2022-08-15T20:11:29.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-02T22:20:04.000Z (almost 2 years ago)
- Last Synced: 2024-10-02T02:43:21.961Z (about 1 year ago)
- Language: Kotlin
- Size: 664 KB
- Stars: 43
- Watchers: 63
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING
- License: LICENSE
Awesome Lists containing this project
README
MIDI Samples
============
This repository contains a set of individual Android Studio projects to help you write apps using
MIDI APIs.
Android MIDI 2.0 API samples that run on Android T or later. These samples will run only with MIDI
2.0 USB devices at the moment.
These are primarily samples for developers to learn from, but may also be useful for OEMs to test
MIDI on new devices.
Samples
-------
* **[MidiUmpScope](MidiUmpScope)** (Kotlin) - Displays MIDI Messages on the screen. This also acts
like a basic synth. This program first connects to the device via MIDI-CI, and then reacts to MIDI
2.0 Note On, Note Off, Pitch Bend, and Program Change messages.
* **[MidiUmpKeyboard](MidiUmpKeyboard)** (Kotlin) - Displays a simple on-screen music keyboard. This
program first connects to the device via MIDI-CI, and then writes MIDI 2.0 Note On, Note Off,
Program Change, and Per Note Pitch Bend messages.
See the README files in the App directories for more information.
Library
-------
The [MidiTools](MidiTools) folder contains general purpose MIDI classes that are used by the other
samples.