Im also interested to see/hear more about using SC in a modular context…

Ive got a Bela Salt, which Ive been using for PD so far, but SC is already installed - so it would be fun to see what SC can add to the party - I think I’m interested in perhaps more live coding/patching… and perhaps having synthdefs/patterndefs setup to make that easier/quicker.

(Ive only a few modules so far in my setup, so getting the most bang for buck out of Salt is my priority at the moment :slight_smile: )

4 Likes

I’ve just tested SuperCollider on a Terminal Tedium (using the OSC client of TT) and it works great. That’s also a possibility if one wants to include SC in a modular environment.
Edit : At the moment, I think it’s not possible to send OSC messages to the gate outputs

I´m trying out your example. And trying to understand what’s happening.

Why are you using Lag?

the Lag.kr ugen provides portamento functionality for your CV sequencer :sunglasses:

which bit is confusing you?

I was confused about Lag :grimacing:. Thank you.

Yesterday I found some time to play around with SC and my modular. Just some simple and basics things. Even this was quite cool.
I got the impression that the SC/Modular combo opens up a new powerful world.
I will definitely dive deeper …:nerd_face:

2 Likes

Started with some SuperCollider this morning with the help of the Eli Fieldsteel tutorials and @trickyflemming’s excellent intro post in the norns thread. Does anyone know of any workshops in London? Failing that, any teachers? This learning curve seems very steep and I think I’d do better with a real person in the same room as me helping me out :slight_smile:

2 Likes

In a similar situation to you. Saw Music Hackspace had offered some recently but sadly I only noticed after the first had already taken place. Perhaps the instructor could recommend someone, so I’m copying the link.

Yeah, I noticed the same thing! I emailed them to see if they’re running the course again in the future. Will report back.

I want to write a simple script for transform/route a Start message (system real-time message) from a device to a note on message to another, i.e. When the Play button of Digitakt is being pressed, the C4 key from Prophet '08 would get pressed and latched, until Digitakt press Stop

What I wrote was:

MIDIClient.init;
MIDIClient.destinations;
MIDIIn.connectAll;

m = MIDIOut.new(0);
MIDIdef.sysrt(10, {m.noteOn(0, 60, 64)});

It doesn’t work properly, although it can respond in some ways but the note get stuck. I test it by using post window with postln:

MIDIdef.sysrt(10, {"Start".postln});

and realized the start message is keeping sending out and that is why the note got stuck.

I only need the initial start message, what is the best way to achieve this? Thanks!

Don’t you need msgType = start , otherwise I’d suspect you are responding also tick which of course is continuously sent

( I assume you probably want a separate stop as well to send note off ?)

Thanks! Can you elaborate? :slight_smile:

Yes I think I need a line for stop message > note off too.

http://doc.sccode.org/Classes/MIDIdef.html

sysrt, you need to give index = 10, this is 3rd argument.

however, its probably easier if you just use the convenience method

MIDIdef.start(key, func, srcID, dispatcher)

Got a reply from MH:

We try to run SuperCollider classes pretty regularly throughout the year. There’ll be a single class with Shelly Knotts on Sept 6th (will be announced in the next couple of weeks).
As for another course of three workshops with Joanne, I’ve not spoken to her about this but they’ve gone very well so far and there seems to be a lot of demand, so I expect we’ll run a similar thing again if she’s up for it!

1 Like

Thanks for pointing it out! Can’t believe I was only misplaced the arguments, and yes MIDIdef.start is more convenience as you said.

1 Like

cool, did you get it working?

Ive limited experience with SC, and so all chances to dive in to improve my understanding are good for me.

at the time of your post I was playing around with SC on a Bela Salt, trying ‘live coding’ on a modular… so was good opportunity to look at midi in that context.

gotta say, SC Ide on a laptop, remoted into a SC eurorack module is so much fun,
I think its the mixing of the physical and virtual world.
( oh, and Ive always liked programming leds to flash :wink: )

2 Likes

wow, JITLib combined with modular , is starting to blow my mind…
( that said the SC docs are great, just follow thru the concepts tutorials its pretty clear, just quite a bit to take in)

it seems to make SC what i hoped it would be, the missing part of the jigsaw.

Im also now going thru @theseanco awesome articles on using this for live-coding - thank you @theseanco its a great resource, helping bridge the concepts to practice.

any there any other good resources for JITLib and using it for live coding?

I think once my head stops expanding/exploding - I might do a video to introduce others to its wonders.

7 Likes

how are you attaching a screen to the salt? doesn’t look like there are any front panel connections for video out?

I’m not using a screen, I’m using a network connection and a laptop :slightly_smiling_face:

Bela is quite nice you can either plug a WiFi card in , or use usb networking - so just attach a usb cable to your laptop and your done.

The network connection also means you have access to Bela webserver.

So I’m using salt in 2 ways, stand-alone , where I can switch between pre-made ‘patches’ (Pd or Sc) or connected like here for live coding.

It’s nice to use a laptop as it means salts cpu is not ‘wasted’ on a UI - also as sclang is local, means your able to interact with anything on laptop - so it’s kind of like a cv bridge.

another thing I’m thinking of trying, is Norns.
Running matron on Norns/rPI and crone/sc on Bela Salt :slight_smile:
( I could run the whole Norns on Salt, with push2 as a display , but this splitting of roles interests me a bit more :))

2 Likes

has anyone managed to sync their supercollider to CV clock?

1 Like

Interesting question…

for Bela Salt, its trig inputs are kr or ar ugens, so you can easily use to schedule things.
however, if you wanted to be compatible with the SuperCollider clock, I guess you’d have to subclass Clock?
I noticed there is a 3rd party midi clock implmentation (MIDISyncClock) ,


this looks like it would be pretty simple to changed to use a DigitalIn.kr()

is there an easier route?

(I might have a go, once Ive determined if the clock interface is a requirement, or if its as easy to do the triggering directly. Im thinking a clock might be a requirement for PDEF - correct?)

it would be trivial of course, to use Bela Salt as a CV clock master - just attach it as a clock sink in SC, and get it to send triggers on its trig outputs.

(I think for now thats the route I will go, just for simplicity… but I can definitely see the advantage of taking a CV clock as input)

note: Im saying bela salt, im guessing this would be similar for anything your running thats going to interface with a eurorack system - as far as i see it, its how do you hook the CV in (or whatever!) , into the SC clocks system