Dear Community,
I have Problems to make a Connection between SuperCollider and QTractor.
I have the follwing Code in SuperCollider:
Code: Select all
s = Server.local;
s.addr = NetAddr("127.0.0.1", 57121);
s.boot;
MIDIClient.init;
(
~pitches = [440, 440, 440];
~m = MIDIOut.new(0);
~r = Routine {
var bpm, pitch, midiN, conMidiN;
bpm = 80;
pitch = 66;
while(true)
{
pitch = ~pitches[0];
pitch.postln;
midiN = pitch.cpsmidi;
conMidiN = midiN.floor.asInteger;
conMidiN.postln;
//
~m.noteOn(1, conMidiN, 120);
(60/bpm).wait;
~m.noteOff(1, conMidiN, 120);
}
};
)
~r.play;
To Reproduce the Problem:
1.) Start the Above Code in SuperCollider
2.) Start QTractor
3.) Make a Connection between the two Programs with qpwgraph
4.) Make a new Project in QTractor
5.) Make a new Track for MIDI with Omni Channels and Master In/Out-Put
6.) Mark this Track for Recording
7.) Start Recording.
By 7. the QTractor Program crashes
But only in this Setting the Problem will haven. With other MIDI Sources QTractor runs proper.
So I have no conclusion why this is so. I have no Idee in which way I can send MIDI Messages from SC to QTractor.
But I have a Study Project next Week - And to this I need it.
In Hope that anybody knew a Workaround
ComputerArtist_ThL
Top
re. How to Connect SuperCollider to QTractor...
hi, welcome aboard!
so it seems only the sc -> qtractor combination is having trouble?
being no supercollider (sc) user at all, but looking at the above sc code, it seems that it's already pouring MIDI out when qtractor starts... maybe you can already see that pumping on the MIDI meters, before you hit steps 6. and 7.?
also, you seem to connect the two programs (sc midi out to qtractor midi in) in step 3. before creating a new session in step 4. that might be a mistake, perhaps, have you check it again on the qpwgraph?
speaking of which (qpwgraph) you seem to be running on pipewire(-jack), right? so, have you hear about of this recent and latest thread here ?
dunno if it's related but it could be a suspect point.
cheers
Add new comment