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 17:57] – yiler.huang | yiler-music-with-code [2024/06/19 18:49] (current) – yiler.huang | ||
---|---|---|---|
Line 7: | Line 7: | ||
In Konduktiva, users are allowed to input chord progressions using Roman numerals and melodies using relative semitone. This makes it possible to recreate existing songs using Konduktiva. | In Konduktiva, users are allowed to input chord progressions using Roman numerals and melodies using relative semitone. This makes it possible to recreate existing songs using Konduktiva. | ||
- | Giant Steps by John Coltrane played with Konduktiva | + | Konduktiva utilizes a system called Quantized maps. A Quantized map is like a scheduler for events or information, |
+ | |||
+ | Users can use this block of code to input the chord progression of John Coltrane's Giant Steps into Konduktiva: | ||
+ | |||
+ | <code javascript> | ||
+ | addChordProgressionFromRomanNumeral(e, | ||
+ | </ | ||
+ | |||
+ | Giant Steps played with Konduktiva: | ||
< | < | ||
Line 13: | Line 21: | ||
</ | </ | ||
- | Because Konduktiva uses MIDI signal to communicate with MIDI instruments, | + | Because Konduktiva uses MIDI signal to communicate with MIDI instruments, |
< | < | ||
Line 19: | 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=" | ||
+ | </ |