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, [email protected] wrote: > > Message: 1 > Date: Sat, 22 Apr 2023 07:46:28 +0200 > From: "Peter P." <[email protected] <mailto:[email protected]>> > To: [email protected] <mailto:[email protected]> > Subject: [PD] midi file into [text sequence]? > Message-ID: <[email protected] > <mailto:[email protected]>> > 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/>
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
