Page 1 of 2

Jazz-Plugin in Windows 10

Posted: Sun Aug 02, 2015 7:56 pm
by pgmvyc
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 ?

Re: New JavaScript library

Posted: Sun Aug 02, 2015 8:22 pm
by sema
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.

Re: New JavaScript library

Posted: Mon Aug 03, 2015 3:56 am
by pgmvyc
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.

Re: New JavaScript library

Posted: Mon Aug 03, 2015 5:53 pm
by pgmvyc
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.

Re: Jazz-Plugin in Windows 10

Posted: Thu Aug 06, 2015 5:11 pm
by sema
I guess I should try building it with a newer compiler.
Will let you know in this branch.

Re: Jazz-Plugin in Windows 10

Posted: Fri Aug 07, 2015 8:32 am
by pgmvyc
I will be happy to qa the new version for you once it become available.

Re: Jazz-Plugin in Windows 10

Posted: Mon Aug 10, 2015 2:44 am
by James_Ingram
I'm only using Jazz with Firefox, but its the same problem here.
All the best,
James

Re: Jazz-Plugin in Windows 10

Posted: Wed Sep 16, 2015 3:47 am
by James_Ingram
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

Re: Jazz-Plugin in Windows 10

Posted: Wed Sep 16, 2015 6:35 am
by sema
Oh thank you for the good news! But I've just bought a new Windows 10 laptop to debug the issue :)

Re: Jazz-Plugin in Windows 10

Posted: Thu Oct 08, 2015 2:39 pm
by Wayne McHugh
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)?

Re: Jazz-Plugin in Windows 10

Posted: Fri Oct 09, 2015 7:00 am
by sema
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.

Re: Jazz-Plugin in Windows 10

Posted: Thu Mar 01, 2018 2:45 pm
by abhunkin
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

Re: Jazz-Plugin in Windows 10

Posted: Fri Mar 02, 2018 10:27 am
by sema
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)

Re: Jazz-Plugin in Windows 10

Posted: Fri Mar 02, 2018 3:09 pm
by abhunkin
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.)

Re: Jazz-Plugin in Windows 10

Posted: Fri Mar 02, 2018 6:58 pm
by sema
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.

Re: Jazz-Plugin in Windows 10

Posted: Sat Mar 03, 2018 9:17 am
by abhunkin
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.

Re: Jazz-Plugin in Windows 10

Posted: Sun Mar 04, 2018 8:18 am
by sema
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...

Re: Jazz-Plugin in Windows 10

Posted: Sun Mar 04, 2018 1:16 pm
by sema

Re: Jazz-Plugin in Windows 10

Posted: Mon Mar 05, 2018 4:38 pm
by abhunkin
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.

Re: Jazz-Plugin in Windows 10

Posted: Sat Mar 10, 2018 6:19 pm
by sema
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.