Crate musicbox

Source

Modules§

chord_depr
fetchuser
instrument
makam
mubot
natural_musicbox
notary
notation
note
scales
score

Structs§

MusicBox
Core data.

Constants§

PIANO
SCOPE
Adjusts quantity of notes in hashmap
TONIC
Recently changed such that the A0 corresponds to the lowest note on a piano. Therefore middle-c is C3

Functions§

_0
[0]Tonic
_1
[1]Semitone
_2
[2]Wholetone
_3
[3]Minor3
_4
[4]Major3
_5
[5]Fourth(prime)inv[7]
_6
[6]Tritone***
_7
[7] Fifth(prime)inv[5],
_8
[8]Inverse[4]&&AugFifth
_9
[9]Inverse[3]Major6
_a
[a] Octave(prime)
_b
[b] Minor9(invert[9])
_c
[c] Major9(invert[x])
_d
[d] Sharp9(invert[9])
_e
[e] Tenth(invert[8])
_f
[f] Eleventh(invert[7])
_g
[g] Sharp11(invert[6])
_h
[h] Twelfth(inv[5])
_i
[i] Flat13(invert[4])
_j
[j] Thirteen(inv[3])
_k
[k] Sharp13(inv[2])
_l
[l] Flat15 (invert[1])
_m
[m] Fifteen && DoubleOctave
_x
[x]Inverse[2]Dominant7
_y
[y]Inverse[1]Major7&&LeadTone
eigth_tone
experimental for cultural appreciation Calculate 8th of a Wholetone
phi
The golden Ratio
quartertone
For Makam Calculate stacked Quartertones result
semitone
Western theory function takes in a tonic frequency and returns the frequency corresponding to: Interval_frequency(degree) = TONIC* 2.0^(degree/12)
sixteenth_tone
Deeper cultural appreciation, Also the sound can be said to vary by an amount 2^N, where N is the scope of detail. Calculate 16th of a Wholetone
three4tone
Arabian music uses quartertones Calculate (Wholetone - Quartertone) *degree