神刀安全网

Deepjazz: ai-generated jazz music

Deepjazz: ai-generated jazz music

Using Keras & Theano for deep learning driven jazz generation

I built deepjazz in 36 hours for HackPrinceton, Spring 2016. It uses Keras & Theano, two deep learning libraries, to generate jazz music. Specifically, it builds a two-layer LSTM , learning from the given MIDI file. It uses deep learning, the AI tech that powers Google’s AlphaGo and IBM’s Watson , to make music — something that’s considered as deeply human .

Deepjazz: ai-generated jazz music

Check out deepjazz’s music on SoundCloud !

Dependencies

Instructions

Run on CPU with command:

python generator.py [# of epochs] 

Run on GPU with command:

THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32 python generator.py [# of epochs] 

Note: preprocess.py must be modified to work with other MIDI files (the relevant "melody" MIDI part needs to be selected). The ability to handle this natively is a planned feature.

Author

Ji-Sung Kim

Princeton University, Department of Computer Science

jisungk@princeton.edu

Citations

This project develops a lot of preprocessing code (with permission) from Evan Chow’sjazzml. Thank you Evan ! Public examples from theKeras documentation were also referenced.

Code License, Media Copyright

Code is licensed under the Apache License 2.0

Images and other media are copyrighted (Ji-Sung Kim)

转载本站任何文章请注明:转载至神刀安全网,谢谢神刀安全网 » Deepjazz: ai-generated jazz music

分享到:更多 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
分享按钮