A technical support community for Apple Logic Pro users.

 
User avatar
coinbump
Topic Author
Posts: 2
Joined: Wed Feb 10, 2021 6:28 pm

PhaseLogic: Script for Sequencer/Chord Progression/Arpeggio Sequences

Wed Feb 10, 2021 7:50 pm

PhaseLogic

Link: https://github.com/coinbump/PhaseLogic

PhaseLogic is a script for Logic Scripter that handles several things:
- Sequences
- Arpeggios
- Chords (major, minor chord progression)
- Humanizing velocities and beat position of the sequence notes

Sequences are triggered by a NoteOn MIDI event.

etc.

Examples

Play simple quarter-note sequence
var sequenceDenominators = [4, 4, 4, 4]


Play quarter-note sequence with crescendo
var sequenceDenominators = [4, 4, 4, 4]
var sequenceVelocities = [30, 40, 60, 100]


Play chord progression sequence
var sequenceDenominators = [4, 4, 4, 4]
var sequenceChords = ["maj", "min"]


Play Arpeggio
var sequenceDenominators = [4, 4, 4, 4]
var sequencePitches = [0, 3, 5, 3]


Feel free to use and enjoy
 
User avatar
coinbump
Topic Author
Posts: 2
Joined: Wed Feb 10, 2021 6:28 pm

Re: PhaseLogic: Script for Sequencer/Chord Progression/Arpeggio Sequences

Thu Feb 11, 2021 6:56 am

I added some advanced features.

Chord automation:
var automatedChords = ["maj", "min"]


With this defined in the script you can use MIDI automation to automate the automatedChordValue, so for example if automatedChordValue is 0, your notes will play a major chord sequence. If automatedChordValue is 1, a minor chord sequence.

This is useful for defining a rhythmic pattern and then automating the chord progression separately.

KeyMap chords
var keyMapChords = ["maj", "min"]


With this defined, playing C on the scale will play a major chord, C#: minor chord, D: major chord, etc. Useful for creating chord progressions from playing different notes.