Replies: 4 comments 4 replies
-
0xF7 is a End of System Exclusive marker, so I doubt a valid message starts with that. What device is this intended for? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Are you saying this type of message should never be seen in a MIDI stream? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I get the distinction between how the MIDI file is encoded and what appears
across the MIDI cable. I've been trying to figure out what the
Rodgers/Roland instrument is doing that causes a problem during recording
by observing the effects; unsuccessfully so far. I am going to the
instrument today with some tools to look at the raw MIDI stream from the
instrument under specific operating conditions that are causing problems.
I hope to know more soon.
…On Wed, Oct 18, 2023 at 7:10 AM François Best ***@***.***> wrote:
Yes, it's a MIDI file specific message. The MIDI file specification
<http://www.music.mcgill.ca/~ich/classes/mumt306/StandardMIDIfileformat.html>
says (emphasis mine):
The specification defines the 8-bit binary data stream *used in the file*.
The data can be stored in a binary file, nibbilized, 7-bit-ized for
efficient MIDI transmission, converted to Hex ASCII, or translated
symbolically to a printable text file. This spec addresses what's in the
8-bit stream. *It does not address how a MIDI File will be transmitted
over MIDI*.
Transmitting a MIDI file as-is on the wire will result in invalid MIDI
data (escape as you describe, but also meta-events which would result in a
SystemReset event).
—
Reply to this email directly, view it on GitHub
<#338 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AT34RNOKM4CXW22JIZRF3PLX77BKZAVCNFSM6AAAAAA6EMH6YCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGMJUGUZDG>
.
You are receiving this because you authored the thread.Message ID:
<FortySevenEffects/arduino_midi_library/repo-discussions/338/comments/7314523
@github.com>
--
TimL
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for responding to this discussion.
I was able to run some more experiments with the Rodgers/Roland organ,
including looking at the raw data from the MIDI out port.
It is *always* sending properly formatted MIDI messages, including Sysex
messages with the correct start and stop bytes.
I do still see some malformed messages when I use MIDI recording functions;
No proper MIDI headers, etc. I am now suspicious of something like an
uninitialized buffer, pointer out of bounds, etc.
If I may ask for some advice: what functions from the library should I
invoke before recording to a file, and when I start recording, and to
finish and close recording, and to prepare to record again?
…On Wed, Oct 18, 2023 at 7:10 AM François Best ***@***.***> wrote:
Yes, it's a MIDI file specific message. The MIDI file specification
<http://www.music.mcgill.ca/~ich/classes/mumt306/StandardMIDIfileformat.html>
says (emphasis mine):
The specification defines the 8-bit binary data stream *used in the file*.
The data can be stored in a binary file, nibbilized, 7-bit-ized for
efficient MIDI transmission, converted to Hex ASCII, or translated
symbolically to a printable text file. This spec addresses what's in the
8-bit stream. *It does not address how a MIDI File will be transmitted
over MIDI*.
Transmitting a MIDI file as-is on the wire will result in invalid MIDI
data (escape as you describe, but also meta-events which would result in a
SystemReset event).
—
Reply to this email directly, view it on GitHub
<#338 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AT34RNOKM4CXW22JIZRF3PLX77BKZAVCNFSM6AAAAAA6EMH6YCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGMJUGUZDG>
.
You are receiving this because you authored the thread.Message ID:
<FortySevenEffects/arduino_midi_library/repo-discussions/338/comments/7314523
@github.com>
--
TimL
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anyone had any experience de4aling with "Authorization" or "Escape" MIDI messages? I believe they start with 0xF7.
Beta Was this translation helpful? Give feedback.
All reactions