Jazz-Plugin in Windows 10

Low level MIDI support via Javascript
pgmvyc
Posts: 8
Joined: Mon Apr 22, 2013 11:51 am

Jazz-Plugin in Windows 10

Post by pgmvyc » Sun Aug 02, 2015 7:56 pm

Cema, first of: than you for your ongoing effort.
Unfortunately It looks like Jazz-plugin and/or JZZ do not work in Windows 10 - no sound on midiOut.
Any insight ?

sema
Site Admin
Posts: 371
Joined: Mon Oct 17, 2011 7:28 pm

Re: New JavaScript library

Post by sema » Sun Aug 02, 2015 8:22 pm

Unfortunately, I don't have any Windows 10 machine yet...
No sound in any particular browser, or in no browser at all?
Please give more details.

pgmvyc
Posts: 8
Joined: Mon Apr 22, 2013 11:51 am

Re: New JavaScript library

Post by pgmvyc » Mon Aug 03, 2015 3:56 am

I tried Chrome, IE and FF - no luck.
Windows 10 was installed by upgrade from Win7 so it kept all the settings from Win7 (where everything worked fine). However I tried to reinstall Jazz Plugin - this dd not help either.

pgmvyc
Posts: 8
Joined: Mon Apr 22, 2013 11:51 am

Re: New JavaScript library

Post by pgmvyc » Mon Aug 03, 2015 5:53 pm

Correction: Jazz plugin in in Windows 10 in IE Edge indeed does not work (Edge dropped Active-X support), but it does (!) work in IE-11.
Does not work in Chrome, FF, Opera or Safari.

sema
Site Admin
Posts: 371
Joined: Mon Oct 17, 2011 7:28 pm

Re: Jazz-Plugin in Windows 10

Post by sema » Thu Aug 06, 2015 5:11 pm

I guess I should try building it with a newer compiler.
Will let you know in this branch.

pgmvyc
Posts: 8
Joined: Mon Apr 22, 2013 11:51 am

Re: Jazz-Plugin in Windows 10

Post by pgmvyc » Fri Aug 07, 2015 8:32 am

I will be happy to qa the new version for you once it become available.

James_Ingram
Posts: 15
Joined: Tue Oct 23, 2012 4:47 am

Re: Jazz-Plugin in Windows 10

Post by James_Ingram » Mon Aug 10, 2015 2:44 am

I'm only using Jazz with Firefox, but its the same problem here.
All the best,
James

James_Ingram
Posts: 15
Joined: Tue Oct 23, 2012 4:47 am

Re: Jazz-Plugin in Windows 10

Post by James_Ingram » Wed Sep 16, 2015 3:47 am

Jazz/Firefox is now working for me in Windows 10.
I think the problem was in my own software, which wasn't working properly with an update to the WebMIDIAPI shim.
I've sorted that out now, and everything is running fine! :)

All the best,
James

sema
Site Admin
Posts: 371
Joined: Mon Oct 17, 2011 7:28 pm

Re: Jazz-Plugin in Windows 10

Post by sema » Wed Sep 16, 2015 6:35 am

Oh thank you for the good news! But I've just bought a new Windows 10 laptop to debug the issue :)

Wayne McHugh
Posts: 8
Joined: Mon Feb 24, 2014 4:22 pm

Re: Jazz-Plugin in Windows 10

Post by Wayne McHugh » Thu Oct 08, 2015 2:39 pm

Hi Sema and others. Is there any progress on this? It seems the Windows world at least is becoming more awkward for your wonderful plugin. If not, James_Ingram mentioned WebMIDIAPIShim which I've looked at but don't really understand. Is this something that should be incorporated, and if so, how (Sema, James, anyone)?

sema
Site Admin
Posts: 371
Joined: Mon Oct 17, 2011 7:28 pm

Re: Jazz-Plugin in Windows 10

Post by sema » Fri Oct 09, 2015 7:00 am

