<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>yap, I know that at the end of the day MIDI is dealing with 1
byte at time. I was wondering why there's a difference between 2
different piece of code that generates MIDI (Pd and Hardware
synth).</p>
<p>for example I just monitored (via USB) my Novation Circuit (a
groovebox) and Gmidimonitor receives messages 81 bytes long. with
Pd as I said is always 1 byte.</p>
<p>now my question would be, how is this possible?</p>
<p>I'm sure Circuit sends sysex 81 bytes long, so I know that this
is correct, but still I don't know why Pd doesn't allow something
like that.</p>
<p><br>
</p>
<p>cheers,</p>
<p>Mario<br>
</p>
<br>
<div class="moz-cite-prefix">On 02/22/2018 09:58 PM, Alex wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOGs2RAzJZGFDFktG-KyRp28bUTQmcDkxw6pe=uDiwTkqA=Bxw@mail.gmail.com">
<div dir="ltr">
<div>
<div>MIDI is a serial protocol, individual bits running down a
single line, we now also have USB midi which is a little bit
different than that but usually that is abstracted for you.<br>
</div>
The software monitor you're using likely groups these for you
but in reality you simply have a stream of individual bits on
the hardware line.. <br>
</div>
<div>PD's object let you do bytes at a time instead of
individual bits :)<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Feb 22, 2018 at 1:47 PM, mario
buoninfante <span dir="ltr"><<a
href="mailto:mario.buoninfante@gmail.com" target="_blank"
moz-do-not-send="true">mario.buoninfante@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Hi Alex,</p>
<p><br>
</p>
<p>thanks for your reply. I think that also using your
abstraction Pd will spit out 1 byte per time (I didn't
check it, but I assume that cause it's not an external
in C).</p>
<p>about MIDI if I'm not wrong, bytes are grouped in
accord with the type of message, ie Note on/off and CC
are 3 bytes messages, channel pressure and program
change are 2 bytes, sysex have variable length and so
on. and I presume they're sent out in group.<br>
</p>
<p>in fact when I monitor MIDI messages coming for certain
applications (I'm on Linux and I'm using Gmidimonitor)
the console tells me the sysex size in bytes. so, with
Pd the size is always 1 byte, but with other programming
languages and softwares is variable and goes in accord
with the sysex I generated.</p>
<p><br>
</p>
<p>cheers,</p>
<p>Mario</p>
<div>
<div class="h5">
<p><br>
</p>
<div class="m_4324610689088181208moz-cite-prefix">On
02/22/2018 09:34 PM, Alex wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>I haven't tested in a while but I wrote an
abstraction to take a list, wrap it in the sysex
start and end and output it as individual bytes:
<a href="https://github.com/x37v/pure_data"
target="_blank" moz-do-not-send="true">https://github.com/x37v/pure_<wbr>data</a><br>
<br>
</div>
midi is a byte oriented protocol..<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Feb 22, 2018 at
1:24 PM, mario buoninfante <span dir="ltr"><<a
href="mailto:mario.buoninfante@gmail.com"
target="_blank" moz-do-not-send="true">mario.buoninfante@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">Hi,<br>
<br>
<br>
do you guys know if there's a way to send a
list of sysex messages (or 1 complete message,
let's say 8 bytes long) rather then 1 byte per
time?<br>
<br>
if not, do you know if there's a particular
reason why it's not possible?<br>
<br>
<br>
cheers,<br>
<br>
Mario<br>
<br>
<br>
______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at"
target="_blank" moz-do-not-send="true">Pd-list@lists.iem.at</a>
mailing list<br>
UNSUBSCRIBE and account-management -> <a
href="https://lists.puredata.info/listinfo/pd-list"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://lists.puredata.info/li<wbr>stinfo/pd-list</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>