[PD] Writing down a midi file in PD

Frank Barknecht fbar at footils.org
Thu Oct 4 20:20:53 CEST 2007


Hallo,
Ice Cube hat gesagt: // Ice Cube wrote:

> I?m making a little PD project that generates algorithmic music
> using midi objects like noteout and makenote. My problem is that I
> need to record all this midi info being generated by the PD (like
> pitch of the notes and it's durations and etc) in a midi file, so I
> can handle this info later in another program (like Finale). I have
> some experience in MAX/MSP, and in this program, it's very simple to
> do that: just use an object called "SEQ". This object writes down a
> complete midi file with all midi information being produced in the
> project. I've spend many hours looking around PD trying to find out
> an object that suit my needs, but without sucess.

There are two externals that you could use: [seq] from the Cyclone
library is a clone of Max's [seq]. I don't think it's finished, but it
may already do what you want. Then there's [midifile] by Martin Peach,
which does about the same. I believe both are part of Pd-extended, if
you cannot compile them.

Another way would be to use an different midi recorder software. Maybe
even Finale can do it, otherwise there should be some free sequencers
for your platform somewhere. The only thing needed would be a virtual
midi connection from Pd to that sequencer. I only know how this is
done on Linux, where using Pd's ALSA sequencer interface is the
easiest way. Just connect some sequencer or recorder like MusE,
rosegarden or some alsa-tool like "arecordmidi" to Pd with qjackctl
and start recording. On OS-X or Windows similar things should be
possible as well, if not, boot http://puredyne.goto10.org ;)

Ciao
-- 
 Frank Barknecht                                     _ ______footils.org__




More information about the Pd-list mailing list