coltrane v0.0.1 Coltrane.Theory.Frequency

Frequencies measure an relatively constant rate of oscilation of an elastic object, be it a string, drum or air.

Link to this section Summary

Functions

This function changes the octave of a frequency

Link to this section Functions

Link to this function shift_octave(frequency, ammount)

This function changes the octave of a frequency

Examples

iex> Frequency.shift_octave(110, 1)
220.0

iex> Frequency.shift_octave(110, 2)
440.0

iex> Frequency.shift_octave(440, -4)
27.5