Jody's Scripts

mercredi 16 septembre 2015

I figured it might be nice to post the scripts that I created, as so many people talk about doing so, but for some reason don't.

I do have a couple of questions on how to improve them.

Lets start with my modified LuiLoop, which I've now named JodyLoop.

Code:

!name Loop Rec/Play/Overdub

############
#### Loop pedal will act as Rec/Play/Overdub on Tracks 1 & 2
#### Loop pedal will act as Play/Overdub on Tracks 3 and above
#### Switching between loops in NextLoop style
#### Long press will Reset
############

!sustain 1500

if trackNumber = 1

        if mode == reset
                Record
        elseif mode == mute
                Reset
                Record
        elseif mode == play
                Overdub
        elseif mode != reset
                Play
        endif

elseif trackNumber = 2

        if mode == reset
                Variable activeTrack trackNumber
                set input 127
                for *
                        if trackNumber != activeTrack
                                set input 0
                        endif
                        if trackNumber != 1
                        Record
                        endif
                next
        elseif mode == mute
                Reset
                Record
        elseif mode == play
                Overdub
        elseif mode != reset
                Play
        endif

elseif trackNumber > 2

        if mode == reset
                Overdub
                Variable activeTrack trackNumber
                set input 127
                for *
                        if trackNumber != activeTrack
                                set input 0
                        endif
                next
        elseif mode == play
                Overdub
                Variable activeTrack trackNumber
                set input 127
                for *
                        if trackNumber != activeTrack
                                set input 0
                        endif
                next
        elseif mode != reset
                Play
        endif

endif

end
##

## long press will Reset
Label sustain
Reset
end

#### END JODYLOOP

This allows me to accomplish what Glynndub calls horizontal looping. Its not nearly as elegant as I'd like. Mainly because I'd rather not be "recording" to multiple tracks at once. However, after days and days of attempting to get TrackCopyTiming to populate other tracks and loops following the recording of a loop in Track 2 to no avail, I had to resort to the method in my script. So the discussion on this is: How can this be improved so that recording Track 2 loops will populate Tracks 3, 4, & 5 with their respective Loop timings without recording to all of them at once?

Here's Script 2:

Code:

!name Pause & Sync Loops

if mode == mute
        for all
                Play
        next
       
        for all
                jump PlayInSync mode = mute
                variable SaveSwitchQuant = $switchQuant
                set switchQuant off
                retrigger
                set switchQuant $SaveSwitchQuant
                label PlayInSync
        next
else

if mode == play
        for all
                variable SaveSwitchQuant = $switchQuant
                set switchQuant off
                pause
                set switchQuant $SaveSwitchQuant
        next
endif

end

This allows me to pause all the tracks (eventually). Then when I un-pause them they're all in sync. Discussion part: How can I get this to pause all tracks instantly? Right now, they each pause when they come to the end of their respective loop. I thought switching Quantize off would do the trick - it doesn't. Anyone know how to pause all immediately?

Here's script #3:

Code:

!name Undo & Reset All

!multiclick 300
!sustain 1500

Label click
if clickCount = 1
        Reset
endif

end

Label sustain
if sustainCount = 1
        globalReset
        for all
                set Input 0
                set Output 127
        next
endif
end

As the name implies, this allows me to Undo on the current loop that I'm working on. With a long press it allows me to reset all loops and tracks. What I'm not fully grasping is why the Undo requires two taps.

Here's my 4th and last script (I'm working on keeping this setup as easy as possible):

Code:

!name Down Shift
!autoload


PitchOctave -1

Does a full octave pitch shift down. This one works as intended, though the audio quality isn't as awesome as I'd like, it gets the job done for a live setting.

Anyone care to expand upon, improve upon my scripts? I'd like to find ways to make them better and be more elegant in their design and ease of use.


0 commentaires:

Enregistrer un commentaire

 

Lorem

Ipsum

Dolor