<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
<div>Hi Joćo ,</div>
<div><br>
</div>
<div>You can also play the midi file with an external sequencer and pass it to Pd via a cable or a “virtual cable” and receive with the standard midi objects, [midiin], [notein], [ctlin], etc.</div>
<div><br>
</div>
<div>With 1 midi cable you can connect “midi out” to “midi in” and config Pd to just use “midi in” and nothing to “midi out”, on the seq disable “midi in” so both applications don't fight each other to have access to the midi driver.</div>
<div><br>
</div>
<div>Or if you are on Windows you can pass midi from one app to another with “loopMIDI”:</div>
<div><br>
</div>
<div><a href="http://www.tobias-erichsen.de/software/loopmidi.html" id="LPlnk467945">http://www.tobias-erichsen.de/software/loopmidi.html</a></div>
<div id="LPBorder_GT_14736406209800.781221507740159" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14736406209740.2513902313901113" cellspacing="0" style="width: 90%; position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200); background-color: rgb(255, 255, 255);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_14736406209760.15528698368683513" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14736406209770.5167531480238627"></div>
<div id="LPTitle_14736406209770.8208408995337382" style="top: 0px; color: rgb(0, 75, 139); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14736406209780.5505275899277486" href="http://www.tobias-erichsen.de/software/loopmidi.html" target="_blank" style="text-decoration: none;">loopMIDI | Tobias Erichsen</a></div>
<div id="LPMetadata_14736406209780.22853099680790923" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
www.tobias-erichsen.de</div>
<div id="LPDescription_14736406209790.9998482407038596" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
download loopMIDI. Virtual loopback MIDI cable for Windows XP up to Windows 10, 32 and 64 bit. This software can be used to create virtual loopback MIDI-ports to ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<div><br>
</div>
<div>config the seq to output to loopmidifoo and config Pd midin to loopmidifoo.</div>
<div><br>
</div>
<div>Hope this helps,</div>
<div>Lucarda.</div>
<br>
<p></p>
<p><br>
</p>
<div id="Signature"><font face="Courier New, Courier, Monospace" size="2">Mensaje telepatico asistido por maquinas.</font>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Pd-list <pd-list-bounces@lists.iem.at> on behalf of Joćo Pais <jmmmpais@gmail.com><br>
<b>Sent:</b> Sunday, September 11, 2016 10:03 AM<br>
<b>To:</b> pd-list@lists.iem.at; patrice colet<br>
<b>Subject:</b> Re: [PD] Read midi file into Pd</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">>   The bytes can be converted with [list tosymbol] for getting characters 
<br>
> like MThd and MTrk, otherwise it's a MIDI message or an integer.<br>
><br>
>   I must admit that's not easy to do the parse with internals because  <br>
> this is a bit complicated to make it an abstraction for me, I'll also  <br>
> try out midi.lua with [mrpeach/pdlua].<br>
<br>
yes, Pd is still very unefficient on working with symbols, lists, etc.<br>
<br>
if you mean <a href="http://www.pjb.com.au/comp/lua/MIDI.html#download" id="LPlnk926525">
http://www.pjb.com.au/comp/lua/MIDI.html#download</a> I tried it,  <br>
but I get an error on pdlua. but no problem, I think I can manage it with  <br>
[midifile].<br>
<br>
_______________________________________________<br>
Pd-list@lists.iem.at mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list">
https://lists.puredata.info/listinfo/pd-list</a><br>
</div>
</span></font></div>
</div>
</body>
</html>