JZZ-modules

Asynchronous MIDI library for Node.js and HTML

JZZ-modules

Postby sema » Wed May 25, 2016 9:32 pm

I've just fixed a Virtual Piano problem seen in Safari 5.1.7 (it didn't support some mouse events)
Please get the latest version at https://github.com/jazz-soft/JZZ-modules
sema
Site Admin
 
Posts: 321
Joined: Mon Oct 17, 2011 7:28 pm

Re: JZZ-modules

Postby hamishm » Wed Jun 15, 2016 7:56 pm

Do you use MIDI.js unaltered or patched?

For me the MIDI.js examples (Basic even) don't make any sound on iOS in Safari. Your synthMIDIjs demo does. I would like to understand why there is a difference. Although, the sound quality is not good and note off events don't seem to be processed (the sound continues even after the key is released).
hamishm
 
Posts: 5
Joined: Mon Jun 13, 2016 11:15 pm

Re: JZZ-modules

Postby hamishm » Wed Jun 15, 2016 9:55 pm

I would love to see a demo of MIDI file playing through JZZ.js, with MIDI.js backend!
hamishm
 
Posts: 5
Joined: Mon Jun 13, 2016 11:15 pm

Re: JZZ-modules

Postby sema » Thu Jun 16, 2016 12:14 pm

The iOS secret is explained here: http://jazz-soft.net/doc/JZZ/util.html#iosSound
I need to do some changes in the MIDI-file script before I can post the demo. Hope that will not take me too long...
sema
Site Admin
 
Posts: 321
Joined: Mon Oct 17, 2011 7:28 pm

Re: JZZ-modules

Postby sema » Thu Jun 16, 2016 7:05 pm

I have just uploaded a doc and demo for a new JZZ.input.Knobs module: http://jazz-soft.net/doc/JZZ/inputKnobs.html
Hope you can use it in your projects :)
sema
Site Admin
 
Posts: 321
Joined: Mon Oct 17, 2011 7:28 pm

Re: JZZ-modules

Postby sema » Mon Jun 20, 2016 9:58 pm

Please check the new SVG Piano demo at http://jazz-soft.net/demo/PianoStyle.html#svg
:)
sema
Site Admin
 
Posts: 321
Joined: Mon Oct 17, 2011 7:28 pm

Re: JZZ-modules

Postby hamishm » Tue Jun 21, 2016 8:18 pm

sema wrote:The iOS secret is explained here: http://jazz-soft.net/doc/JZZ/util.html#iosSound
I need to do some changes in the MIDI-file script before I can post the demo. Hope that will not take me too long...

OK thanks. I have read elsewhere that you can only play audio after a user click/touch event. I tried to adapt the MIDI.js demos to play on click. It works for playing an individual note, but when playing a sequence the sound is garbled, static and so on. That is why I am interested in seeing a full sequence played on JZZ with the MIDI.js module. (I need a proper soundfont synth, waveform generator is probably not enough for my application).

The synth demo at websynths.com also plays garbled on iOS 9, just like the MIDI.js example.
hamishm
 
Posts: 5
Joined: Mon Jun 13, 2016 11:15 pm

Re: JZZ-modules

Postby hamishm » Tue Jun 21, 2016 8:54 pm

Hi,
I tried your JZZ.synth.MIDIjs demo on iOS: https://jazz-soft.github.io/modules/midijs/

It plays two notes then I hear no more (I hear all four on my desktop and android). The JZZ.synth.Timbre demos don't make any sound for me either.

Thanks
hamishm
 
Posts: 5
Joined: Mon Jun 13, 2016 11:15 pm

Re: JZZ-modules

Postby sema » Wed Jun 22, 2016 5:26 pm

MIDI.js is very resource-intensive, I'd not recommend it for web application. The demo is mostly how to adopt third-party libraries into JZZ framework.
Timbre does not seem to work on iOS either.
I'm afraid JZZ.synth.OSC is the only option at the moment. I'm planning to release a new version with more pleasant sound in the nearest future.
:)
sema
Site Admin
 
Posts: 321
Joined: Mon Oct 17, 2011 7:28 pm

Re: JZZ-modules

Postby hamishm » Wed Jun 22, 2016 11:07 pm

sema wrote:MIDI.js is very resource-intensive, I'd not recommend it for web application.


Yes I tracked down all the problems with static due to excessive CPU use when you first start playing. It creates hundreds of audio nodes in advance. If limited to a few seconds worth it plays ok.

sema wrote:The demo is mostly how to adopt third-party libraries into JZZ framework.
Timbre does not seem to work on iOS either.
I'm afraid JZZ.synth.OSC is the only option at the moment. I'm planning to release a new version with more pleasant sound in the nearest future.
:)

Thanks!
hamishm
 
Posts: 5
Joined: Mon Jun 13, 2016 11:15 pm


Return to JZZ.js

Who is online

Users browsing this forum: No registered users and 0 guests

cron