23 lines
464 B
Bash
Executable File
23 lines
464 B
Bash
Executable File
#!/bin/bash
|
|
|
|
fluidsynth --server \
|
|
--no-shell \
|
|
--audio-driver=pulseaudio \
|
|
--gain=1.0 \
|
|
--reverb=0.42 \
|
|
--chorus=0.42 \
|
|
/usr/share/sounds/sf2/FluidR3_GM.sf2 &>/tmp/fluidsynth.out &
|
|
|
|
sleep 2
|
|
|
|
vmpk &
|
|
|
|
sleep 2
|
|
|
|
vmpkport=$(aconnect -i |grep "client.*VMPK Output" | cut -d ' ' -f 2)0
|
|
synthport=$(aconnect -i |grep "FLUID Synth" | cut -d ' ' -f 2)0
|
|
|
|
echo "vmpk on ${vmpkport} & synth on ${synthport}"
|
|
|
|
|