Page 1 of 1

JZZ-modules

PostPosted: Wed May 25, 2016 9:32 pm
by sema
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

Re: JZZ-modules

PostPosted: Wed Jun 15, 2016 7:56 pm
by hamishm
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).

Re: JZZ-modules

PostPosted: Wed Jun 15, 2016 9:55 pm
by hamishm
I would love to see a demo of MIDI file playing through JZZ.js, with MIDI.js backend!

Re: JZZ-modules

PostPosted: Thu Jun 16, 2016 12:14 pm
by sema
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...

Re: JZZ-modules

PostPosted: Thu Jun 16, 2016 7:05 pm
by sema
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 :)

Re: JZZ-modules

PostPosted: Mon Jun 20, 2016 9:58 pm
by sema
Please check the new SVG Piano demo at http://jazz-soft.net/demo/PianoStyle.html#svg
:)

Re: JZZ-modules

PostPosted: Tue Jun 21, 2016 8:18 pm
by hamishm
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.

Re: JZZ-modules

PostPosted: Tue Jun 21, 2016 8:54 pm
by hamishm
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

Re: JZZ-modules

PostPosted: Wed Jun 22, 2016 5:26 pm
by sema
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.
:)

Re: JZZ-modules

PostPosted: Wed Jun 22, 2016 11:07 pm
by hamishm
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!