Hello there, I recently got a norns and I’m trying to create a softcut-powered effect. My idea is to record a one-shot sample and loop it very quickly to produce a pseudo-autotune effect (e.g. you send a note-on message and the incoming audio loops at 440Hz).

I’m guiding myself using the studies and the softcut API and had stubbed this small proof of concept:

But the resulting code doesn’t seem to work. Using larger loop times (0.5s) seems to make it kinda work (first press of the key does nothing but subsequent ones do) but not for smaller, audible-level times. I’m assuming this is a limitation of the runtime/softcut lua bridge or may I be missing something? Any help would be appreciated.

Also I’m doubting how could it mute the incoming audio once the sample is recorded (the idea is to only hear the loop once its recorded and nothing else). Is there a specific way to do this? The documented functions seem to only affect the incoming audio at softcut level and not whatever is monitoring the source input.