18
Cluster 9 Satvik N, Elena A, Conan L Cluster 9 Satvik N, Elena A, Conan L

Cluster 9 - University of California, San Diego

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Cluster 9 - University of California, San Diego

Cluster 9 ☁Satvik N, Elena A, Conan L

Cluster 9 ☁Satvik N, Elena A, Conan L

Page 2: Cluster 9 - University of California, San Diego

The Objective

Generate music using machine learning.

Page 3: Cluster 9 - University of California, San Diego

HypothesisWe can utilize the GAN model to generate music, by training the algorithm on chroma and piano roll pairs.

Page 4: Cluster 9 - University of California, San Diego

GenerativeAdversarialNetwork

What is a GAN?

Page 5: Cluster 9 - University of California, San Diego

EXAMPLE

Page 6: Cluster 9 - University of California, San Diego

The Concept● As the generator gets better at coloring the

image, the discriminator gets better at detecting which one is the fake/original.○ Positive feedback loop

● The end product is a generator that can make images that appear real

● We theorize that we can use the same model to generate music.

Page 7: Cluster 9 - University of California, San Diego

PHASE 1TRAINING THE GAN - Successfully generate

music using chromas

Page 8: Cluster 9 - University of California, San Diego

Chromas encapsulate the chords and general prevalence of notes in a song. Chroma puts every note on a 12 value spectrum to provide a visual representation of the notes in a musical piece.

Page 9: Cluster 9 - University of California, San Diego

Training Data122 songs, all transposed to the key of C/Am, with their respective chromas

Page 11: Cluster 9 - University of California, San Diego

357,000 Epochs Later...

Page 12: Cluster 9 - University of California, San Diego

PHASE 2USE THE GENERATOR - Convert music in other

genres to pop

Page 13: Cluster 9 - University of California, San Diego

ExtensionConvert music in one style (i.e. classical) into another genre.

Page 14: Cluster 9 - University of California, San Diego

Because the GAN has only been exposed to pop music, the chroma that the user inputs will be made into a piano score in the style of pop.

Page 15: Cluster 9 - University of California, San Diego

Our Demo

https://soundcloud.com/conan-lu/sets/ganmidi

Page 16: Cluster 9 - University of California, San Diego

Conclusion● Hypothesis somewhat supported by success

in converting Canon in D● A variety of music genres with several pieces

must be tested to truly test our hypothesis● Future development: train the computer

extensively and manually adjust the GAN algorithm to match our needs

● Learned a lot about machine learning, music theory, and working with Python

Page 17: Cluster 9 - University of California, San Diego

AcknowledgementsWe’d like to thank all of the people who have taught us in these last four weeks and helped us with our final project:

● Shlomo Dubnov, professor of Computer Music at UCSD● Jacob Sundstrom, Ph.D student of computer music● Mauricio de Oliveira, professor of Mechanical & Aerospace Engineering at UCSD● Aren Akian, Ph.D student of computer science● Gualter Moura, teacher fellow● Everyone from Cluster 9 ☁

● and viewers like you :)

Page 18: Cluster 9 - University of California, San Diego

Questions?