Re: A midifile player for pd that can scratch ?
Dan Wilcox <[email protected]>
| Newsgroups | gmane.comp.multimedia.puredata.general |
|---|---|
| Message-ID | <[email protected]> |
> Am Donnerstag, 8. August 2024, 20:00:15 CEST schrieb João Pais: >> how about a patch that reads the midifile and stores the data, which you >> then play as you wish? for an instalation I'm working on, I prepared a >> patch that reads a midifile with +50K events, puts them into a data >> structures "score", and then the info can be used for playback. It's not >> "one object", but it does what you wish. >> > > Thanks, using data structures is a nice idea. Somehow once (15+ years ago) > used them but where slow doing tracing objects, but maybe the new > implementation is more usable. > > The problem is how to handle noteon/off in reverse, there should be different > modes. So mabe I store it in reverse order in another text. Maybe change the custom format to store on/off pairs with timestamps on both instead of MIDI-style delta on+duration? It would take more space but make reverse playback easier sine you don't have to seek backwards as much. For something more complex like this, I feel it's easier to build a custom sequencer with something like pdlua. This reminds me of wanting to add a way to arbitrarily seek forward to a time with [text]... -------- Dan Wilcox danomatika.com <http://danomatika.com/> robotcowboy.com <http://robotcowboy.com/> --- Pd-list - [email protected] https://lists.iem.at/hyperkitty/list/[email protected]/message/NE2ZEEZJMUXUXTKC2XLFYXUF2PR23YR3/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/