Math formulas
From MusicIn2D
Home < Math formulasContents |
Variable Reference
Variables
- b = number of beats
- c = true length of a composition expressed in seconds
- d = number of dimensions
- m = number of measures
- n = number of notes
- p = modal pitch class (i.e. scale degree in relation to the tonic)
- s = number of sections
- t = tempo
- v = duration value
- x = numerator of the time signature
- y = denominator of the time signature
Constants
- B = 120: the true time duration of a note with duration value v=1 in relation to MIDI tempo
- C = 60: the number of seconds in a minute, used for clarity when calculating T from bpm
- D = 480: the number of MIDI clock pulses per quarter note; 480 is standard
- Z = 1/16 or 16th note: the applied duration of a note with duration value v=1, where Z = ((B/D)/4)
Ordered Sets
P = the ordered set of modal pitch classes p composing a sequence:
V = the ordered set of durations v:
Important Cardinalities
= the number of pitch classes in a sequence
= the number of duration values in a duration set
Counting Functions
Beats
Where b represents the number of beats in a note with duration v:
Where b represents the number of beats in a sequence with durations V:
Time Functions
Composition Length in Seconds
Permutations
Modal Inversion
Where x is a modal pitch class, and n is a mode of the tonic scale acting as the focal point for reflection:


