leafo / sightreading.training

🎹 Sight reading training tool
http://sightreading.training
427 stars 73 forks source link

Firefox support #72

Open ddTech opened 4 years ago

ddTech commented 4 years ago

YES ! I've just installed the Jazz-MIDI-Plugin for my Firefox in Windows and my sightreading trainer seems to work flawlessly with it. :-)

https://addons.mozilla.org/de/firefox/user/6356237/

You will have to install their Plugin - which is a separate windows setup - (https://jazz-soft.net/download/Jazz-Plugin/)

as well as the two Firefox Plugins Jazz-MIDI and Web MIDI API https://addons.mozilla.org/de/firefox/addon/jazz-midi/ https://addons.mozilla.org/de/firefox/addon/web-midi-api/

I tried without the one or the other but they all seem to be needed.

With that set, You should see a yellow keyboard appear in Your url-bar once You load the sightreading page:

srt_FF_Jazz_Plugin01

The Jazz-Plugin is also available for IOS and Linux. So this might work as well. If so, You should be able to proceed as You would under chrome.

Hope this works for You as well

Regards

Frank

ddTech commented 4 years ago

On my Windows 10 computer the installation of the plugin failed. JazzControl.dll could not be registered. I found a post in their forum where the developer mentioned to ignore the error, as the dll is only needed for IE. However ignoring the error rolls back the setup...

So I've inspected the file and found that it requires Visual Studio 2017 C++ runtimes (for x86) which seemed to be missing on this machine.

After installing the vc_redist.x86.exe from the MS site: https://support.microsoft.com/de-de/help/2977003/the-latest-supported-visual-c-downloads

.. the setup ran through and now it's working on my Win10 machine as well. :-)

Frank

AmolosRicha1 commented 4 years ago

I can confirm that this app works also under Linux with use of firefox browser. Since I use it on a raspberry pi and display over vnc on an Ipad. I think I use two plugins MIDI Input Provider and Web Midi Api to make it work in firefox but I haven't managed to make it work just on the Ipad alone.

leafo commented 4 years ago

Thanks for discovering, I think adding a firefox section to the guide with a link to this extension would be a good idea.

ddTech commented 4 years ago

Hey, good You're back - Merry Christmas.

Thanks for discovering, I think adding a firefox section to the guide with a link to this extension would be a good idea.

definitely, good idea. Most users will not come around here and since I dscovered this, I'm using firefox only. It seems to be much more stable than chrome on my "Surface". With Chrome I had to kill its processes every few sessions, as it was not reacting anymore. FF is always open on this machine with lots of tabs and I had no issues so far.

The only adaption really necessary / useful is the small css fix I mentioned in the other thread (set notes width to 20%, i.e. same as height) in order to prevent note shaking on a miss to be overly active. But that's a one minute action. Another option would be to avoid misses at all :-)

Regards Frank

sethidden commented 1 year ago

I'm on Firefox Nightly 105.0a1 (2022-08-15) (64-bit) and setting dom.webmidi.gated to false then going to sightreading.training makes webmidi work normally (just press "Allow" on the webmidi premission prompt). No need for any extensions.

Any non-stable Firefox version (Nightly, Beta etc.) should work. WebMIDI is enabled only in early access versions in Firefox's Mercurial repo.

Looks like regular (non-nightly) Firefox 108 will have webmidi enabled by default. Not sure what's up with the extension though https://bugzilla.mozilla.org/show_bug.cgi?id=1795025

nbardiuk commented 1 year ago

Firefox 105.0.2 on Linux with the following toggles in about:config

The midi input and output work without extra addons