-
-
Notifications
You must be signed in to change notification settings - Fork 129
Introduction of musicpy algorithms module
Rainbow Dreamer edited this page Jul 14, 2022
·
3 revisions
There are some music analysis algorithms I am developing based on musicpy, you can find them in the algorithms module in musicpy package.
The algorithms module is imported in musicpy as alg
as default, so you can use the musicpy algorithms module like:
import musicpy as mp
chord_type = mp.alg.detect(chord('C,E,G,B'))
>>> print(chord_type)
Cmaj7
# detect function is one of the music analysis algorithms in the algorithms module
Most of the music analysis algorithms in the algorithms module are still under development, and I will try to document some of the relatively developed algorithms in my spare time.
- Basic syntax of note type
- Basic syntax of chord type
- Basic syntax of scale type
- Basic syntax of piece type
- Basic syntax of track type
- Basic syntax of tempo type
- Basic syntax of pitch_bend type
- Basic syntax of pan type
- Basic syntax of volume type
- Basic syntax of drum type
- Basic syntax of rhythm type
- Musicpy composition code examples Part 1
- Musicpy composition code examples Part 2
- Musicpy composition code examples Part 3
- Introduction of musicpy algorithms module
- The algorithm to split the main melody and chords from a piece of music
- The algorithm to determine the chord type of any group of notes according to the logic of music theory
- The algorithm to analyze the chord progressions of a piece of music
- The algorithm to analyze tonality and modulations in a piece of music