*#TML> Rules for Tools/noteinrhythm()

Contents page

Rules for Tools/noteinrhythm()


noteinrhythm()
SYSNOPSIS
     int noteinrhythm(struct Clip *clip, struct NoteEvent *note)

ARGUMENTS
    `struct Clip  *clip'
          Clip with rhythm event list.

    `struct NoteEvent  *note'
          Note to test.

DESCRIPTION
     `noteinrhythm()' tests to see if note lands within a beat in the
     rhythm in clip's rhythm list.  If note does, `noteinrhythm()' sets
     its time, velocity, and duration fields to that of the rhythm beat.

     Set clip to 0 to automatically use the master Song Parameters.

SEE
     See nextrhythmbeat().