[LAU] beatrix + eeepc + nanokontrol

oz oz at bluemonk.de
Sun May 31 19:27:34 EDT 2009

Very helpful, thanks a lot, Robin!
I bundled all I need to start beatrix in a little script, that I start from
an icon on my KDE-desktop now:
# beatrix.sh virtually connects my midi-devices with beatrix and starts it.


vkeybd --preset $PRESETS &
sleep 1

BEA=$(aconnect -o -l | awk '/Virtual Raw MIDI 1-3/{print $2."0"}')

KBD=$(aseqdump -l | awk '/UM-1SX/{print $1}')
NANOK=$(aseqdump -l | awk '/nanoKONTROL/{print $1}')
VKBD=$(aseqdump -l | awk '/Virtual Keyboard/{print $1}')

aconnect $KBD $BEA
aconnect $NANOK $BEA
aconnect $VKBD $BEA


There were two pitfalls I had to avoid. The ID of the Virtual Raw MIDI
interface depends on the connected usb-midi-devices at boottime. Only when
nothing is connected, it has the ID 1-3 as used in the script (else 3-3 for
example). So I boot the eeepc with with my keyboard and nanokontrol unplugged.
When KDE is up, I plug them in. One klick on my script-icon and I'm ready to

The second pitfall were the KDE system-sounds. They can result in '/dev/dsp
busy' when beatrix starts. Now I disabled all system-sounds in

I like your "Jackification" and will try it after I'm familiar with the
current release of beatrix. Hopefully the author of beatrix proofs your
concept. Beatrix is hot!

- oz

On Sun, 31 May 2009 20:47:30 +0200
Robin Gareus <robin at gareus.org> wrote:

> off-list: http://rg42.org/wiki/beatrix - Bend beatix' license on your
> own account and patch it with JACK and ALSA-midi support ;)
> What is your problem with `aconnect` ? Are you looking for sth like:
> #/bin/sh
> BEA=$(aconnect -o -l | awk '/Virtual Raw MIDI 1-3/{print $2."0"}')
> VKBD=$(aseqdump -l | awk '/Virtual Keyboard/{print $1}')
> aconnect $BEA $VKBD

More information about the Linux-audio-user mailing list