ChordCheck:
Filter:
SuperSampler/Classes (extension) | MIDI Chord Check

ChordCheck
ExtensionExtension

Detecting chords when playing MIDI or OSC instruments real time.

Description

ChordCheck works on both class level and instance level. The class receives a series of numbers in a short time period, then evaluate the function with an array of numbers as it's first parameter.

Class Methods

.check

Major method to check chords, see example

Arguments:

num

Feeding key number from MIDI or OSC.

func

A function to evaluate when the chord is finished.

.waittime

The time period to determine if numbers feed in belong to the same chord.

.new

Create a new instance of ChordCheck

Instance Methods

.check

Major method to check chords, see example

Arguments:

num

Feeding key number from MIDI or OSC.

func

A function to evaluate when the chord is finished.

Examples