Augustus Loop - script to select loop with MIDI note?

Official support for: expertsleepers.co.uk
Post Reply New Topic
RELATED
PRODUCTS

Post

Hi,

I am doing my best to write a multi-looper script for AL that suits my own needs. I have made good progress so far, but am stuck at what seems should be a simple task:

How do I select a particular instance of AL using a MIDI note? At the moment I am working with 4 instances of AL. I have tried something like this (to select loop 2, for example):

--
local function selectLoop2 ( channel, noteNumber, velocity)
currentLoop = 2
end
--

requestNoteOn( 76, selectLoop2 )
--

But this doesn't seem to work. I am no programmer! Any advice? Many thanks in advance.

Post

Sorry for the slow reply.

Without knowing what the rest of your script is doing, it's hard to say why that wouldn't work.

Have you tried putting e.g. a setParameter() inside the function, just to get some visual feedback on whether the note on message is being received?

Post Reply

Return to “Expert Sleepers”