create account

My Expedition to Machine-Generated Music Using Tensorflow Magenta Part 2: Linkin Park Continued by ehf

View this thread on steemit.com
· @ehf · (edited)
$6.05
My Expedition to Machine-Generated Music Using Tensorflow Magenta Part 2: Linkin Park Continued
#### Repository
https://github.com/tensorflow/magenta

#### Introduction
If you have not read the [first post](https://steemit.com/utopian-io/@ehf/my-expedition-to-machine-generated-music-using-tensorflow-magenta-part-1-linkin-park) of the series, please read it before reading this post. 

I have tried using two NVIDIA Tesla V100 16GB SXM2 GPUs and the MusicVAE model (https://magenta.tensorflow.org/music-vae) to generate music based on MIDI files of songs from the albums of Linkin Park. 

The first trained model showed that a computer could generate harmonic (or should I say normal) music, but the sample size was too small to generate original music. (Quiz: what was the most predominant Hybrid Theory/Meteora song on the first samples?)

Because of this, I have gone further and expanded the sample size of Linkin Park songs to 42 songs from all seven Linkin Park albums. 

This is a blog post in the format of project promotion post, supported by Utopian.io. 

#### Post Body

The methodology did not differ much from the first post, so please consult the [first post](https://steemit.com/utopian-io/@ehf/my-expedition-to-machine-generated-music-using-tensorflow-magenta-part-1-linkin-park) for how you can do this yourself. 

This time, it also took me around a week on one Tesla V100 16GB SXM2 GPU using `--hparams=batch_size=32,learning_rate=0.0005`, same as the first run. Ten samples were generated this time. 

This time, the music samples were quite original while it did remind me of what Linkin Park would have composed. 

The accuracy of the model did not increase fast as the first model, and it increased gradually until the 200k steps finished. 

Apart from that, the result was quite impressing. 

![image.png](https://ipfs.busy.org/ipfs/QmUL9Q6Jbs2qdFcrzx2aBveRHC9cHyXMxhyZ13rWnD8KSr)
![image.png](https://ipfs.busy.org/ipfs/QmSLbFr7gdKqKc7zhr1q4FqhGrMvf8jnMoQj2HGonkvuwN)
![image.png](https://ipfs.busy.org/ipfs/QmZUCpd4i4vAA3bQPefw3TSzpMvY56KXk93SktkHST7UVF)
![image.png](https://ipfs.busy.org/ipfs/QmTURtfxpUrDQqzjZtugKYwLHwY1h4mja9HRYgtTrXY4UX)
![image.png](https://ipfs.busy.org/ipfs/QmXoM6GKV3VaeFtYot7H17p8eWn7uHZMzW3Uyysa9bD7v4)
![image.png](https://ipfs.busy.org/ipfs/QmYAyHSzXkkvPc3XmuZ1ntDHyb6F3rbLJB1cMF2CR6FipN)
![image.png](https://ipfs.busy.org/ipfs/QmPnKJgpLyRJ7Sg4NajTXRdANqCksUBLZFTEoSR61SsEkW)
![image.png](https://ipfs.busy.org/ipfs/Qmd9ph6QVPC9pmuajwqeJ9ZYwjjj5BC8SPr8DcJqqgiGq2)
![image.png](https://ipfs.busy.org/ipfs/QmQHtivQYrzsL7DJ6wqBov3Njs6ePwYFw51zbMKgJxPxqX)
![image.png](https://ipfs.busy.org/ipfs/QmZLGFvfoTfrkPHVsyiYasGWLJfVqpbdxkQ4JGE6LrCQZv)

The results are available [Here](https://archive.org/details/lpmagentagen2).

![image.png](https://ipfs.busy.org/ipfs/QmPHd76CRaBq5NpZCrD4rjipki88uekzTUE1DzLFS5rXAc)
I can feel them while listening to these samples. Don't you?

If you want to generate new music using this trained model, [Download the Checkpoint from Here](https://archive.org/download/lpmagentagen2/model.ckpt-200000.tar.gz) and use Tensorflow Magenta to generate using [This Command](https://github.com/tensorflow/magenta/tree/master/magenta/models/music_vae#sample). 
You can also interpolate with other Midi files to add a taste of Linkin Park to other music. 

Next time, I will be back with some different artists, or combinations of different artists using the MusicVAE model of Tensorflow Magenta. 

I will also perform a detailed analysis of models trained from now on using Tensorboard. 

#### Resources
MusicVAE model (https://magenta.tensorflow.org/music-vae) in Tensorflow Magenta (https://github.com/tensorflow/magenta)  
FreeMidi.org (https://freemidi.org/)  
FLAC Synthesizer by Musescore (https://musescore.com/ or https://github.com/musescore/MuseScore)

#### Series Backlinks
This is the second post of a series of blog posts on Machine-Generated Music. The collection of posts will expand based on new selections on genres and music artists or bands. 

https://steemit.com/utopian-io/@ehf/my-expedition-to-machine-generated-music-using-tensorflow-magenta-part-1-linkin-park
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 185 others
properties (23)
post_id74,991,675
authorehf
permlinkmy-expedition-to-machine-generated-music-using-tensorflow-magenta-part-2-linkin-park-continued
categoryutopian-io
json_metadata{"community":"busy","app":"busy\/2.5.6","format":"markdown","tags":["utopian-io","blog","tensorflow","magenta","music"],"users":["ehf"],"links":["https:\/\/github.com\/tensorflow\/magenta","https:\/\/steemit.com\/utopian-io\/@ehf\/my-expedition-to-machine-generated-music-using-tensorflow-magenta-part-1-linkin-park","https:\/\/magenta.tensorflow.org\/music-vae","https:\/\/steemit.com\/utopian-io\/@ehf\/my-expedition-to-machine-generated-music-using-tensorflow-magenta-part-1-linkin-park","https:\/\/archive.org\/details\/lpmagentagen2","https:\/\/archive.org\/download\/lpmagentagen2\/model.ckpt-200000.tar.gz","https:\/\/github.com\/tensorflow\/magenta\/tree\/master\/magenta\/models\/music_vae#sample","https:\/\/magenta.tensorflow.org\/music-vae","https:\/\/freemidi.org\/","https:\/\/musescore.com\/"],"image":["https:\/\/ipfs.busy.org\/ipfs\/QmUL9Q6Jbs2qdFcrzx2aBveRHC9cHyXMxhyZ13rWnD8KSr","https:\/\/ipfs.busy.org\/ipfs\/QmSLbFr7gdKqKc7zhr1q4FqhGrMvf8jnMoQj2HGonkvuwN","https:\/\/ipfs.busy.org\/ipfs\/QmZUCpd4i4vAA3bQPefw3TSzpMvY56KXk93SktkHST7UVF","https:\/\/ipfs.busy.org\/ipfs\/QmTURtfxpUrDQqzjZtugKYwLHwY1h4mja9HRYgtTrXY4UX","https:\/\/ipfs.busy.org\/ipfs\/QmXoM6GKV3VaeFtYot7H17p8eWn7uHZMzW3Uyysa9bD7v4","https:\/\/ipfs.busy.org\/ipfs\/QmYAyHSzXkkvPc3XmuZ1ntDHyb6F3rbLJB1cMF2CR6FipN","https:\/\/ipfs.busy.org\/ipfs\/QmPnKJgpLyRJ7Sg4NajTXRdANqCksUBLZFTEoSR61SsEkW","https:\/\/ipfs.busy.org\/ipfs\/Qmd9ph6QVPC9pmuajwqeJ9ZYwjjj5BC8SPr8DcJqqgiGq2","https:\/\/ipfs.busy.org\/ipfs\/QmQHtivQYrzsL7DJ6wqBov3Njs6ePwYFw51zbMKgJxPxqX","https:\/\/ipfs.busy.org\/ipfs\/QmZLGFvfoTfrkPHVsyiYasGWLJfVqpbdxkQ4JGE6LrCQZv","https:\/\/ipfs.busy.org\/ipfs\/QmPHd76CRaBq5NpZCrD4rjipki88uekzTUE1DzLFS5rXAc"]}
created2019-05-19 11:07:18
last_update2019-05-19 11:25:15
depth0
children5
net_rshares10,612,854,887,193
last_payout2019-05-26 11:07:18
cashout_time1969-12-31 23:59:59
total_payout_value4.579 SBD
curator_payout_value1.472 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length4,063
author_reputation563,781,876,903
root_title"My Expedition to Machine-Generated Music Using Tensorflow Magenta Part 2: Linkin Park Continued"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (249)
@minnowsupport ·
<p>Congratulations!  This post has been upvoted from the communal account, @minnowsupport, by ehf from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows.  Please find us at the <a href="https://discord.gg/HYj4yvw"> Peace, Abundance, and Liberty Network (PALnet) Discord Channel</a>.  It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.</p> <p>If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=minnowsupport&amp;vesting_shares=102530.639667%20VESTS">50SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=minnowsupport&amp;vesting_shares=205303.639667%20VESTS">100SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=minnowsupport&amp;vesting_shares=514303.639667%20VESTS">250SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=minnowsupport&amp;vesting_shares=1025303.639667%20VESTS">500SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=minnowsupport&amp;vesting_shares=2053030.639667%20VESTS">1000SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&amp;delegatee=minnowsupport&amp;vesting_shares=10253030.639667%20VESTS">5000SP</a>. <br><strong>Be sure to leave at least 50SP undelegated on your account.</strong></p>
properties (22)
post_id74,995,406
authorminnowsupport
permlinkre-my-expedition-to-machine-generated-music-using-tensorflow-magenta-part-2-linkin-park-continued-20190519t125131z
categoryutopian-io
json_metadata{"app":"beem\/0.20.20"}
created2019-05-19 12:51:30
last_update2019-05-19 12:51:30
depth1
children0
net_rshares0
last_payout2019-05-26 12:51:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,686
author_reputation89,353,405,873,727
root_title"My Expedition to Machine-Generated Music Using Tensorflow Magenta Part 2: Linkin Park Continued"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@tykee ·
$5.10
Thank you for sharing your progress on the Tensorflow Magenta project.

However, the post had the same issues as the previous one I reviewed. I wish the post had been more detailed and informative. The content is like the summary of the things you've done on the project. I would recommend that you try to make your post more comprehensive.


Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/1/2-4-3-3-3-3-4-).

---- 
Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm).

[[utopian-moderator]](https://join.utopian.io/)
πŸ‘  , , , , , , , , , , , , , , , , , , , ,
properties (23)
post_id75,098,918
authortykee
permlinkre-ehf-my-expedition-to-machine-generated-music-using-tensorflow-magenta-part-2-linkin-park-continued-20190521t115258703z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https:\/\/join.utopian.io\/guidelines","https:\/\/review.utopian.io\/result\/1\/2-4-3-3-3-3-4-","https:\/\/discord.gg\/uTyJkNm","https:\/\/join.utopian.io\/"],"app":"steemit\/0.1"}
created2019-05-21 11:53:00
last_update2019-05-21 11:53:00
depth1
children1
net_rshares8,807,217,358,188
last_payout2019-05-28 11:53:00
cashout_time1969-12-31 23:59:59
total_payout_value3.906 SBD
curator_payout_value1.194 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length791
author_reputation129,154,966,501,488
root_title"My Expedition to Machine-Generated Music Using Tensorflow Magenta Part 2: Linkin Park Continued"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (21)
@utopian-io ·
Thank you for your review, @tykee! Keep up the good work!
properties (22)
post_id75,254,448
authorutopian-io
permlinkre-re-ehf-my-expedition-to-machine-generated-music-using-tensorflow-magenta-part-2-linkin-park-continued-20190521t115258703z-20190524t085034z
categoryutopian-io
json_metadata{"app":"beem\/0.20.17"}
created2019-05-24 08:50:36
last_update2019-05-24 08:50:36
depth2
children0
net_rshares0
last_payout2019-05-31 08:50:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length57
author_reputation151,356,124,843,620
root_title"My Expedition to Machine-Generated Music Using Tensorflow Magenta Part 2: Linkin Park Continued"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steem-ua ·
$0.03
#### Hi @ehf!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
**Feel free to join our [@steem-ua Discord server](https://discord.gg/KpBNYGz)**
πŸ‘  
properties (23)
post_id75,099,430
authorsteem-ua
permlinkre-my-expedition-to-machine-generated-music-using-tensorflow-magenta-part-2-linkin-park-continued-20190521t120258z
categoryutopian-io
json_metadata{"app":"beem\/0.20.19"}
created2019-05-21 12:02:57
last_update2019-05-21 12:02:57
depth1
children0
net_rshares46,028,317,379
last_payout2019-05-28 12:02:57
cashout_time1969-12-31 23:59:59
total_payout_value0.019 SBD
curator_payout_value0.006 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length282
author_reputation21,434,389,143,640
root_title"My Expedition to Machine-Generated Music Using Tensorflow Magenta Part 2: Linkin Park Continued"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@utopian-io ·
Hey, @ehf!

**Thanks for contributing on Utopian**.
We’re already looking forward to your next contribution!

**Get higher incentives and support Utopian.io!**
 Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via [SteemPlus](https://chrome.google.com/webstore/detail/steemplus/mjbkjgcplmaneajhcbegoffkedeankaj?hl=en) or [Steeditor](https://steeditor.app)).

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
properties (22)
post_id75,100,089
authorutopian-io
permlinkre-my-expedition-to-machine-generated-music-using-tensorflow-magenta-part-2-linkin-park-continued-20190521t121536z
categoryutopian-io
json_metadata{"app":"beem\/0.20.17"}
created2019-05-21 12:15:39
last_update2019-05-21 12:15:39
depth1
children0
net_rshares0
last_payout2019-05-28 12:15:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length585
author_reputation151,356,124,843,620
root_title"My Expedition to Machine-Generated Music Using Tensorflow Magenta Part 2: Linkin Park Continued"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000