{"id":883,"date":"2024-09-22T15:16:31","date_gmt":"2024-09-22T15:16:31","guid":{"rendered":"https:\/\/andrew-may.com\/blog\/?p=883"},"modified":"2024-09-22T15:16:34","modified_gmt":"2024-09-22T15:16:34","slug":"a-few-more-experiments-in-creative-ai","status":"publish","type":"post","link":"https:\/\/andrew-may.com\/blog\/2024\/09\/a-few-more-experiments-in-creative-ai\/","title":{"rendered":"A few more experiments in creative AI"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/andrew-may.com\/blog\/wp-content\/uploads\/2024\/09\/ai-music-album-cover.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/andrew-may.com\/blog\/wp-content\/uploads\/2024\/09\/ai-music-album-cover.jpg\" alt=\"AI music album cover\" class=\"wp-image-875\" srcset=\"https:\/\/andrew-may.com\/blog\/wp-content\/uploads\/2024\/09\/ai-music-album-cover.jpg 1024w, https:\/\/andrew-may.com\/blog\/wp-content\/uploads\/2024\/09\/ai-music-album-cover-300x300.jpg 300w, https:\/\/andrew-may.com\/blog\/wp-content\/uploads\/2024\/09\/ai-music-album-cover-150x150.jpg 150w, https:\/\/andrew-may.com\/blog\/wp-content\/uploads\/2024\/09\/ai-music-album-cover-768x768.jpg 768w, https:\/\/andrew-may.com\/blog\/wp-content\/uploads\/2024\/09\/ai-music-album-cover-100x100.jpg 100w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure>\n\n\n\n<p>This is a sequel to a <a href=\"https:\/\/andrew-may.com\/blog\/2023\/05\/6-experiments-in-creative-ai\/\" data-type=\"link\" data-id=\"https:\/\/andrew-may.com\/blog\/2023\/05\/6-experiments-in-creative-ai\/\" target=\"_blank\" rel=\"noreferrer noopener\">blog post I wrote last year<\/a>, about the proliferation of free online tools that use AI to produce creative writing and imagery. Since then, I&#8217;ve made frequent use of the latter in particular, as it provides a quick and effortless way to obtain customized visuals for blog posts, videos etc. The results can often be strikingly imaginative, as in the above example from Bing Image Creator. The prompt in this case (for reasons that will become obvious in the course of this post) was &#8220;<strong>artwork for an album cover themed around ancient Egyptian mythology and space warfare<\/strong>&#8220;.<\/p>\n\n\n\n<p>Until recently, a notable omission among creative AI tools (at the &#8220;free&#8221; level, at least) was anything that could produce convincingly realistic musical compositions. You could ask an AI chatbot to &#8220;write a song&#8221;, but that only gave you the lyrics &#8211; you had to compose the music yourself. But fortunately that&#8217;s changed now, and there&#8217;s at least one really excellent tool that produces impressive results even in the free demo mode &#8211; <a href=\"https:\/\/aimusic.so\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/aimusic.so\/<\/a> .<\/p>\n\n\n\n<p>As with an AI image creator, all you have to do is type in a simple prompt and the AI does everything else for you &#8211; musical score, lyrics, electronic orchestration and synthesized voice. After a few initial experiments, the first prompt I tried that worked really well was &#8220;<strong>A symphonic metal song about the pyramids and mythology of ancient Egypt<\/strong>&#8220;. After working away for a few minutes, the AI then came back with not one but two different songs (both with the same lyrics). Here&#8217;s the first of them:<\/p>\n\n\n\n<figure class=\"wp-block-audio\"><audio controls src=\"https:\/\/andrew-may.com\/blog\/wp-content\/uploads\/2024\/09\/ai-music-pharaohs-wrath.mp3\"><\/audio><figcaption class=\"wp-element-caption\">Pharaoh&#8217;s Wrath (1st version)<\/figcaption><\/figure>\n\n\n\n<p>Musically, I think that&#8217;s a very impressive effort &#8211; just the balance I wanted between a hard rock sound in some places and a more sophisticated electronic sound in others. The AI-generated lyrics are pretty good too, but as they&#8217;re not very easy to make out, here they are in full:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>[Verse 1]<br>Serpent&#8217;s hiss; Anubis&#8217; gaze;<br>Jackals hunt; End of days;<br>Temple crumbles; Pharaoh&#8217;s might;<br>Horus&#8217; wings in endless flight.<\/p>\n\n\n\n<p>[Chorus]<br>Scepter falls; Blood-stained kings;<br>Cursed tombs and deathly rings;<br>Mortal souls; Gods&#8217; design;<br>Power divine; Sands of time.<\/p>\n\n\n\n<p>[Verse 2]<br>Ra&#8217;s inferno; Eyes ablaze;<br>In Isis&#8217; arms; Final praise;<br>Nile runs red; Fate&#8217;s cruel jest;<br>Pyramid&#8217;s heart; No rest.<\/p>\n\n\n\n<p>[Bridge]<br>Bones turn to dust; Heart weighs;<br>In Maat&#8217;s scale; No escape;<br>Eternal pain; Undead realm;<br>Crown and sword; Evil helm.<\/p>\n\n\n\n<p>[Verse 3]<br>Scarabs crawl; Shadows close;<br>Ancient lore; Royal foes;<br>Warlords rise; Slaves of old;<br>In death&#8217;s grasp; Embers cold.<\/p>\n<\/blockquote>\n\n\n\n<p>The second version of &#8220;Pharaoh&#8217;s Wrath&#8221; was generally less interesting than the first, but there were a couple of things near the end that I liked: a rather exotic instrumental that actually sounds quite &#8220;Egyptian&#8221;, and a nice dramatic ending. So here&#8217;s just the second half of v2:<\/p>\n\n\n\n<figure class=\"wp-block-audio\"><audio controls src=\"https:\/\/andrew-may.com\/blog\/wp-content\/uploads\/2024\/09\/ai-music-pharoahs-wrath-alternate-ending.mp3\"><\/audio><figcaption class=\"wp-element-caption\">Pharaoh\u2019s Wrath (2nd version, ending only)<\/figcaption><\/figure>\n\n\n\n<p>For a second experiment, I tried a more prescriptive prompt: &#8220;<strong>A military sci-fi song called Celestial Cyberstrike, male vocals, verses in heavy industrial metal style in D minor, but chorus in E minor in more melodic prog rock style<\/strong>&#8220;. I don&#8217;t think the result is quite as impressive as &#8220;Pharaoh&#8217;s Wrath&#8221;, but it&#8217;s still far better than anything I could do myself. The machine has made a reasonable effort to vary the style between the verse and chorus &#8211; and, judging by what my trusty <a href=\"https:\/\/apps.apple.com\/us\/app\/chord-ai-play-any-song\/id1446177109\" target=\"_blank\" rel=\"noreferrer noopener\">ChordAI <\/a>mobile app says, it pulled off the change of key too. Here&#8217;s the result:<\/p>\n\n\n\n<figure class=\"wp-block-audio\"><audio controls src=\"https:\/\/andrew-may.com\/blog\/wp-content\/uploads\/2024\/09\/ai-music-celestial-cyberstrike.mp3\"><\/audio><figcaption class=\"wp-element-caption\">Celestial Cyberstrike<\/figcaption><\/figure>\n\n\n\n<p>And for completeness, here are the lyrics:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>[Verse 1]<br>Battle cries echo through the void<br>Programmed rage soldiers deploy<br>Brutal code hearts are hollow joys<br>Man and machine nothing to destroy<\/p>\n\n\n\n<p>[Chorus]<br>Hear the stars lament and cry<br>In the void our fate we tie<br>Reach out through the dark divide<br>Together we move collide<\/p>\n\n\n\n<p>[Verse 2]<br>Gunfire dances digital reaper<br>Destruction codes sinking deeper<br>Lost souls ride this endless sleeper<br>In the void no dream&#8217;s a keeper<\/p>\n\n\n\n<p>[Bridge]<br>Silent echoes tear the night<br>Distant fires burning bright<br>Underneath the cold starlight<br>Courage finds its moment\u2019s flight<\/p>\n\n\n\n<p>[Verse 3]<br>Chaos reigns in circuits twisted<br>Every step by fate enlisted<br>We are broken dreams resisted<br>In the void where hope persisted<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>This is a sequel to a blog post I wrote last year, about the proliferation of free online tools that use AI to produce creative writing and imagery. Since then, I&#8217;ve made frequent use of the latter in particular, as it provides a quick and effortless way to obtain customized visuals for blog posts, videos &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/andrew-may.com\/blog\/2024\/09\/a-few-more-experiments-in-creative-ai\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;A few more experiments in creative AI&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[61,76],"class_list":["post-883","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-algorithmic-composition","tag-artificial-intelligence"],"_links":{"self":[{"href":"https:\/\/andrew-may.com\/blog\/wp-json\/wp\/v2\/posts\/883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andrew-may.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andrew-may.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andrew-may.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/andrew-may.com\/blog\/wp-json\/wp\/v2\/comments?post=883"}],"version-history":[{"count":19,"href":"https:\/\/andrew-may.com\/blog\/wp-json\/wp\/v2\/posts\/883\/revisions"}],"predecessor-version":[{"id":963,"href":"https:\/\/andrew-may.com\/blog\/wp-json\/wp\/v2\/posts\/883\/revisions\/963"}],"wp:attachment":[{"href":"https:\/\/andrew-may.com\/blog\/wp-json\/wp\/v2\/media?parent=883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andrew-may.com\/blog\/wp-json\/wp\/v2\/categories?post=883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andrew-may.com\/blog\/wp-json\/wp\/v2\/tags?post=883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}