[sdiy] MIDI receiving flowchart.. WAS MIDI I/O c code..
Jean-Pierre Desrochers
jpdesroc at oricom.ca
Fri Mar 20 20:49:34 CET 2020
In fact nobody wants to re-invent the wheel, so…
I’m sure many of you guys, MIDI hardware designers on this list went through
drawing some kind of coding flowchart before you started typing right ?
These ‘drawings’ would be very helpful for people like me.
JP
De : Synth-diy [mailto:synth-diy-bounces at synth-diy.org] De la part de Jean-Pierre Desrochers
Envoyé : 20 mars 2020 15:35
À : 'Neil Johnson'; 'Tom Wiltshire'
Cc : 'SDIY List'
Objet : Re: [sdiy] MIDI receiving flowchart.. WAS MIDI I/O c code..
Yes, but It’s incomplete about the received notes and how to process
Them for 8 voices..
De : Neil Johnson [mailto:neil.johnson71 at gmail.com]
Envoyé : 20 mars 2020 15:26
À : Tom Wiltshire
Cc : Jean-Pierre Desrochers; SDIY List
Objet : Re: [sdiy] MIDI receiving flowchart.. WAS MIDI I/O c code..
You mean like this:
https://github.com/nejohnson/miby
Look in the /doc folder for a PDF.
Neil
On Fri, 20 Mar 2020 at 19:17, Tom Wiltshire <tom at electricdruid.net> wrote:
I think a flowchart is a good idea, but I’d say that the voice assignment part is a separate thing from the MIDI. Voice handling is a whole area in its own right.
Tom
==================
Electric Druid
Synth & Stompbox DIY
==================
On 20 Mar 2020, at 19:10, Jean-Pierre Desrochers <jpdesroc at oricom.ca> wrote:
One idea came to my mind reading all your great comments:
Would it be usefull for anybody in this DIY forum including newbies like me
that someone would publish a 'starting' MIDI receiving flowchart
of the basics from the incoming bytes to the actual final process
of each received notes ?
For example this helping flowchart would show the basic steps
of first: the interrupt function (USART Rx flag test, RxBuffer[] updating, etc...)
Then the behaviour of the main loop processing each received byte
for let's say a polyphonic MIDI to CV 8 voices module ?
And only for one MIDI channel for simplicity to understanding ?
I did in the past a big flowchart for my MIDI to CV 6 voices module
That I could 'squeeze'to keep only what's stated above.
This could be a starting point for anybody who wants to 'correct' things
and this way the DIY forum would have a 'list standardized' flowchart
For anybody to use in the future..
This would answer many design questions to come.
Again, a small flowchart of how to receive MIDI bytes for only one MIDI channel
And process for polyphonic use (8 voices).
If this suggestion interests enough diyers I could put my cleaned out
Flowchart on the list as a start..
Or maybe I'll be the only guy to be interested in that
Since many of you gurus have already been through these codings..
JP
_______________________________________________
Synth-diy mailing list
Synth-diy at synth-diy.org
http://synth-diy.org/mailman/listinfo/synth-diy
_______________________________________________
Synth-diy mailing list
Synth-diy at synth-diy.org
http://synth-diy.org/mailman/listinfo/synth-diy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://synth-diy.org/pipermail/synth-diy/attachments/20200320/1e091a1f/attachment.htm>
More information about the Synth-diy
mailing list