Virtual ports in JZZ

Asynchronous MIDI library for Node.js and HTML

Virtual ports in JZZ

Postby sema » Thu Aug 13, 2015 7:14 am

Starting from the current release, you can create your own virtual ports in JZZ.
Please check the example at https://github.com/jazz-soft/JZZ-modules - Open virtual MIDI-Out port implemented via MIDI.js package.

More examples and docs are coming soon...
sema
Site Admin
 
Posts: 310
Joined: Mon Oct 17, 2011 7:28 pm

Re: Virtual ports in JZZ

Postby jt419oh » Fri Aug 14, 2015 7:11 am

This is awesome. Nice job Sema!
jt419oh
 
Posts: 51
Joined: Sat Mar 16, 2013 8:49 am

Re: Virtual ports in JZZ

Postby letoribo » Wed Nov 18, 2015 6:21 am

http://letoribo.github.io/percussion-soundfonts/

these soundfonts created by converting from
*** GeneralUser GS v1.44 *** http://www.schristiancollins.com/generaluser.php
can be found in this repo:
https://github.com/letoribo/percussion-soundfonts
letoribo
 
Posts: 98
Joined: Fri Sep 13, 2013 8:25 am
Location: Odessa,Ukraine

Re: Virtual ports in JZZ

Postby zealot13 » Sun Aug 14, 2016 7:06 am

how to play drum or multi track look like http://jazz-soft.net/demo/PlayMidiFile.html (Play Midi File Example),
I try changed from jazz-plug to jazz-modules, i make JZZ.synth.MIDIjs.js and use MIDI file to have piano and drum track and then play only piano track,
if use jazz-plugin my midi file can play piano and drum,
who have any idea can help
jzz.js(0.3.6)
zealot13
 
Posts: 2
Joined: Wed Jul 20, 2016 5:38 am

Re: Virtual ports in JZZ

Postby zealot13 » Sun Aug 14, 2016 7:56 am

I use JZZ.Midi.js, JZZ.MidiFile.js for read midi file from ReadFile Example and i play after read midi ,
var port = JZZ().openMidiOut(0).or(function(){
alert('Cannot open MIDI port!');
});

function onPlay(e) {
if (e.midi instanceof JZZ_.Midi) {

port.send(e.midi.array());

}
}

like this,
piano track can play but drum can't
zealot13
 
Posts: 2
Joined: Wed Jul 20, 2016 5:38 am

Re: Virtual ports in JZZ

Postby sema » Tue Aug 16, 2016 2:02 pm

It's difficult to tell without seeing the whole code. Is you code anywhere online?
sema
Site Admin
 
Posts: 310
Joined: Mon Oct 17, 2011 7:28 pm


Return to JZZ.js

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron