|
|
|
@ -46,13 +46,13 @@ def complex_note_name(n,note,notation='auto',overkill= False): |
|
|
|
raise ValueError('Notation flag is either "sharps","auto" or "flats."') |
|
|
|
if type(note) == str: |
|
|
|
note = note.upper() |
|
|
|
desired_note = inotes[note] |
|
|
|
d_n = inotes[note] |
|
|
|
else: |
|
|
|
desired_note = note |
|
|
|
d_n = note |
|
|
|
note = notes[note] |
|
|
|
|
|
|
|
octave = n//12 |
|
|
|
modify_n = (n-desired_note)%12 |
|
|
|
modify_n = (n-d_n)%12 |
|
|
|
|
|
|
|
#complex bit |
|
|
|
if notation == 'flats': |
|
|
|
|