Browse Source

merged with git version

master
Raphael Roberts 7 years ago
parent
commit
9338460969
  1. 6
      README.md
  2. 6
      convert.py

6
README.md

@ -1,2 +1,4 @@
# tuba_values
# Welcome
If you happened to stumbled upon this page, you will see my attempt at creating a program with two goals in mind:
1. Create a utility for converting a given section of (hopefully) midi to fingerings with a specified fundamental
2. Create a high level library for minipulation with notes (probably should move that to it's own seperate project)

6
convert.py

@ -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':

Loading…
Cancel
Save