[PD] Question About [Mrpeach/Midifile] Status

Alexandre Torres Porres porres at gmail.com
Sun May 29 01:27:12 CEST 2022


Hi, I have a third MIDI reading/writing external besides cyclone/seq and
midifile, it's else/midi. It is based on cyclone/seq and has a different
design/functionalities. It's been in my to do list forever to also
incorporate the functionalities from midifile, like being able to write
different tracks and meta-data. I am finally doing this now! It should
still take a while though... this will also imply an overhaul into
else/midi. I guess now I'll actually base the external on [midifile] and
build on top of it different functionalities and design. I think midifile
is really hard to use and I'm making it much more convenient and more like
what else/midi currently is.

I will also make it export the midi sequence to a text file that can be
used in [text sequence] like [else/midi] does and I am also working on a
way to export to a text file that is suitable for my new [else/score]
object, which is esier to use and more musically convenient than [text
sequence].

I will post about it here soon when I have a better prototype, right after
I make tests on writing midi files. I haven't made the code available yet,
I started on it this week and in about a month I should have a new external
up! So far I have taken care of the reading part. As you can see, I have
big plans on providing what I consider to be finally "midi files done
right" for Pd. I basically rewrote midifile from scratch and was able to
remove more than 300 lines of code and still keep the same functionalities
and include new ones. Now one just needs to click on a toggle to start/stop
playing the midifile, no need to harvest metadata to find out a tick tempo
value to feed a metro object.

Cheers.

Em sáb., 28 de mai. de 2022 às 20:07, Alexandre Torres Porres <
porres at gmail.com> escreveu:

> Hi! Is anyone still supporting the MrPeach external, in particular,
> [mrpeach/midifile]? I've had no luck creating MIDI files, except for the
> most trivial of examples. If I try to play back the file, I just get a
> stream of error messages like the following: midifile: No running status on
> track 0 at 957 And if I try to play it back using [cyclone/seq], I get the
> following error messages: seq's warning: missing running status in midi
> file... skip to end of track seq's warning: no valid miditracks And if I
> try to play the file with Windows Media Player, I get the following error:
> Windows Media Player encountered a problem while playing the file. I'd like
> to use [mrpeach/midifile] rather than [cyclone/seq] because it seems to
> have more features (ability to specify track numbers, save meta-data,
> etc.). But if nobody is supporting it any more, maybe I'll just forget it.
> I've posted questions on the forum ( https://forum.pdpatchrepo.info/),
> but so far I haven't been able to solve the problem. Also, if anyone knows
> of more extensive examples of its use than what's in the help file, that
> might be helpful too. But so far, Google hasn't turned up any.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220528/894b39b1/attachment-0001.htm>


More information about the Pd-list mailing list