Comments (1)
OK, I understand that the method with 3 bytes arguments makes convenient to send various MIDI messages.
I'll add a public method with suitable documents.
The method signature will be like this:
public void sendMidiMessage(int cable, int byte1, int byte2, int byte3)
The cable
is the virtual cable ID for USB MIDI device.
An USB MIDI device can have 16 cables to supply different functions.
For example, cable ID 0 is a synthesizer, ID 1 is a sequencer, ID 2 is an effector, ...
It's described at USB MIDI specification(PDF). At 16 page, 4 USB-MIDI Event Packets
.
http://www.usb.org/developers/docs/devclass_docs/midi10.pdf
Regards,
Kaoru Shoji
from usb-midi-driver.
Related Issues (20)
- OnMidiInputEventListenerImpl take interpret wrongly about single byte messages HOT 3
- Add some utility methods on Input/Output device class HOT 1
- trying to send this sysex message for example HOT 1
- Send Midi Out through 5 channels HOT 2
- Separate RPN/NRPN messages for each cableId. HOT 1
- Synthesizer doesn't be registered to MidiSystem
- Can't find a onMidiInEvent
- Audio stops when USB midi device is connected HOT 2
- sequencer.start() method not generating any sound in Android application.
- MIDI Input Broken on Android 4 HOT 34
- Some vendor ids are wrong in device_filter.xml HOT 1
- Trouble adding MidiDriver as a module to a project HOT 3
- Missing Midi Events HOT 5
- Support multi process?
- Sysex not working HOT 1
- Filter Out Active Sensing HOT 1
- WaiterThread will spin and crash device
- Issue with Android 12 and PendingIntent
- I don't see this library working when device is connected to computer or ipad HOT 1
- Google Play Market url broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usb-midi-driver.