Raspberry Pi Synth – Yoshimi & ZynAddSubFX – Part 4

Now we can install the awesome Linux Synthesizer Yoshimi which is based on the ZynAddSubFX program. Install Yoshimi using:

sudo apt-get install yoshimi

Optional, you can use a2jmidid for MIDI routing.
sudo apt-get install a2jmidid

To play the synth, we’ll need a MIDI controller. In this case I’m using a Novation Launchkey 61
IMG_5227
Picture of the Pi with the Launchkey MIDI controller.

Once plugged in, it’s a good idea to test that the Raspberry Pi can detect and see the MIDI data coming out of the unit.

run
$ aseqdump -l
$ aseqdump -p20

and start pressing the keys on the keyboard you should see some output

miditest

It’s now time to start up Yoshimi


$ jackd -dalsa -n4 -r44100 -p512 &
$ yoshimi -K -a &

Now we need to connect the Launchkey MIDI output to the Yoshimi MIDI Input

type the following to find out the names and numbers of the MIDI ports


$ aconnect -i
$ aconnect -o
$ aconnect 20:0 129:0

aconnect

You should now be able to hear sounds coming out of the Yoshimi Synth when you play on the MIDI keys!

This in effect concludes this Yoshimi Raspberry Pi Synth tutorial. Hope you enjoyed it! Let me know how it goes!

6 thoughts on “Raspberry Pi Synth – Yoshimi & ZynAddSubFX – Part 4

  1. Hi AdrainGin.
    This looks like a very promising tutorial.
    Tried my best and went till “jackd -dalsa -n4 -r44100 -p512 &” on a Raspberry Pi Model B; OS: raspbmc. From there things went opaque:

    pi@raspbmc:~$ sudo jackd -dalsa -n4 -r44100 -p512 &
    [1] 2686
    pi@raspbmc:~$ jackdmp 1.9.9
    Copyright 2001-2005 Paul Davis and others.
    Copyright 2004-2012 Grame.
    jackdmp comes with ABSOLUTELY NO WARRANTY
    This is free software, and you are welcome to redistribute it
    under certain conditions; see the file COPYING for details
    JACK server starting in realtime mode with priority 10
    sudo yoshimi -K -a &
    [2] 2689
    [1] Exit 135 sudo jackd -dalsa -n4 -r44100 -p512
    pi@raspbmc:~$ FATAL: cannot locate cpu MHz in /proc/cpuinfo

    ^C
    [2]+ Exit 1 sudo yoshimi -K -a
    pi@raspbmc:~$ cat /proc/cpuinfo
    processor : 0
    model name : ARMv6-compatible processor rev 7 (v6l)
    Features : swp half thumb fastmult vfp edsp java tls
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x0
    CPU part : 0xb76
    CPU revision : 7

    Hardware : BCM2708
    Revision : 000d
    Serial : 00000000c3eeb333
    pi@raspbmc:~$

    …Nevertheless: I enjoyed this a lot. Thanks for it.
    Martin

  2. Have you tried this on the new pi? Also the latest yosh will have an api so it shouldnt be too hard to add the new touchscreen in to help control!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s