SysEx using VST v2.4

DSP, Plugin and Host development discussion.
RELATED
PRODUCTS

Post

@acciddose; Not sure, looks like they do some neat things.

:hihi: I used to love Ultima Underworld. You've earned some cool points for that screenshot.

I have to wonder why you are using your graphics kit to make a trainer for a game (assuming that's what it is) though :)

Post

inventory/stats editor. i was bored one day and loaded up UW, decided this is a good way to test the gui lib. actually i also figured out how to fully decode for uw2 as well, so it works for both games. i haven't put any effort into flags though so no mucking up your position in the game yet. i thought it was a real shame when the few projects out there for uw rewrites died off - at least we still have arx.

another idea is for installers and so on. i like the simple nsis as things are now, but i'll probably get around to adding some custom graphics eventually. i'll be able to link into the dll (effects, xhip, whatever) inside the installer and display the same widgets as the plugin has for the installer controls.

oh man that's ridiculous :hihi:

it'll be cool though.
Free plug-ins for Windows, MacOS and Linux. Xhip Synthesizer v8.0 and Xhip Effects Bundle v6.7.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.

Post

arakula wrote:A MIDI message in VST 2 is defined as an event that has a 4 byte data area for the MIDI message. Presumably defined this way since it can be casted to a 32-bit integer (at least in Windows, this is the format used for normal MIDI messages). That, however, has nothing to do with the MIDI messages that are sent to and from the device drivers; here, normal MIDI messages take up 1 to 3 bytes, depending on their type and Running Status.
Ok. I didn't know that.
So in essence the driver packs the needed 4 bytes that a CC for example needs, to just 3? Combining status and channel right? Sounds clever as theres only 16 channels. Makes sense :)

To sum stuff up: you could use a special nrpn address you'd use for binary data input(if only one address is used you can just keep sending the new data values without the address data..). That could be a nice crossover of sysex vs nrpn, that would take just 2x bandwidth of what a sysex takes, would work from a vst and on ip-midi, and wouldn't break the midi standard. That could work if your building your own hardware and can implement that on the device-end.. and if midi-interfaces won't drop any of the cc messages.
www.mkdr.net

MophoEd - the BEST DSI Mopho Editor VSTi

Post

no the 2x data doesn't require anything special.

you could get 1-1 data like sysex if you broke the standard like i do. (with one midi device on one cable, it can't break anything.)
Free plug-ins for Windows, MacOS and Linux. Xhip Synthesizer v8.0 and Xhip Effects Bundle v6.7.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.

Post

mkdr wrote:So in essence the driver packs the needed 4 bytes that a CC for example needs, to just 3? Combining status and channel right? Sounds clever as theres only 16 channels. Makes sense :)
No. It's 3 bytes all the way. As the VST SDK doc says:
char midiData [4]
1 to 3 MIDI bytes; midiData[3] is reserved (zero)
"Until you spread your wings, you'll have no idea how far you can walk." Image

Post Reply

Return to “DSP and Plugin Development”