[PD] Read midi file into Pd

Lucas Cordiviola lucarda27 at hotmail.com
Mon Sep 12 02:37:27 CEST 2016


Hi João ,

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.

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.

Or if you are on Windows you can pass midi from one app to another with "loopMIDI":

http://www.tobias-erichsen.de/software/loopmidi.html
loopMIDI | Tobias Erichsen<http://www.tobias-erichsen.de/software/loopmidi.html>
www.tobias-erichsen.de
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 ...



config the seq to output to loopmidifoo and config Pd midin to loopmidifoo.

Hope this helps,
Lucarda.



Mensaje telepatico asistido por maquinas.


________________________________
From: Pd-list <pd-list-bounces at lists.iem.at> on behalf of João Pais <jmmmpais at gmail.com>
Sent: Sunday, September 11, 2016 10:03 AM
To: pd-list at lists.iem.at; patrice colet
Subject: Re: [PD] Read midi file into Pd

>   The bytes can be converted with [list tosymbol] for getting characters
> like MThd and MTrk, otherwise it's a MIDI message or an integer.
>
>   I must admit that's not easy to do the parse with internals because
> this is a bit complicated to make it an abstraction for me, I'll also
> try out midi.lua with [mrpeach/pdlua].

yes, Pd is still very unefficient on working with symbols, lists, etc.

if you mean http://www.pjb.com.au/comp/lua/MIDI.html#download I tried it,
but I get an error on pdlua. but no problem, I think I can manage it with
[midifile].

_______________________________________________
Pd-list at lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160912/875b7ba6/attachment.html>


More information about the Pd-list mailing list