Code Monkey home page Code Monkey logo

Comments (13)

cwilso avatar cwilso commented on July 19, 2024

Hmm, strange. You shouldn't need the Jazz plugin, but it shouldn't harm anything either.

Can you open up the developer tools console and see if any warnings are firing?

from midi-synth.

lukephills avatar lukephills commented on July 19, 2024

No there's nothing in the console apart from the key logs and there is no text in the MIDI_IN select box on the synth.

from midi-synth.

cwilso avatar cwilso commented on July 19, 2024

Have you tried a more recent version? Could you install Chrome Canary alongside and check it?

from midi-synth.

lukephills avatar lukephills commented on July 19, 2024

Yes just tried in Canary and its not working either.

Looking at line 51 of midi.js: var list=midiAccess.inputs();
My list.length = 0. I'm guessing thats not right?

I have an Akai MPD & a yamaha keyboard plugged in and MidiKeys open just to check.

from midi-synth.

cwilso avatar cwilso commented on July 19, 2024

In Canary, you shouldn't get to that point. No, it shouldn't be 0, but
Canary shouldn't be dropping in to that clause, because it has the new
implementation of midiAccess - it should fail the test above

if ((typeof(midiAccess.inputs) == "function"))

and drop into the clause around line 70 instead.

What OS are you on?

On Fri, Nov 14, 2014 at 3:26 AM, Luke Phillips [email protected]
wrote:

Yes just tried in Canary and its not working either.

Looking at line 51 of midi.js: var list=midiAccess.inputs();'
Mylist.length = 0`. I'm guessing thats not right?

I have an Akai MPD & a yamaha keyboard plugged in and MidiKeys open just
to check.


Reply to this email directly or view it on GitHub
#11 (comment).

from midi-synth.

cwilso avatar cwilso commented on July 19, 2024

Oh, guessing OSX from MIDIKeys. Hmm.

On Fri, Nov 14, 2014 at 8:07 AM, Chris Wilson [email protected] wrote:

In Canary, you shouldn't get to that point. No, it shouldn't be 0, but
Canary shouldn't be dropping in to that clause, because it has the new
implementation of midiAccess - it should fail the test above

if ((typeof(midiAccess.inputs) == "function"))

and drop into the clause around line 70 instead.

What OS are you on?

On Fri, Nov 14, 2014 at 3:26 AM, Luke Phillips [email protected]
wrote:

Yes just tried in Canary and its not working either.

Looking at line 51 of midi.js: var list=midiAccess.inputs();'
Mylist.length = 0`. I'm guessing thats not right?

I have an Akai MPD & a yamaha keyboard plugged in and MidiKeys open just
to check.


Reply to this email directly or view it on GitHub
#11 (comment).

from midi-synth.

lukephills avatar lukephills commented on July 19, 2024

Apologies yes Canary does go down that route but it doesn't make it into the for loop on line 89.

I'm on OSX v 10.9.4

from midi-synth.

cwilso avatar cwilso commented on July 19, 2024

Weird. I'm guessing you've got an odd API in your build - I'll have to
look into it a bit more in a couple of days.

On Fri, Nov 14, 2014 at 9:01 AM, Luke Phillips [email protected]
wrote:

Apologies yes Canary does go down that route but it doesn't make it into
the for loop on line 89.

I'm on OSX v 10.9.4


Reply to this email directly or view it on GitHub
#11 (comment).

from midi-synth.

lukephills avatar lukephills commented on July 19, 2024

I just tested on my work computer (OS 10.9.5 & Chrome 38) and the midi synth worked!

It must be something to do with my machine. Do you think it would it help if I reinstalled chrome or perhaps there's an app running in the background that may be conflicting with it.

from midi-synth.

janbiasi avatar janbiasi commented on July 19, 2024

You have to enable the requestMidiAccess method in your chrome flags; Try to open chrome://flags/ and search for "requestMidi.." and press enable 😸

from midi-synth.

cwilso avatar cwilso commented on July 19, 2024

Should be fixed now.

from midi-synth.

lukephills avatar lukephills commented on July 19, 2024

Hi @cwilso, it's still not working for me. It detected that a keyboard was connected; 'KEYBOARD' in the select box, but pressing the keys didn't do anything. Then I disconnected the keyboard and refreshed the page multiple times and it still has 'KEYBOARD' in the select box (when no midi controller is connected).

@janbiasi I don't have a requestMidiAccess option in chrome flags. There's only an 'Enable Web MIDI API' which is activated.

from midi-synth.

cwilso avatar cwilso commented on July 19, 2024

@lukephills - I'm not sure what's going on. I'm not getting midi messages delivered in my current stable (42.0.2311.135) either; however, it works fine in Beta channel, and also in Canary. Try installing Canary and see if it works; Stable is going to 43 very soon.

from midi-synth.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.