Difference between revisions of "Audio Through USB"

From MOD Wiki
Jump to navigation Jump to search
Line 25: Line 25:
 
<source lang="bash">
 
<source lang="bash">
 
systemctl stop jack2 mod-host mod-peakmeter ttymidi mod-ui
 
systemctl stop jack2 mod-host mod-peakmeter ttymidi mod-ui
jackd -R -P 80 -d net -a 192.168.51.XYZ -C 2 -P 2 -i 1 -o 1 -l 9 -n mod-duo
+
jackd -R -P 80 -d net -a 192.168.51.XYZ -C 2 -P 2 -i 0 -o 0 -l 9 -n mod-duo
 
</source>
 
</source>
  

Revision as of 11:51, 10 November 2016

Using JACK2 net

first connect the mod via usb cable to the 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:

ifconfig usb0 | awk 'sub("addr:","")' | awk '{print $2}'

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:

sudo ufw allow 19000

With that setup, load jack2 netmanager client, by running on your PC:

jack_load netmanager -i "-a 192.168.51.XYZ"

then ssh into the mod, and run:

systemctl stop jack2 mod-host mod-peakmeter ttymidi mod-ui
jackd -R -P 80 -d net -a 192.168.51.XYZ -C 2 -P 2 -i 0 -o 0 -l 9 -n mod-duo

open another ssh window, and run:

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