{"id":11667,"date":"2023-03-23T23:13:27","date_gmt":"2023-03-24T03:13:27","guid":{"rendered":"https:\/\/spinor.info\/weblog\/?p=11667"},"modified":"2023-03-23T23:15:24","modified_gmt":"2023-03-24T03:15:24","slug":"cats-paws","status":"publish","type":"post","link":"https:\/\/spinor.info\/weblog\/?p=11667","title":{"rendered":"Cat&#8217;s paws"},"content":{"rendered":"<p>My latest interaction with ChatGPT:<\/p>\n<blockquote>\n<p style=\"padding-left: 40px;\"><strong>vttoth<\/strong>: <em>Please write a short piece of music, suitable to be played while showing the stylized image of a cat, in Lilypond.<\/em><\/p>\n<p style=\"padding-left: 40px;\"><strong>ChatGPT<\/strong>: <em>LilyPond is a text-based music engraving program that uses code to create beautifully engraved sheet music. Here&#8217;s a short piece of music written in LilyPond, suitable to be played while showing a stylized image of a cat. This piece is intended to have a playful and curious character, much like a cat.<\/em><\/p>\n<pre style=\"padding-left: 40px;\">\r\n\r\n\\version \"2.22.1\"\r\n\\header {\r\n  title = \"Cat's Paws\"\r\n  composer = \"ChatGPT\"\r\n}\r\n\r\nupper = \\relative c' {\r\n  \\key g \\major\r\n  \\time 3\/4\r\n  g4. g8 a g8~ | g r8 a2 |\r\n  a4. a8 b a8~ | a r8 b2 |\r\n  b4. c8 d b8~ | b r8 c2 |\r\n  g4. g8 a g8~ | g4. r4. |\r\n}\r\n\r\nlower = \\relative c {\r\n  \\key g \\major\r\n  \\time 3\/4\r\n  g2 d4 | g2 r4 |\r\n  a2 e4 | a2 r4 |\r\n  d2 c4 | d2 r4 |\r\n  g2 d4 | g2 r4 |\r\n}\r\n\r\n\\score {\r\n  \\new PianoStaff &lt;&lt; \\new Staff = \"upper\" \\upper \\new Staff = \"lower\" \\lower &gt;&gt;\r\n  \\layout { }\r\n  \\midi {\r\n    \\tempo 4=120\r\n  }\r\n}\r\n<\/pre>\n<p style=\"padding-left: 40px;\"><em>Copy the above code into a text editor and save it with a &#8220;.ly&#8221; extension. Then, compile the file with LilyPond to create a PDF and MIDI file.<\/em><\/p>\n<\/blockquote>\n<p>I admit I had to make a few adjustments to the code (specifically, the upper voice) as the timing was off in a couple of places, but I don&#8217;t think I altered the music.<\/p>\n<div style=\"margin-left: 1in; margin-right: 1in;\"><audio class=\"wp-audio-shortcode\" id=\"audio-11667-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/spinor.info\/weblog\/wp-content\/uploads\/2023\/03\/ChatGPT-CatsPaws.mp3?_=1\" \/><a href=\"https:\/\/spinor.info\/weblog\/wp-content\/uploads\/2023\/03\/ChatGPT-CatsPaws.mp3\">https:\/\/spinor.info\/weblog\/wp-content\/uploads\/2023\/03\/ChatGPT-CatsPaws.mp3<\/a><\/audio><\/div>\n<p><a href=\"\/weblog\/wp-content\/uploads\/2023\/03\/ChatGPT-CatsPaws.midi\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-11668 size-full\" src=\"https:\/\/spinor.info\/weblog\/wp-content\/uploads\/2023\/03\/ChatGPT-CatsPaws.png\" alt=\"\" width=\"808\" height=\"247\" srcset=\"https:\/\/spinor.info\/weblog\/wp-content\/uploads\/2023\/03\/ChatGPT-CatsPaws.png 808w, https:\/\/spinor.info\/weblog\/wp-content\/uploads\/2023\/03\/ChatGPT-CatsPaws-300x92.png 300w, https:\/\/spinor.info\/weblog\/wp-content\/uploads\/2023\/03\/ChatGPT-CatsPaws-768x235.png 768w\" sizes=\"(max-width: 808px) 100vw, 808px\" \/><\/a><\/p>\n<fb:like href='https:\/\/spinor.info\/weblog\/?p=11667' send='false' layout='button_count' show_faces='true' width='450' height='65' action='like' colorscheme='light' font='lucida grande'><\/fb:like>","protected":false},"excerpt":{"rendered":"<p>My latest interaction with ChatGPT: vttoth: Please write a short piece of music, suitable to be played while showing the stylized image of a cat, in Lilypond. ChatGPT: LilyPond is a text-based music engraving program that uses code to create beautifully engraved sheet music. Here&#8217;s a short piece of music written in LilyPond, suitable to <a href='https:\/\/spinor.info\/weblog\/?p=11667' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,58,4],"tags":[],"class_list":["post-11667","post","type-post","status-publish","format-standard","hentry","category-cats","category-cybernetics","category-music","category-7-id","category-58-id","category-4-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/posts\/11667","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11667"}],"version-history":[{"count":14,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/posts\/11667\/revisions"}],"predecessor-version":[{"id":11683,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=\/wp\/v2\/posts\/11667\/revisions\/11683"}],"wp:attachment":[{"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11667"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spinor.info\/weblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}