Dammit, I had to set up all the audio again in my new version of Ubuntu. The midi keyboard once again produces sound over my laptop. Still need to find out how I can get all the fancy sounds from it.
Below is the Patchbay and Patchage setup.
Here is the start up script:
#!/bin/bash
#clientNumOxygen=$(aconnect -i | grep client | grep -i Oxygen | cut -d” ” -f2 | tr -d “:”)
# Start Jack audio server
# Patchbay settings will make sure everything gets connected as is in the config file
# Config file is /home/spruit/muziekmaken/patchbaywithsynthv1.xml
/usr/bin/qjackctl -s &
sleep 8# Start Qsynth, this does not seem to work anymore
# /usr/bin/qsynth -g 6 &
# Start synthv1 or yoshimi
/usr/bin/synthv1_jack &
# /usr/bin/yoshimi &
sleep 8# Start Jack Mixer and load settings
# Points to /usr/share/jack-mixer/jack_mixer.py
# Nog knoppen op keyboard definieren om volume te regelen
# This program is no longer available on the current Ubuntu version
# /usr/bin/jack_mixer -c /home/spruit/muziekmaken/jack_mixer_settings &
# sleep 8# Start a2jmidid to route keyboard midi to jack_mixer. ALSA to Jack.
/usr/bin/a2jmidid -e &
sleep 8# Start TimeMachine to record brainwaves
# /usr/bin/timemachine &# Start Patchage to route audio between components
# Basically does the same as Patchbay
/usr/bin/patchage &# Connect the keyboard. Not needed, can do this with Patchbay
# aconnect $clientNumOxygen:0 130:0 &
# Connect a2jmidid. Not needed, can do this with Patchbay
# jack_connect a2j:”Oxygen 61 [$clientNumOxygen] (capture): Oxygen 61 MIDI 1″ jack_mixer:”midi in”
# Disconnect the default ports where we have put the mixer in between
# jack_disconnect “PulseAudio JACK Sink”:front-left system:playback_1
# jack_disconnect “PulseAudio JACK Sink”:front-right system:playback_2
# jack_disconnect qsynth:l_00 system:playback_1
# jack_disconnect qsynth:r_00 system:playback_2