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

iOS - MIDI NoteOff does not work #230

Open
idekterev opened this issue Mar 2, 2018 · 1 comment
Open

iOS - MIDI NoteOff does not work #230

idekterev opened this issue Mar 2, 2018 · 1 comment

Comments

@idekterev
Copy link

I'm using MIDI.JS to manually play some notes (one note at a time, nothing complicated).
When running under Android, everything works fine.
Under iOS the sounds get 'stuck', like someone leaving the sustain pedal on.
I've traced the problem to noteOff commands, which do not seem to function correctly.

Running iOS 12.2.6
MIDI.JS v0.4.2 running in Cordova, SoundFont files loaded locally.

As an example, the following code works correctly in Android:
MIDI.noteOn(0, 50, 127, 0); MIDI.noteOff(0, 50, 0.01);

Under iOS, the sound keeps playing and does not cut-off (the noteOff command has no effect).

@mscuthbert
Copy link
Contributor

I believe that this has been fixed in the https://github.com/mscuthbert/midicube fork.

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

2 participants