Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key id/develop #2

Merged
merged 12 commits into from
May 26, 2020
Merged

Key id/develop #2

merged 12 commits into from
May 26, 2020

Conversation

iamdlfl
Copy link
Owner

@iamdlfl iamdlfl commented May 26, 2020

The key ID feature is in a working, if very rudimentary, state. I have also made some updates to other features of this program and want to incorporate all of it back into the develop branch so that I can have access to these features if I want to develop a different feature.

iamdlfl added 10 commits May 21, 2020 14:06
Created function and lists to capture the chords used in songfile (using regxs) and then put those into a dictionary. This will later be used to define the key.
changed order of creating the new transposed file, so that empty files wouldn't be created if there is a traceback earlier in the program
Added lists of notes and scales
Finished a basic key test that returns the key of the original file in a print statement.
Also added a list of sus chords (not sus4).
Also stripped trailing whitespace that appeared in the transposed song files (line 524)
Added 'anothersong.txt' to use as another test of this program.
Updated key_test_final() docstring
Wrote a couple of lines to strip away the "/Y" part of "X/Y" chords. Plan to implement incorporation of these chords in transposing later.
Also updated docstrings.
@iamdlfl iamdlfl merged commit 93d87e4 into develop May 26, 2020
iamdlfl added 2 commits May 25, 2020 23:05
Added a function to test if minor chords are the most popular chord in the song.
Updated regex for chords in keytest.
Added comment for regex for X/Y chords.
updated docstrings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant