diff --git a/README.md b/README.md index 4fbcb20..a8c553a 100644 --- a/README.md +++ b/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) diff --git a/convert.py b/convert.py index cd8c90c..e09079d 100644 --- a/convert.py +++ b/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':