Difference between revisions of "Audio Through USB"

From MOD Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
== Using JACK2 net ==
 
== Using JACK2 net ==
 +
 +
NOTE: This requires v1.4 or later.
  
 
first connect the mod via usb cable to the PC.
 
first connect the mod via usb cable to the PC.
 
start JACK2 on your PC.
 
start JACK2 on your PC.
 
note down the IP assigned to your PC by the MOD.
 
on linux this can be done by using:
 
<source lang="bash">
 
ifconfig -a | grep "192.168.51." | awk 'sub("addr:","")' | awk '{print $2}'
 
</source>
 
 
note this value, we'll be referencing it as 'XYZ'.
 
  
 
make sure to open port 19000 on your linux firewall. if you have ufw you can use:
 
make sure to open port 19000 on your linux firewall. if you have ufw you can use:
Line 17: Line 11:
 
</source>
 
</source>
  
With that setup, load jack2 netmanager client, by running on your PC:
+
ssh into the mod, and run:
<source lang="bash">
 
jack_load netmanager -i "-a 192.168.51.XYZ"
 
</source>
 
 
 
then ssh into the mod, and run:
 
 
<source lang="bash">
 
<source lang="bash">
systemctl stop jack2 mod-host mod-peakmeter ttymidi mod-ui
+
touch /data/enable-netmanager
jackd -R -P 80 -d net -a 192.168.51.XYZ -C 2 -P 2 -i 0 -o 0 -l 9 -n mod-duo
+
systemctl start jack-netmanager
 
</source>
 
</source>
 +
NOTE: You only need to run this command once.
 +
The next the Duo boots, netmanager will be loaded by default.
 +
Delete the '/data/enable-netmanager' file inside the Duo to remove this auto-start feature.
  
 
open another ssh window, and run:
 
open another ssh window, and run:

Revision as of 08:09, 10 April 2017

Using JACK2 net

NOTE: This requires v1.4 or later.

first connect the mod via usb cable to the PC. start JACK2 on your PC.

make sure to open port 19000 on your linux firewall. if you have ufw you can use:

sudo ufw allow 19000

ssh into the mod, and run:

touch /data/enable-netmanager
systemctl start jack-netmanager

NOTE: You only need to run this command once. The next the Duo boots, netmanager will be loaded by default. Delete the '/data/enable-netmanager' file inside the Duo to remove this auto-start feature.

open another ssh window, and run:

jack_load mod-host
jack_load mod-peakmeter
jack_load ttymidi -i "/dev/ttyS2"
mod-ui.run