Closed marcoscaceres closed 11 years ago
An excellent idea!
When I hit the button on the above link, I get the "Starting up MIDI..." message but an exception is thrown at WebMIDIAPI.js line 51: the performance.now() method does not exist. I think it would work if you could fall back on performance.webkitNow(). Elsewhere too? I'm on Windows Vista Ultimate 64bit, Browser: Chrome Version 23.0.1271.97 m
Refresh, should be fixed now.
Am 12.12.2012 22:48, schrieb Chris
Wilson:
Refresh, should be fixed now.
—
Reply to this email directly or view
it on GitHub.
I've been doing "Hard reload"s sporadically for the past 15 minutes.
The code hasn't changed...
best,
j--
www.james-ingram-act-two.de
Whoops! Sorry, only updated the master repo. Try again now.
I can see where you changed the code (line 7) but I still get an exception (now at line 54). Simple windows.performance.webkitNow() works for me.
Talk to you again tomorrow. And so to bed. :-) j
Grr. Try one more time.
Its now working. Thanks!
I've just tried clicking the button again, and now get an exception at line 64 of (program):
"Uncaught TypeError: Object #
Windows Vista Ultimate 64bit, Browser: Chrome Version 23.0.1271.97 m
Yup - the spec changed. It's now called "requestMIDIAccess".
I just polyfilled the old name too, though, so it should work again now.
Great, thanks. Its working again.
It would be great if you could make this available on GH pages... having to clone it, etc. is a slight pain.