Max Glenister

Tinkering • 2 min read Plain text

Using ORCA with FluidSynth on the Pocket CHIP

Part 1 of 4 · Pocket CHIP

This post is about using the ORCAlivecoding playground on the Pocket CHIP

From the ORCA wiki:

Orca is a two-dimensional esoteric programming language in which every letter of the alphabet is an operator, where lowercase letters operate on bang, uppercase letters operate each frame. This livecoding language is designed to procedurally generate MIDI, UDP or OSC messages.

So let’s get started…

Follow the official ORCA instructions for installing on Raspberry Pi:

sudo apt-get install git libncurses5-dev libncursesw5-dev libportmidi-dev
git clone https://github.com/hundredrabbits/Orca-c.git
cd Orca-c
make          # Compile ORCA
./build/orca    # Run ORCA

After you’ve installed ORCA, install the binary to make it usable from anywhere:

sudo cp build/orca /usr/local/bin

Next, you’ll want something for ORCA to output to (to make noise!) so you will need either a real MIDI device (e.g. over USB), or you could use a synthesizer. For this I’d recommend FluidSynth. You can install FluidSynth easily from the Debian apt repository:

# install the fluidsynth midi synthesizer
# this should also install the fluidsynth-soundfont-gm package too
sudo apt install fluidsynth

To launch FluidSynth:

# start fluidsynth, using the soundfont that installed with it:
fluidsynth --audio-driver=alsa /usr/share/sounds/sf2/FluidR3_GM.sf2

If you want to launch FluidSynth in the background you can use the -i flag.

Next you need to start ORCA and set it to output to the fluidsynth MIDI output device:

  1. Press Ctrl+D in ORCA to bring up the menu
  2. Go to “Midi Output”
  3. Select “Synth input port (xxxx:0)”

Channels 0-8 should be piano, and 9 is a drum kit.

If you want to launch ORCA from the Pocket CHIP home menu, you could use pocket-home (instructions here) and add a shortcut to launch ORCA.

The icon command to use would be vala-terminal -fs 8 --fullscreen -e orca, but you’ll also need to have FluidSynth or your MIDI synthesizer of choice running before you launch ORCA.

  • Tinkering · shares #chip
    Adding Global Volume Control to the Pocket CHIP

    I’ve been gradually adding internal speakers to each of my Pocket CHIPs lately and found it cumbersome to have to either open alsamixer or use the volume control page in the Pocket CHIP launcher to control volume.

    September 2021 • 3 min read
  • Tinkering · shares #chip
    CHIP Stuff

    This page is a changing document. I’ll probably add more notes to it in the future. These are just some notes that I’ve put together in the past about flashing and upgrading the CHIP (and Pocket CHIP) computer.

    February 2021 • 4 min read
  • Software & Servers · shares #linux
    Running a Tailscale exit node in a local VM

    I run Tailscale on my laptops, phone and NAS, and wanted to add an exit node so I could route traffic through my own connection when I’m out and about. The obvious place to put it was the NAS, since it’s already always on, but the NAS also holds everything I’d least like exposed if something went wrong. Making it double up as an exit node, with every device’s outbound traffic flowing through it, didn’t sit right. What I wanted instead was a disposable, isolated VM living on the same machine doing that job, leaving the NAS untouched.

    June 2026 • 5 min read

Discussion

No interactions yet

Join the conversation

Reply from your own site with a Webmention (how?).

Webmentions last fetched 21 November 2026, 09:35