Jump to content

PhaseLogic: Script for Sequencer/Chord Progression/Arpeggio Sequences


Recommended Posts



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.






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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...