Math formulas

From MusicIn2D

Jump to: navigation, search
Home < Math formulas

Contents

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:
LaTeX: \left \langle p_1, p_2,~ \dots~ p_{n-1}, p_n \right \rangle


V = the ordered set of durations v:
LaTeX: \left \langle v_1, v_2,~ \dots~ v_{n-1}, v_n \right \rangle


Important Cardinalities

LaTeX: |P| = the number of pitch classes in a sequence

LaTeX: |V| = 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:
LaTeX: b = yZ(v)


Where b represents the number of beats in a sequence with durations V:
LaTeX: b = \sum_{v \in V} yZ(v)


Time Functions

Composition Length in Seconds

LaTeX: c =  \left \lceil \; \left (\; \sum_{v \in V} (yZ)(v) \left ( \frac{C}{t} \right ) \right )^d \; \right \rceil


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:
LaTeX: I_n = (\,(n-1)-(x-1)+7\,)\,(\bmod\,7) + 1


Reference