avantol13 / mgen Goto Github PK
View Code? Open in Web Editor NEWGenerate randomized musical compositions based on probabilities.
License: GNU General Public License v3.0
Generate randomized musical compositions based on probabilities.
License: GNU General Public License v3.0
Need to add more descriptions about accepted input for chords, keys, and timings for easier user input and use.
Choice of musical key will sometimes result in None, resulting in an error when trying to strip spaces from the key using .replace()
Check edge cases for key choice.
Time Signature: (4, 4)
Key: a
Scale: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'A']
Progression: ['I', 'V', 'vi', 'iii']
--------------------------------- Bar 0 ----------------------------------
Melody Timing: [[8], [4], [4], [16, 16, 16, 16], [16, 16]]
Chosen Notes: ['E', 'D', 'A', None, 'A', None, 'G', 'G', 'D']
TESTING STUFF...
[[0.0, ['E']], [0.125, ['D']], [0.375, ['A']], [0.6875, ['A']], [0.8125, ['G']], [0.875, ['G']], [0.9375, ['D']]]
Traceback (most recent call last):
File "C:\Users\TheGoobster\Documents\GitHub\music_generator\main.py", line 120, in
main()
File "C:\Users\TheGoobster\Documents\GitHub\music_generator\main.py", line 102, in main
melody_track = create.create_melody_track(num_bars, config['key'], time_signature)
File "C:\Users\TheGoobster\Documents\GitHub\music_generator\music_generator\create.py", line 61, in create_melody_track
print(bar_to_add.determine_progression(shorthand=True))
File "C:\Users\TheGoobster\Documents\GitHub\music_generator\mingus\containers\bar.py", line 197, in determine_progression
self.key.key, shorthand)])
File "C:\Users\TheGoobster\Documents\GitHub\music_generator\mingus\core\progressions.py", line 151, in determine
(interval_type, interval) = intervals.determine(key, name).split(' ')
File "C:\Users\TheGoobster\Documents\GitHub\music_generator\mingus\core\intervals.py", line 356, in determine
n1 = notes.fifths.index(note1[0])
ValueError: 'a' is not in list
Dependabot couldn't authenticate with https://pypi.python.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
Dependabot can't evaluate your Python dependency files.
As a result, Dependabot couldn't check whether any of your dependencies are out-of-date.
The error Dependabot encountered was:
InstallationError("Invalid requirement: 'GNU GENERAL PUBLIC LICENSE'\n",)
You can mention @dependabot in the comments below to contact the Dependabot team.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.