Supercollider tutorial help

I’m messing around with this tutorial Redirecting… and I got to the end and ran it and the sounds all work but i’m not getting any button feedback. Any idea why? Is there a chance this tutorial is slightly outdated? I’m pretty new to SC, just learning from checking out examples so that’s why I was hoping it would just work straight away.

The strange thing is I can get light feedback if i just run the code from example 2, then as I go onto the other examples the lights stop working.

Thanks, any help is appreciated!

Tate

which grid edition are you using?

It’s an older 128 without varibrightness. I’m not exactly sure since I bought it used.

Your question made me think that it might have something to do with varibrightness in the code so I changed all the levset’s to ledsets and the numbers to 1 or 0 and it fixed it. Hopefully this can help someone else.

some comments on old forum… http://archive.monome.org/community/discussion/comment/213275#Comment_213275

…This is cool!


Well that looks cool! Can I get that script?

So I’m trying to do this tutorial now, but I can’t even get the first steps to work.

Running

~m = MonoM.new("/monome", 0);

I just get the output:

-> Ports:List[  ]

which I guess means it couldn’t find my grid? I’ve got serialosc running and monome_sum seems to work fine, so I’m not really sure what the problem is. I’m on OSX Yosemite.

Nevermind, I got it to work. Initially I was getting a stack trace from

~m.useDevice(0);

but it suddenly started working after I tried

~m.deviceList

first. Not sure what changed really…

I guess you’ll have to connect the grid Before the class library compiles and the interpreter starts. maybe that was giving you problems?

I think I needed the s.waitForBoot ultimately, though I’m not entirely sure about that. I figured once the server is booted I wouldn’t need that, but I could be wrong…

At this point I’ve just left it in. I’ve had really good success with the grid study, went through all of it and am now working on building entirely new stuff based on what I did there.

I’ve also switched the trigger array to Array2D which makes all the indexing operations a lot nicer to code.