Live data from Hacker News

LSTM Neural Network that tries to write piano melodies similar to Bach's (2016)

github.com

1–10 of 13 posts

Re: LSTM Neural Network that tries to write piano melodies similar to Bach's (2016)

#5
Very cool, you might be interested in an open source chord-melody dataset I’m hand curating for generating pop melodies:

https://github.com/shiehn/chord-melody-dataset. I’m feeding into LSTM’s and and its working quite well in my system :)

http://treblemaker.ai/

Re: LSTM Neural Network that tries to write piano melodies similar to Bach's (2016)

#6
Glad to see people posting links to music modeling projects - it's a huge space, and a ton of fun to actively work on or just mess with if you like music and code. Even simple markov models can get someplace with a bit of tweaking [0][1].

If you like this, you might like some more recent work from Anna huang et. al. at Magenta, using a modified Transformer network [2][3].

Some other relevant reading includes DeepBach [4][5], and outside the domain of Bach alone, the venerable folkRNN [6]. There's a huge chain of work I posted a while back here [7], and Kyle McDonald wrote a really great review piece here [8].

Modeling music in latent spaces has also seen a number of recent publications [9][10][11], and having smooth latent spaces for generation seems (to me) to be a very natural interface for manipulating things, which has a natural analogue in "real" composition, cool video at [12].

There have also been some really fun online demos for interacting with these types of systems [13]

There's a lot of interesting work going on in music modeling, hopefully leading to new and interesting musical tools and toys. Interactivity (often via clever conditioning) can really change the way you approach these types of problems [14].

[0] https://github.com/kastnerkyle/magenta/tree/my_cleanup_branc...

[1] https://www.youtube.com/watch?v=Ay8mHW0-NW8&list=PLRMa_gJ8vx...

[2] https://twitter.com/kastnerkyle/status/1018617315196309504

[3] https://arxiv.org/abs/1809.04281

[4] https://www.flow-machines.com/archives/deepbach-polyphonic-m...

[5] https://github.com/Ghadjeres/DeepBach

[6] https://github.com/IraKorshunova/folk-rnn

[7] https://news.ycombinator.com/item?id=14822281

[8] https://medium.com/artists-and-machine-intelligence/neural-n...

[9] https://storage.googleapis.com/magentadata/papers/multitrack...

[10] https://magenta.tensorflow.org/music-vae

[11] https://www.youtube.com/watch?v=BbyvbO2F7ug

[12] https://www.youtube.com/watch?v=A8d-PUuUJnA

[13] https://codepen.io/teropa/

[14] https://twitter.com/chrisdonahuey/status/1051868153700016128

Re: LSTM Neural Network that tries to write piano melodies similar to Bach's (2016)

#9
Cool! Music generated by neural networks is such an interesting field.

Me and some friends also had a go at it. We used two different datasets, one from Bach and one from Final Fantasy. In contrast to many other approaches, we allowed chords as well as playing multiple notes at the same time (not necessarily the same as playing a chord). You can find some results here: https://github.com/HalfVoxel/deep-piano (they are definitely cherry-picked, but it worked out quite well overall imo).

Re: LSTM Neural Network that tries to write piano melodies similar to Bach's (2016)

#10
post #8

Btw I just noticed that he's the same guy whose work on GAN was used by an art collective, and the resulting image sold for $14k. https://twitter.com/DrBeef_/status/1055285640420483073

$432k, actually!

https://www.nytimes.com/2018/10/25/arts/design/ai-art-sold-c...

Post reply on HN