yiler-music-with-code

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
yiler-music-with-code [2024/06/19 18:03] yiler.huangyiler-music-with-code [2024/06/19 18:49] (current) yiler.huang
Line 27: Line 27:
 </html> </html>
  
-===== Generating Chord Progressions =====+===== Music Generation =====
  
-===== Generating Melodies =====+==== Generating Chord Progressions ====
  
 +I made an algorithm that is capable of generating chord progressions based on the "stableness" of each chord. The more stable a chord is, the more likely the next chord is going to be an unstable one, and the more unstable a chord is, the more likely the next chord is going to be a stable one. This function also utilizes chord substitution methods such as secondary dominant, tritone substitution, and minor subdominant.
  
 +A short demo of chord progression generation:
 +
 +<html>
 +<iframe width="560" height="315" src="https://www.youtube.com/embed/QRLCv_l8ok0?si=g-Mh3z9FTQyrH6ns" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
 +</html>
 +
 +==== 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: 
 +
 +<html>
 +<iframe width="560" height="315" src="https://www.youtube.com/embed/HekrBu0gio4?si=756uTBzCPpqBAHsh" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
 +</html>
  • yiler-music-with-code.1718845409.txt.gz
  • Last modified: 2024/06/19 18:03
  • by yiler.huang