justin = {
main feed
,
music
,
code
= {
cockos
,
reaper
,
wdl
,
ninjam
,
jsfx
,
more
}
,
askjf
,
pubkey
};
Ask Justin Frankel
No reasonable question unanswered since 2009!
Suggested topics: programming, music, sleep, coffee, etc.
Note: please do not ask questions about REAPER features, bugs or scheduling, use the
forums
instead.
Name:
Ask:
Human (enter yes):
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Question:
Sorry to bother you jf, I am really trying to understand and use MIDI_GetRecentInputEvent, but I can't reach to any answer :( If I get it right the MIDI info is packed inside the buf in a string packed. I should then use string.unpack(some_string, buf). I really don't know what to put in some_string in string.unpack as I would need to reverse engineer how it was packed. >.< Sorry if I got it all wrong also. I am since the release of this function trying to understand it.
Asked by DdSL (201.48.183.x) on October 16 2021, 5:32pm
Reply on October 17 2021, 12:00am:
Each message is a string of binary data.. so you can use string.byte(str,1) which should return 0x90, for example, etc.
Comments:
Posted by DdSL (201.48.183.x) on October 17 2021, 6:17am:
Thanks a lot Justin :) I will not continue here as is reaper related. I made a small visualizer to test it and have made some notes about system messages. Thanks thanks thanks, was hopping to get this function :)
Posted by DdSL (201.48.183.x) on October 17 2021, 6:18am:
forum.cockos.com/showthread.php?p=...
Comment:
Your Name:
-- Site Owner's Name:
(for human-verification) Comment:
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Copyright 2025 Justin Frankel
.
|
RSS