Linux: no sound - solution

Asynchronous MIDI library for Node.js and HTML

Linux: no sound - solution

Postby sema » Sat Jul 16, 2016 12:43 pm

I have just spotted an interesting problem on my Ubuntu:
the default MIDI-Out port is a dummy Midi Through Port-0 that produces no sound.
To see the list of ports, run aconnect -o

You can disable the dummy port by running sudo rmmod snd_seq_dummy
or/and filter it out in JavaScript with a RegEx:
Code: Select all
var out = JZZ().openMidiOut(/^((?!Midi Through).)*$/i);
sema
Site Admin
 
Posts: 316
Joined: Mon Oct 17, 2011 7:28 pm

Return to JZZ.js

Who is online

Users browsing this forum: No registered users and 1 guest

cron