TD-3 midi issue

Hi, i recently bought a TD-3 just to be used with tidal the problem is that it doesnt work.
tidal is at latest version and i upgrade SuperDirt too.
i setted up on superdirt
sc3>SuperDirt.start;
sc3> MIDIClient.init;
MIDI Sources:
MIDIEndPoint(“System”, “Timer”)
MIDIEndPoint(“System”, “Announce”)
MIDIEndPoint(“Midi Through”, “Midi Through Port-0”)
MIDIEndPoint(“TD-3”, “TD-3 MIDI 1”)
MIDIEndPoint(“SuperCollider”, “out0”)
MIDIEndPoint(“SuperCollider”, “out1”)
MIDI Destinations:
MIDIEndPoint(“Midi Through”, “Midi Through Port-0”)
MIDIEndPoint(“TD-3”, “TD-3 MIDI 1”)
MIDIEndPoint(“SuperCollider”, “in0”)
MIDIEndPoint(“SuperCollider”, “in1”)
MIDIEndPoint(“SuperCollider”, “in2”)
MIDIEndPoint(“SuperCollider”, “in3”)
-> MIDIClient
sc3> ~midiOut = MIDIOut.newByName(“TD-3”, “TD-3 MIDI 1”);
-> a MIDIOut
sc3> ~midiOut.latency = 0;
-> a MIDIOut
sc3> ~dirt.soundLibrary.addMIDI(\dhn, ~midiOut);
-> a DirtSoundLibrary

then when i open tidalvim and type

d4 $ n “30 40 56 18”
# s “dhn”

it produces no sound, i also tried different n and

midichan 0 to 16

even

d4 $ s “dhn”

remain silent.

and for every line i evaluate tidalvim gives no error, i have absolutely no clue of what can it be

also tried this

68 p “midiclock” $ midicmd “midiClock*48” # s “dhn”
69
70 once $ midicmd “stop” # s “dhn”
71
72 p “midictl” $ midicmd “start/4” # s “dhn”
73
74 p “midictl” $ silence

I’d suggest, in sc3, to test the MIDIOut object directly.

~midiOut.noteOn(0, 60, 64);  // channel 1, middle C

// wait a bit
~midiOut.noteOff(0, 60);

If this doesn’t produce sound, then the problem is between SC and the TD-3. If it does, then the problem is between Tidal and SC.

Also: Based on your MIDI device list, I guess you’re using Linux. newByName should connect the SC MIDI output port to the TD-3 target port, but maybe this is failing for some reason I can’t fathom just now. If the direct use of MIDIOut didn’t play a note, could you also try manually connecting them in qjackctl > Connect > ALSA? Note that newByName's connection is (probably) not visible in qjackctl – that’s normal – but if the invisible connection isn’t working, it’s a valid test to make the connection by hand.

hjh

PS I’m not a Tidal user – rather, a longtime SC user in Linux (and I wrote the part of MIDIOut help about Linux connections).

sorry for the delay i was quite busy, thanks a lot i tried this and SC connect to the td3 producing sound.
still got problems with tidal but i guess its tidalvim