Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebMidi.js v3 API #1259

Open
nkymut opened this issue Jan 24, 2025 · 0 comments
Open

WebMidi.js v3 API #1259

nkymut opened this issue Jan 24, 2025 · 0 comments

Comments

@nkymut
Copy link
Contributor

nkymut commented Jan 24, 2025

MIDI channel is now in the options object and supports arrays.

e.g.
https://webmidijs.org/api/classes/Output#playNote

v2

device.playNote(midiNote, midichan, {time: timeOffsetString,});

v3

device.playNote(midiNote, {channel: [midichan], time: timeOffsetString,});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant