[PD] Read midi file into Pd

Berenger Recoules berenger.recoules at gmail.com
Fri Sep 9 11:51:37 CEST 2016


I would second Christof's thought, fyi ruby has a pretty good MIDI library
(eg midilib).

2016-09-09 10:54 GMT+02:00 Christof Ressi <christof.ressi at gmx.at>:

> personally, I'd first process the MIDI file with a scripting language and
> create a simple text file, containing only data which is meaningful to you
> and formatted in a way that is easily understood by Pd (e.g. lines of text
> separated by semicolons).
>
> > Gesendet: Freitag, 09. September 2016 um 10:36 Uhr
> > Von: "João Pais" <jmmmpais at gmail.com>
> > An: pd-list at lists.iem.at, "patrice colet" <colet.patrice at free.fr>
> > Betreff: Re: [PD] Read midi file into Pd
> >
> > > Another way would be about using [mrpeach/binfile] and parse the file
> > > with internals following MIDI reference we can find in following link
> > > for example:
> > >
> > > http://www.ccarh.org/courses/253/assignment/midifile/
> > >
> > > The first meta message should be obtained with [list split 23] where
> > > second byte gives the meta message number, the third byte gives message
> > > lenght and so on
> >
> > that could be an interesting way, but I get the output not as lists, but
> > as individual bins. Which means that somehow the bytes would have to be
> > wrapped to make those lists?
> >
> > Best,
> >
> > Joao
> >
> > _______________________________________________
> > Pd-list at lists.iem.at mailing list
> > UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
> >
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>



-- 
http://b2renger.github.io/
http://berengerrecoules.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160909/4420bcb4/attachment.html>


More information about the Pd-list mailing list