Notes Clash
notes_clashDetects clashing semitone overlaps and out-of-key notes in pitched parts so you can find weird, wrong, or leftover melodies and fix rubbing parts before review or after edits.
Instructions
Find melodic leftovers in the arrangement, from the notes (no render, ledger:M282): notes from DIFFERENT pitched parts sounding together a semitone apart (a minor 2nd, a minor 9th, or those plus octaves; a close major 7th of 11 semitones is a chord colour and not listed) for at least min_overlap beats, and notes out of the key. Reach for it when a melody sounds weird, wrong or left over, when two parts rub or clash, before an exam, and after removing or moving notes ("no weird melodies left over"). key: 'G minor', 'Am', 'D dorian' (default the project's or the sketch's key; with none, found from the notes, weighted by length and velocity, and named with its fit r). A minor key allows its raised 7th (the major V chord's third). min_overlap (beats, default 0.1): shorter overlaps are passing tones and not listed; raise it to keep only held rubs. tracks=[names]: read only these, each as pitched. bars=[a, b] (inclusive) cuts the range. n: the most audible findings shown per list (counts cover all). Pitched parts only: kit pads that play their note's pitch (a synth blip) are read, drums, fixed-pitch samples and synths (a cowbell), code voices named as drums or effects ('eh_drums', 'drums/kit70'), unmapped pads and muted tracks are skipped and named. Notes of one part never clash with each other (a voicing). Returns a header (parts read and skipped, the key and where it came from), the clashes per pair of parts with their bars, then the top n clashes and the top n out-of-key notes, most audible first. A finding is one place in the bar that repeats: bar and beat in the bar from 0 (as notes_read shows it) of its loudest time, the two parts and their notes with velocity, the overlap in beats, the interval, how many times and in which bars. Audible = the quieter note's level (velocity and fader, dB) times the square root of the overlap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| key | No | ||
| bars | No | ||
| tracks | No | ||
| project | Yes | ||
| min_overlap | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |