Norns: softcut studies

Ah! Exactly what I was thinking. Not sure if its super exciting, but maybe a good exercise for myself to get a little familiar with the language etc. Cool :slight_smile:

Been having lots of fun with the softcut studiesand exploring the various parameters tonight.

Does anyone have a link to a (very) simple example of using a button to start recording into a softcut buffer, then pressing again to mark the end/loop. Much like a ‘traditional’ looper would behave.

I’ve been poring over the cranes script, as this achieves the functionality (amongst all the extra cool stuff) - but it’s a bit too advanced for me, at my current basic-brain level of understanding anyway!

Maybe have a look at Sam? It’s super simple and the…

thing happens between lines 159 and 171.

4 Likes

Thanks! Yes, this looks manageable :grinning:

1 Like

almost done!

top post edited with section 6, which uses inter-voice routing to make this lovely sounding loop disintegration:

basically a linear play head with a jumping record head which is overdubbing what’s coming off the first playhead… all with partial feedback so the process is a sort of scatter-blur that is different each iteration

softcut!!! @zebra

30 Likes

@tehn
Oh god. So beautiful

1 Like

That example is lovely, @tehn!

Is anyone else having a hard time getting the new routing study to work? Loaded it up last night, and while it plays the sample, nothing seems to be happen afterwards. Feeding it live audio doesn’t seem to do anything either. Must be missing something obvious… :thinking:

any errors in maiden?

Nothing in maiden, actually, either at startup or when pressing keys 2/3. Didn’t have time to take a close look at the code, but will later.

I got it to work by running the other study scripts first. So it’s probably something in the init() but I couldn’t spot exacting what

oops— forgot some commits. re-pull the update

3 Likes

final section completed. any feedback would be appreciated!

2 Likes

I seem to be having issues loading a stereo file. I have stereo and mono versions of a 48k file; loading the mono file with the following:

softcut.buffer_read_mono("/home/we/dust/audio/tape_hiss_m.wav", 0, 100, -1, 1, 1)

This stereo load results in the following error:

softcut.buffer_read_stereo("/home/we/dust/audio/tape_hiss_s.wav", 0, 100, -1)

liblo error: lo_send, lo_message_add, or lo_message_add_varargs called with mismatching types and data at…/matron/src/oracle.c:622, exiting.

Works as expected loading the mono file into one or both buffers simultaneously. If I replace the mono file loads with the stereo code, I get the error. Suggestions?

Bug, will fix

PR

1 Like

Great patches, thank you.

One slightly obsessive question: why the ‘convention’ of reading the start of the sound file into position 1 (as opposed to 0) in the buffer ?

softcut.buffer_read_mono(file,0,1,-1,1,1)

. . . and then having to keep track of that when calculating positions (eg pos-1).

. . . is there an advantage to this ?

Maybe I am missing something here !