Rules for Tools/noteinchord()
int noteinchord(struct Clip *clip, struct NoteEvent *note)
`struct Clip *clip'
Clip for song parameters.
`struct NoteEvent *note'
Note Event to test.
`noteinchord()' tests if the MIDI note value in note is legally
within the chord list of `clip'. `noteinchord()' compares the
note's value with the chord in clip that is active at the time
stamped in `note->time'. If the note is a member of the chord, 1
is returned, else 0.
See noteinkey(), scaletotwelve(), twelvetoscale(), timetokey(),