Discussion:
Can't send sysex on Windows: Primitive '_SendSysex' failed
goldenblue
2014-10-05 15:31:22 UTC
Permalink
I tried to use MIDIOut.sysex in Windows. It does not work.
It seems that the method MIDIOut.sysex is not supported in Windows?
it there any other way to send raw bytes to MIDI ports in Windows?

========here are the codes:==========
MIDIClient.init;
m = MIDIOut(2);
m.noteOn(1); //i can send "note on" message to MIDI port
m.sysex([Int8Array[0xf0, 0x00, 0xf7]); //but i get below error when sending
sysex

ERROR: Primitive '_SendSysex' failed.
Failed.
RECEIVER:
Instance of MIDIOut { (0x5ae1950, gc=94, fmt=00, flg=00, set=03)
instance variables [3]
port : Integer 2
uid : Integer 2
latency : Float 0.200000 9999999A 3FC99999
}
PATH: C:/Users/Diven/SC/sysex1.scd
CALL STACK:
MethodError:reportError 0x5a93fb0
arg this = <instance of PrimitiveFailedError>
Nil:handleError 0x5a93b30
arg this = nil
arg error = <instance of PrimitiveFailedError>
Thread:handleError 0x5a93ad0
arg this = <instance of Thread>
arg error = <instance of PrimitiveFailedError>
Object:throw 0x5a93bf0
arg this = <instance of PrimitiveFailedError>
Object:primitiveFailed 0x5a93dd0
arg this = <instance of MIDIOut>
Interpreter:interpretPrintCmdLine 0x5ad7270
arg this = <instance of Interpreter>
var res = nil
var func = <instance of Function>
var code = "m.sysex(Int8Array[0xf0, 0x00..."
var doc = nil
var ideClass = <instance of Meta_ScIDE>
Process:interpretPrintCmdLine 0x5a94370
arg this = <instance of Main>
^^ The preceding error dump is for ERROR: Primitive '_SendSysex' failed.
Failed.
RECEIVER: a MIDIOut



--
View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/Can-t-send-sysex-on-Windows-Primitive-SendSysex-failed-tp7613771.html
Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Loading...