[PD] Read midi file into Pd

Christof Ressi christof.ressi at gmx.at
Fri Sep 9 10:54:17 CEST 2016


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
>



More information about the Pd-list mailing list