RawMessage does not work for sysex – I have already explained in detail why.
I don't remember the properties RawData0 – RawData3 offhand. Maybe I overlooked them or maybe they're new. I don't know if using them can solve the problem with RawMessage. Thanks, Julia From: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Friday, August 3, 2012 1:21 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Mbsplugins_monkeybreadsoftware.info Digest, Vol 400, Issue 8 Message: 6 Date: Fri, 3 Aug 2012 18:37:56 +0200 From: Christian Schmitz <[email protected]<mailto:[email protected]>> Subject: Re: [MBS] PortMIDI questions To: MBS Real Studio Plugin List <[email protected]<mailto:[email protected]>> Message-ID: <[email protected]<mailto:[email protected]>> Content-Type: text/plain; charset=windows-1252 On 03.08.2012, at 14:14, Julia Truchsess <[email protected]<mailto:[email protected]>> wrote: If I could rely on each PortMidiEventMBS actually carrying 4 bytes then it would be very easy to pad the hex strings appropriately, but PortMidiMBS does not seem to implement a constant 4-byte pmEvent structure and I don't see how I can accurately reconstruct the sysex data without knowing how many bytes each PortMidiEventMBS carries." IIRC, Christian did not seem too interested in fixing MBS, I was working under an urgent deadline, and Mel Patrick (Hi Mel!) came to my rescue, sending me some sample code that got me started with WindowsMidi and Mac OSX midi classes. PortMidiEventMBS includes the full PmEvent. The RawMessage message property gives you the whole 4 byte message. Or you use RawData0 to 3 properties which give you individual bytes. Or you use normal Status/Data1/Data2 properties for normal midi messages. All those properties are settable in case you need. And also I have Set and SetRaw methods to set all properties together. Is there anything wrong? Greetings Christian _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
