Live API via JavaScript
You can program the Live API in JavaScript if you prefer using a text-based procedural language. This Max patch demonstrates how to do that.
You can program the Live API in JavaScript if you prefer using a text-based procedural language. This Max patch demonstrates how to do that.
As a demo project to explore JavaScript programming in Max, this patch implements a script that harmonizes any played MIDI note with either a major seventh chord or a minor seventh chord that contains the played note. For any given pitch, there are four different major seventh chords and four different minor seventh chords that contain that pitch.
A computer can make a choice between different alternatives based on assigned statistical “likelihoods”—relative probabilities assigned to each possible alternative.