Difference between revisions of "Audio Through USB"

From MOD Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
on linux this can be done by using:
 
on linux this can be done by using:
 
<source lang="bash">
 
<source lang="bash">
ifconfig usb0 | awk 'sub("addr:","")' | awk '{print $2}'
+
ifconfig -a | grep "192.168.51." | awk 'sub("addr:","")' | awk '{print $2}'
 
</source>
 
</source>
  

Revision as of 11:58, 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 -a | grep "192.168.51." | 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