Help with MIDI initialisation (SOLVED)

Hello all,

I have noticed a similar issue coming up previously, but I didn't understand the resolutions, and the situations seemed slightly different to mine...

I am basically just failing to initialise MIDI, and I get the seemingly common "soundLibrary" error:

ERROR: Message 'soundLibrary' not understood.
Instance of SuperDirt { (0x7fac88883bb8, gc=98, fmt=00, flg=00, set=04)
instance variables [15]
numChannels : Integer 2
server : instance of Server (0x7fac86813988, size=29, set=5)
buffers : instance of Event (0x7fac8ca90228, size=5, set=3)
vowels : instance of Event (0x7fac8da60c88, size=5, set=3)
orbits : instance of Array (0x7fac8c90b8f8, size=2, set=2)
modules : instance of Array (0x7fac8884c158, size=11, set=4)
port : Integer 57120
senderAddr : instance of NetAddr (0x7fac8c549de8, size=4, set=2)
replyAddr : nil
netResponders : instance of List (0x7fac8c414048, size=1, set=2)
fileExtensions : instance of Array (0x7fac86c36640, size=4, set=2)
receiveAction : nil
warnOutOfOrbit : true
verbose : false
maxLatency : Integer 42
PATH: /Users/logictest/superdirt.scd
arg this =
arg this = nil
arg error =
arg this =
arg error =
arg this =
arg this =
arg selector = 'soundLibrary'
arg args = [*0]
< closed FunctionDef > (no arguments or variables)
arg this =
var res = nil
var func =
var code = " ~dirt.soundLibrary.addMIDI(..."
var doc = nil
var ideClass =
arg this =
^^ The preceding error dump is for ERROR: Message 'soundLibrary' not understood.
RECEIVER: a SuperDirt

Help would be much much appreciated... bear in mind though I use Tidalcycles a lot, my understanding of SuperCollider and SuperDirt is very limited, so if you help, I may ask some moronic follow-ups...

Many thanks!

Hi @Ouyuegu,
I think this probably means you ran some code before starting SuperDirt, when you need to run it once it's already running.
If you're already doing that, I'd make sure your version of superdirt is up to date, in Language > Quarks. The latest verison is v1.7.2
Follow-up questions welcome :slight_smile:

Many thanks!

So, I just ended up trashing my SuperDirt folder and inserting a new one downloaded fresh from Github. All is well again with the world.