SuperCollider's startup file

Hi !
I wish I knew how to add MIDI setup commands to SuperCollider’s startup file… but I’ve miserably failed hehe
Does anyone know how to, please ? :wink:

Here’s what I’d like to have in the startup file :

SuperDirt.start
MIDIClient.init;
~midiOut = MIDIOut.newByName(“IAC”, “1”);
~midiOut.latency = 0;
~dirt.soundLibrary.addMIDI(\midi, ~midiOut);

Thank you !

Nil.

Here is what I use for mine: startup file

The most important bit is to make sure that the arguments that you are passing to MIDIOut.newByName match what comes back from MIDIClient.list;

Cheers,

David

1 Like

Thank you so much David !
I’m also going to experiment with various buffer sizes (my sessions can be quite CPU intensive, so anything that can spare some cycle is welcome ;)).
Thanks again !

Ps: it works perfectly, thanks again !