Topic: Kawai VPC1 + Odriod H2 = Perfect!
Hey everyone,
I created a new PianoTeq / Midi-Keyboard set-up with a new mini/onboard computer "Odroid H2". I couldn't be happier. I found a lot of posts with setups including Raspberry Pis, but couldn't find a post for the more beefy Odroid H2. I'd like to share:
Kawai VPC1 + PianoTeq 6 Stage
Hardware:
- Odroid H2 (+ Samsung 970 M.2 NVM drive + Crucial 2x8GB RAM)
RAM and hard-drive size are bit excessive and can be chosen smaller.
- Focusrite Scarlett 2i2 USB Audio interface
Not strictly needed for playing only with headphones, for which the Odroid has a direct output. However, the physical dial for headphone volume adjustment is useful.
I set everything up so that I only have to start the Odroid H2 with a press on the power button. The Odroid boots up into Ubuntu 18.04 (10-20) seconds, and using a script, automatically starts PianoTeq. Upon a boot-up a timer is started that automatically shuts down the device after 1 hour. This way I do not need Monitor/Keyboard/Mouse dangling around the Odroid for my normal practice. The only function for which I routinely have to use the GUI interface is the metronome, which I mapped (using PianoTeq) to the unused (by me) Soft pedal. Not having direct input to PianoTeq/Ubuntu, I adjust headphone volume with the audio interface, but it could also be mapped to midi control afaik.
The installation process for Ubuntu 18.04 was smooth and eventless, as if it were a normal laptop. I followed the PianoTeq readme, and gave the default user all the audio privileges it needs. I did not adjust the CPU throttling governor, and left it on 'ondemand', which seemed sufficient.
PianoTeq 6 is running with 192 samples (4.4ms delay), at 44kHz in 48 tone polyphony, and I never hear any crackling. The heat sink's temperature does not seem to rise above 35C. The Odroid H2 seems capable of handling this perfectly fine without effort.
Some more details: The Odroid currently has only three cables attached to it.
- Power
- USB Midi connection to Kawai VPC1. The Kawai VPC1 gets it's power through there, and is not itself powered. I found that the Odroid provides enough power for the VPC1, but only (and here's the weird part:) through the upper right USB 3.0 port.
- USB connection to Audio Interface. I found that it is necessary to attach the Audio Interface to a separate USB bus (here I use the upper USB 2.0 port, on left), because when it's on the same slot as the VPC1 I heard some delay. The power for the Audio interface is also provided by the Odroid H2.
I uploaded a picture of the Odroid with 3D printed case as my avatar.
PianoTeq is started once the XServer (Gnome) is up and running with
<CODE>
sudo shutdown -P +65
nice -n -10 ./my_pianoteq_binary_location --multicore max
</CODE>
Note 1: that I do not use a headless setup, because the metronome wouldn't work with it. However, I do not have a monitor attached. It seems that I have to have the XServer + PianoTeq GUI running (even if unused) to use the metronome.
Note 2: The first command will boot down the machine automatically after 65 minutes.
I am very happy with this setup, and can fully recommend it.
Question?
I am happy to walk someone through that setup if they want to copy it.