I am working to fix the plugin on Windows 10. It works fine with all previous Windowses.
As soon as it is ready, I'll release v.1.5 which is currently available for a preview at http://jazz-soft.net/download/Jazz-Plugin/1.5
MacOS and Linux versions are done (unless I'll have some bug reports from you)
Expect the new release in a couple of weeks.

abhunkin
Posts: 8
Joined: Thu Mar 01, 2018 1:24 pm

Re: Jazz-Plugin in Windows 10

Post by abhunkin » Thu Mar 01, 2018 2:45 pm

I'm on Windows 10 64-bit. Perhaps that is the problem.

The only browser I can get Jazz-Plugin to work with is Microsoft Internet Explorer 11 - not current versions of Chrome, Edge, Firefox, Opera or Vivaldi.

Here's my use case: browse to http://www.lividserver.com/editor/
The webpage, with Jazz-Plugin installed, should not display the large "Install Jazz-Plugin" window, and the smaller "select a port" window should have a selection drop-down box above it. (It is not necessary to have a MIDI device plugged in for this to happen.)

I am not misled by the npapi message; I know it's no longer relevant, and in the case of the needed Chrome and Firefox extensions, I've properly installed them as well.

I've also tried to use Jazz-Plugin on Windows 7 and XP machines (as above) without success - but in these cases, Jazz-MIDI gets hung during install when a .dll isn't registered correctly. (I get the same message as a user in another thread on this site; and I don't recall a fix being posted in that case.)

Can someone advise as to which browsers and versions of Windows are known to work with the Livid editor page above?

Thanks much -

Art Hunkins

sema
Site Admin
Posts: 371
Joined: Mon Oct 17, 2011 7:28 pm

Re: Jazz-Plugin in Windows 10

Post by sema » Fri Mar 02, 2018 10:27 am

Firefox and Chrome extensions have API different from Jazz-Plugin.
Instead of directly using Jazz-Plugin API, please switch to JZZ.js library that is compatible with every implementation (Including Chrome native Web MIDI API)

abhunkin
Posts: 8
Joined: Thu Mar 01, 2018 1:24 pm

Re: Jazz-Plugin in Windows 10

Post by abhunkin » Fri Mar 02, 2018 3:09 pm

Thanks for the quick response. I investigated your suggestion; it would seem to lead me down a road quite beyond my technical capability.

I just need a basic program or extension to install that will satisfy the URL below - in as many browsers as possible, but especially Chrome:
http://www.lividserver.com/editor/
That webpage needs to communicate with a MIDI device plugged in (and currently MSIE11 is the only browser that does - with the simple install of Jazz-Plugin).

What's the simplest path to accomplishing this objective? I'm not prepared to write Javascript It seems strange to me that MSIE11 doesn't present the user any obstacles, while all the other browsers tested block any simple solution. (I'm in Windows 10, 64-bit.)

sema
Site Admin
Posts: 371
Joined: Mon Oct 17, 2011 7:28 pm

Re: Jazz-Plugin in Windows 10

Post by sema » Fri Mar 02, 2018 6:58 pm

Why don't you check the examples at https://jazz-soft.net/demo ?
One don't have to be a JavaScript guru to understand them.
And they work in all browsers (except Edge, for which I'm planning to have a solution in near future)
What you'll have to do with your website is basically to substitute direct calls to Jazz-Plugin to JZZ calls.

abhunkin
Posts: 8
Joined: Thu Mar 01, 2018 1:24 pm

Re: Jazz-Plugin in Windows 10

Post by abhunkin » Sat Mar 03, 2018 9:17 am

I'll take a look at the examples.

The problem may well be that
http://www.lividserver.com/editor/
is not my site, so I can't edit it. All I have to "work with" is my computer and browser, and I don't know what I can do about the latter except to insert an extension into it. Hopefully your examples will provide some guidance here.

Thanks again.

sema
Site Admin
Posts: 371
Joined: Mon Oct 17, 2011 7:28 pm

Re: Jazz-Plugin in Windows 10

Post by sema » Sun Mar 04, 2018 8:18 am

Oh I see... I thought you were that site developer...
Well, the only thing you can do then is to encourage the site owners to upgrade their technology...

sema
Site Admin
Posts: 371
Joined: Mon Oct 17, 2011 7:28 pm

Re: Jazz-Plugin in Windows 10

Post by sema » Sun Mar 04, 2018 1:16 pm


abhunkin
Posts: 8
Joined: Thu Mar 01, 2018 1:24 pm

Re: Jazz-Plugin in Windows 10

Post by abhunkin » Mon Mar 05, 2018 4:38 pm

I appreciate your forum post; perhaps someone at Livid Instruments will respond. I'm not optimistic, as most of the instruments serviced by the editor are no longer made (including mine, the Alias 8). They are excellent instruments, however, and available on eBay often.

I found I was wrong about the Livid Online Editor being online only; they have an offline version available for download at:
http://lividserver.com/editor/src.zip .
I'd like to see what I (and perhaps a more knowledgeable coding friend of mine) can do with it. Could you please give us a few hints?

Three source files seem relevant. (I'd attach them here, but can't apparently. They are index.html, How This Works.rtf, and midiio.js [in the js folder].) I understand from the "How This Works":

"ON START….
We use window.onload() in indexhtml to call
makemidimenu(). This uses the Jazz plugin to put all the ports in the first menu presented to the user."

Makemidimenu() is in midiio.js, so I think
that the midiio.js file is what basically needs modification - namely the Jazz calls. I see a number of them there:
Jazz.MidiOutList
Jazz.MidiInList
Jazz.MidiOutOpen
Jazz.MidiInOpen (3 of these)
Jazz.MidiOutLong
Jazz.MidiInClose

I gather that these all need to be substituted by JZZ calls. Can you identify exactly what should be substituted for one of these calls, and by what?

And, finally, if these substitutions are made inline, or together in a separate .js, is Jazz-Plugin still necessary?

TIA for pointing the way.

sema
Site Admin
Posts: 371
Joined: Mon Oct 17, 2011 7:28 pm

Re: Jazz-Plugin in Windows 10

Post by sema » Sat Mar 10, 2018 6:19 pm

The change will be a little more complicated than "find/replace", but still simple.

Jazz.MidiOutList() / Jazz.MidiInList() =>
JZZ().and(function() { var info = this.info(); ... });
https://jazz-soft.net/doc/JZZ/jzz.html#info

Jazz.MidiOutOpen(name) / Jazz.MidiInOpen(name, funct) =>
var midiout = JZZ().openMidiOut(name);
var midiin = JZZ().openMidiIn(name).connect(funct);
https://jazz-soft.net/doc/JZZ/midiout.html#open
https://jazz-soft.net/doc/JZZ/midiin.html#open

Jazz.MidiOutLong(msg) =>
midiout.send(msg);
https://jazz-soft.net/doc/JZZ/midiout.html#send

Jazz.MidiInClose() =>
midiin.close();
https://jazz-soft.net/doc/JZZ/midiin.html#close

Most likely, you will still need Jazz-Plugin installed, but that depends on your system and browser.

Post Reply