work in progress


Listen continuously for MIDI input from your keyboard and save any session you make into a .midi

A piano, a MIDI—USB adaptator and a Raspberry Pi in its case
Piano & Raspberry Pi

It often happens that I suddenly have an idea for a melody, and spontaneously play it on the piano in my room.
However, here I am, having spent 10 minutes of improvisation that will be lost: I did not take the time to start a recording!

But, fortunately, my piano has MIDI inputs and outputs, and I recently acquired a Raspberry Pi 4.

So, by connecting my piano to it, and thanks to this program, it is possible for me not to lose any idea. This project has the same motivations and is similar in its goal to ideaseed , but focuses more on purely musical ideas, rarely expressable by text.

Concretely, the program relies largely on arecordmidi , a Linux command line program which allows to list MIDI emitting devices, and to record from them.
My program continuously records .midi files. A file is saved with a configurable time interval, empty files are deleted and those with content are merged, then split again depending on the presence of silence in the file itself.

The help page showing the different command line options for _Pianoteq_
The _Pianoteq_ command line interface

Furthermore, the excellent physical-modeling-based software piano Pianoteq 7 provides a first-party command-line interface to render .midi files into playable audio files without any user interaction, so this is also used to give me high-quality previews of my recordings so that I can listen and sort through them later.

I plan to add an after-the-fact scoring system where I could decide if what I just improvised is worth keeping and, if it is, in which importance pile to stash it on, maybe through a physical user interface on the Raspberry Pi.

made with

the software, frameworks, libraries, materials and services I used to make this