[PD] midi file into [text sequence]?

Dan Wilcox danomatika at gmail.com
Sun Apr 23 10:16:05 CEST 2023


There is also the [c_seqplay] abstraction in rjlib which can playback txt files output from [seq] by Max or Cyclone's seq. It's pure vanilla, so once you have done the conversion, you don't need additional externals for playing. It was written before [text] and uses [textfile] so maybe useful to examine as a reference?

https://github.com/rjdj/rjlib <https://github.com/rjdj/rjlib>

That being said, I also use mrpeach midifile to work with MIDI directly. I have a wrapper, [c_midiplay], in my rc-bastractions which outputs to the internal messaging so you can receive events visa the traditional [notein], [ctlin], etc objects:

https://github.com/danomatika/rc-patches <https://github.com/danomatika/rc-patches>

> On Apr 22, 2023, at 12:00 PM, pd-list-request at lists.iem.at wrote:
> 
> Message: 1
> Date: Sat, 22 Apr 2023 07:46:28 +0200
> From: "Peter P." <peterparker at fastmail.com <mailto:peterparker at fastmail.com>>
> To: pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>
> Subject: [PD] midi file into [text sequence]?
> Message-ID: <20230422054628.vf2qzum6s2yxrbj2 at fastmail.com <mailto:20230422054628.vf2qzum6s2yxrbj2 at fastmail.com>>
> Content-Type: text/plain; charset=us-ascii
> 
> Hi,
> 
> starting to use [text sequence] instead of [qlist] more and more, I am
> wondering how difficult it might be to write an external script that
> converts .mid file into .txt usable by [textfile sequence]?
> 
> Has anyone attempted something similar already? What would be the
> easiest language and/or libraries to do this on DebianGNU Linux?
> 
> Thanks!
> Peter

--------
Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20230423/49241d97/attachment-0001.htm>


More information about the Pd-list mailing list