Miusic
Alright next resource is https://medium.com/@stevehiehn/how-to-generate-music-with-python-the-basics-62e8ea9b99a5 which is the generator of Midi through code, I'm probably gonna put a couple of posts on this since part of the process is remembering music theory basics.
The program we are developing uses 2 different packages with different sets of tools:
mingus is a package that recognizes musical notation and generates components based on user input. For example, the package recognizes each note in a chord for example and can output the notes necessary to make them.
result = chords.from_shorthand("Cmaj7")
print(result)
shows
['C', 'E', 'G', 'B'] as an output
The second package, MIDIFile, generates Midi files that can be reproduced using a DAW, these MIDI files can be personalized for each note and compositions have can be built upon through the system.
The resource does a shallow dive into the capabilities of this tools and I'll do a bigger analysis into each part of it like I did with the Speech Recognition one, but for now I thought it would be important to record part of the process or the possible result.
Comments
Post a Comment