Created
June 29, 2014 16:02
-
-
Save vinc/2e69d194cad80240149a to your computer and use it in GitHub Desktop.
MIDI USB keyboard to USB DAC via jack and fluidsynth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /proc/asound/cards | |
# aconnect -i | |
# aconnect -o | |
rate="96000" | |
soundfont="piano.sf2" | |
killall fluidsynth | |
jack_control stop | |
sleep 5 | |
jack_control start | |
jack_control eps realtime true | |
jack_control dps device hw:Audio | |
jack_control dps rate $rate | |
jack_control dps nperiods 2 | |
jack_control dps period 128 | |
sleep 5 | |
fluidsynth -ijs -a jack -g 1 -r $rate $soundfont & | |
sleep 5 | |
aconnect "USB Keystation 88es" "FLUID Synth" | |
sleep 5 | |
sudo schedtool -R -p 20 $(pidof jackdbus) | |
sudo schedtool -R -p 20 $(pidof fluidsynth) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment