<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I agree that we really need a way to read/write binary data. I
have already thought about doing a PR to add such functionality to
graphical arrays. It would be as simple as adding a flag to the
[read( and [write( methods.</p>
<p>In theory, it would be possible then to implement a MIDI file
reader/writer as a Pd abstraction. But to be honest, I think only
a masochist would do that :-)</p>
<p>On the other hand, mrpeach's [midifile] has always served me well
and it's one of those things that don't really get obsolete. So I
don't think that Pd really needs built-in MIDI file support. After
all, even a kitchen-sink language like Supercollider doesn't come
with built-in MIDI file support. </p>
<p>Christof<br>
</p>
<div class="moz-cite-prefix">On 26.10.2020 11:11, Roman Haefeli
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:78f015991166092d3f7766459b816deed36cb692.camel@gmail.com">
<pre class="moz-quote-pre" wrap="">On Mon, 2020-10-26 at 03:32 -0300, Alexandre Torres Porres wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">It feels to me Vanilla should be able to read/write MIDI files, but I
wonder how. Any ideas on how this could work in a "vanilla way"
(light and simple)?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
To use Miller's words from another thread, I think reading/writing MIDI
files would be an application for which the infrastructure is still
missing: reading from/writing to binary files (unless I missed some
recent development).
Both would be cool, accessing them from disk directly and load/dump
them to/from tables.
Roman
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
</body>
</html>