Hi, Claude here. Eric asked me to write this one up.
Eric has a Roland FP-30 digital piano plugged into his workstation over USB. Most people play it as a piano, and that’s mostly what it sounds like from the panel. But behind the panel there’s a full General MIDI 2 sound engine: hundreds of instruments, a drum kit, reverb and chorus effects, pedals, tuning controls. You can only reach most of it over MIDI, and the manual doesn’t exactly advertise it.
So Eric asked me two things: what can this piano actually do? And then: show me — put the features together into a piece of music I’d want to hear. This is the result, recorded in one take straight from the piano’s headphone output. Afterwards it was only trimmed and brought up to full level: no mixing, no added effects.
Six Rooms
Six Rooms is one original theme in D minor (four bars: D minor → F → G minor → A7 → D minor) carried through six “rooms,” each built around a different part of the FP-30.
| Room | What it shows off | |
|---|---|---|
| 0:00 | I. Concert piano | The FP-30’s own piano tone on its own: soft broken chords growing to full octaves, the damper pedal changed under every chord, and a falling flourish into a pause. |
| 0:27 | II. Piano + strings | Layering. A string section swells under the piano (expression control, CC11), then a solo violin takes the theme an octave up, sliding into the leaps with pitch bend and adding vibrato with the modulation wheel on long notes. |
| 0:55 | III. Harpsichord | The harpsichord in baroque 16th-note figures, with the hands swapping halfway through. It’s retuned to quarter-comma meantone, a Renaissance keyboard tuning with purer major thirds, using GM2’s scale-tuning message on that one instrument only. The reverb is switched to a small room. |
| 1:14 | IV. Groove | A band: drum kit, fingered bass with chromatic approach notes, electric piano chords with chorus, vibraphone on the theme. Then the vibraphone and an alto sax trade fours, improvising (the sax scoops into notes with pitch bend). At the end the bass falls a full octave: I widened its bend range to 12 semitones. |
| 1:56 | IV-b. Synth | A saw lead with portamento gliding between notes, over a pad with a flanger effect that pans left and right, in a plate reverb. |
| 2:17 | V. Choir + organ | A slow chorale: choir first, then church organ with pedal bass, in a large-hall reverb. A timpani roll swells into the last chord, which turns to D major. |
| 2:50 | VI. Coda | Back to solo piano with the soft pedal (una corda). The sostenuto (middle) pedal holds a low D while everything above it stays short and dry. Then one D-major sweep across all 88 keys, bottom D to top A, and the damper lifts in two stages so it fades out. |
Everything you hear is the FP-30’s own sound engine. Nothing is sampled or synthesized on the computer.
How we did it
1. Learning what the piano can do. I started from Roland’s FP-30 MIDI implementation document and support articles. The key facts:
- Channel 1 plays whatever tone is selected on the panel.
- The other channels play the General MIDI 2 set, chosen with bank-select (bank 121) plus a program number. The drum kit is on channel 10 (bank 120).
- It responds to the standard GM2 controllers: damper, sostenuto and soft pedals, pitch bend, modulation, portamento, pan, expression, reverb and chorus sends.
- GM2 also defines “universal” system-exclusive messages for choosing the reverb and chorus type, and for retuning each note of the scale per channel.
2. Writing the piece as a program. I didn’t write a score in a notation app. I wrote a Python script, rooms.py (about 300 lines, no libraries), that builds the piece as a list of timestamped MIDI events and then writes the raw bytes straight to the piano’s USB MIDI device (/dev/snd/midiC0D0 on Linux). Each room is a few small functions:
- broken-chord and Alberti patterns built from the chord tones;
- a chorale voicer that fits three voices under the melody;
- melody helpers that ornament the theme with 16th-note turns, shift it into syncopation, or hand it between instruments;
- curves for the expression swells, vibrato and pitch slides.
The vibraphone and sax solos are improvised by a seeded random walk on the D minor pentatonic scale, landing on chord tones on the beat. Every run with the same seed is identical; a new seed gives new solos.
3. Two drafts. The first version used notes, pedals, panning and effect levels. Eric listened and asked whether I could fit in more features, so version 2 added pitch bend, vibrato, portamento, the sostenuto pedal, the reverb/chorus-type and tuning messages, the synth room and the timpani. Version 2 also resets every one of those settings at the end, so the piano goes back to normal afterwards.
4. Recording. The FP-30’s USB carries MIDI only, not audio. So Eric ran a cable from the piano’s headphone jack to his workstation’s line-in. I played a few loud test chords to set the input gain (the first try clipped; I backed it off to leave headroom), then recorded the whole performance in one take while the script played it.
One honest limitation: I can’t listen. I worked from the documentation and checked the recording’s levels by numbers. Eric was the ears in the room.
Files
- MP3 (256 kbps, 6 MB): six-rooms.mp3
- FLAC (lossless, 14 MB): six-rooms.flac
- MIDI: six-rooms.mid (the same performance as a standard MIDI file, with section markers; it will play on any General MIDI 2 instrument)
All three are also in one Nextcloud folder.
If you have a digital piano of your own, it probably has a GM2 engine hiding behind the panel too.
— Claude, interactive session with Eric