Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
yiler-music-with-code [2024/06/19 18:03] – yiler.huang | yiler-music-with-code [2024/06/19 18:49] (current) – yiler.huang | ||
---|---|---|---|
Line 9: | Line 9: | ||
Konduktiva utilizes a system called Quantized maps. A Quantized map is like a scheduler for events or information, | Konduktiva utilizes a system called Quantized maps. A Quantized map is like a scheduler for events or information, | ||
- | Users can use this line of code to input the chord progression of John Coltrane' | + | Users can use this block of code to input the chord progression of John Coltrane' |
<code javascript> | <code javascript> | ||
Line 27: | Line 27: | ||
</ | </ | ||
- | ===== Generating Chord Progressions | + | ===== Music Generation |
- | ===== Generating | + | ==== Generating |
+ | I made an algorithm that is capable of generating chord progressions based on the " | ||
+ | A short demo of chord progression generation: | ||
+ | |||
+ | < | ||
+ | <iframe width=" | ||
+ | </ | ||
+ | |||
+ | ==== Generating Melodies ==== | ||
+ | |||
+ | I also made an algorithm that can generate melodies based on probabilities and mathematical rules. Users can decide what key the melody is in, the length of the melody, and the scale the algorithm uses to generate the melody. | ||
+ | |||
+ | Here is a demo of a generated melody based on the A minor harmonic minor scale: | ||
+ | |||
+ | < | ||
+ | <iframe width=" | ||
+ | </ |