{"id":158,"date":"2015-02-10T13:11:00","date_gmt":"2015-02-10T13:11:00","guid":{"rendered":"http:\/\/dbbd.sg\/blog\/uncategorized\/rita-toolkit-markov-and-other-text-experiments-for-the-masses\/"},"modified":"2021-04-26T18:11:27","modified_gmt":"2021-04-26T18:11:27","slug":"rita-toolkit-markov-and-other-text-experiments-for-the-masses","status":"publish","type":"post","link":"https:\/\/dbbd.sg\/blog\/2015\/02\/rita-toolkit-markov-and-other-text-experiments-for-the-masses\/","title":{"rendered":"RiTA Toolkit: Markov and other text experiments for the Masses"},"content":{"rendered":"<p>This week I became aware of Markov generators for the masses! Yes! Now anyone can have instant word glossolalia! And now up to 200% more easy to use! Because the future is already here! The future came and then left the building some time ago! I think it came around last tuesday, did you miss it? Did you not already hear?? Aw man.<\/p>\n<p>TO DEMONSTRATE THIS I WILL PROCEED TO WRITE THIS POST IN UNDER 5 MINUTES!!!<\/p>\n<p>The challenge was to find the easiest way to do a markov generator mashup of two texts. A friend who was unfamiliar with programming asked me what was the easiest way to make a text mashup. Recently I saw Pete&#8217;s Unpredictive Text installation at the WIP show and I found out he was using a library called <a href=\"http:\/\/rednoise.org\/rita\/\">RiTA<\/a> so I downloaded it and realised it was oh so so so simple to play with&#8230;<\/p>\n<p>First you need to install <a href=\"https:\/\/processing.org\/\">Processing<\/a>, and then you have to install the <a href=\"http:\/\/rednoise.org\/rita\/\">RiTA library<\/a> into Processing. I had almost forgotten how to install libraries actually, due to not using Processing in some months, but the long and short of it is that you just need to find the &#8220;Processing&#8221; folder which will have been automatically created in your Documents folder when you installed Processing.<\/p>\n<p>On a mac it will probably be<br \/>\nMacHD\/Users\/Username\/Documents\/Processing<\/p>\n<p>On a windows it will probably be<br \/>\nC:\/My Documents\/Processing<\/p>\n<p>In this folder you create the folder &#8220;libraries&#8221; and copy in the &#8220;library&#8221; folder which will be inside the RiTA zip package you downloaded. The library should now be here like this:<\/p>\n<p>\/Processing\/libraries\/rita\/library\/rita.jar<\/p>\n<p>Look in the examples folder for Kafgenstein.pde. That&#8217;s the kafka+wittgenstein mashup. The text files are in the folder \/data. Make your own text files, substitute them in the markov.loadFrom line.<\/p>\n<p><center><img loading=\"lazy\" class=\"alignnone size-full wp-image-856\" src=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16465640956_dbc976a4b9_c.jpg\" width=\"583\" height=\"800\" alt=\"Screen Shot 2015-02-10 at 1.01.16 pm\" srcset=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16465640956_dbc976a4b9_c.jpg 583w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16465640956_dbc976a4b9_c-219x300.jpg 219w\" sizes=\"(max-width: 583px) 100vw, 583px\" \/><\/center><br \/>\nHere is Enid Blyton&#8217;s Holiday Book meets John Fowles&#8217; The French Lieutenant&#8217;s Woman.<\/p>\n<p><center><img loading=\"lazy\" class=\"alignnone size-full wp-image-858\" src=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16305386979_64bcd6f212_o.png\" width=\"817\" height=\"817\" alt=\"Screen Shot 2015-02-10 at 1.08.05 pm\" srcset=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16305386979_64bcd6f212_o.png 817w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16305386979_64bcd6f212_o-300x300.png 300w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16305386979_64bcd6f212_o-150x150.png 150w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16305386979_64bcd6f212_o-768x768.png 768w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16305386979_64bcd6f212_o-120x120.png 120w\" sizes=\"(max-width: 817px) 100vw, 817px\" \/><\/center>+<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-865\" src=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16465656206_288b03f2fe_o.png\" width=\"818\" height=\"819\" alt=\"Screen Shot 2015-02-10 at 1.08.03 pm\" srcset=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16465656206_288b03f2fe_o.png 818w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16465656206_288b03f2fe_o-300x300.png 300w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16465656206_288b03f2fe_o-150x150.png 150w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16465656206_288b03f2fe_o-768x769.png 768w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16465656206_288b03f2fe_o-120x120.png 120w\" sizes=\"(max-width: 818px) 100vw, 818px\" \/><\/p>\n<p>=<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-875\" src=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/15869111094_02004e6683_o.png\" width=\"614\" height=\"636\" alt=\"Screen Shot 2015-02-10 at 1.01.09 pm\" srcset=\"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/15869111094_02004e6683_o.png 614w, https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/15869111094_02004e6683_o-290x300.png 290w\" sizes=\"(max-width: 614px) 100vw, 614px\" \/><\/p>\n<p>The other examples are equally interesting to play with.<\/p>\n<p>No need to thank me. All thanks to <a href=\"http:\/\/rednoise.org\/rita\/\">RiTA<\/a>.<\/p>\n<hr \/>\n<p>Actually I lied, this post took 15 min to write cos, y&#8217;know, it takes time to make screenshots and upload them.<\/p>\n<p>More of my previous markov experiments here:<br \/>\n<a href=\"http:\/\/openurbanism.blogspot.co.uk\/2013\/04\/ghost-trap-markov-text-generator.html\">Ghost Trap &#8211; Markov Text Generator<\/a><br \/>\n<a href=\"http:\/\/openurbanism.blogspot.co.uk\/2013\/08\/dream-syntax-collection-of-102-dreams.html\">A Dream Generated from Other Dreams<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week I became aware of Markov generators for the masses! Yes! Now anyone can have instant word glossolalia! And now up to 200% more easy to use! Because the future is already here! The future came and then left the building some time ago! I think it came around last tuesday, did you miss [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":856,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[1],"jetpack_featured_media_url":"https:\/\/dbbd.sg\/blog\/wp-content\/uploads\/2021\/04\/16465640956_dbc976a4b9_c.jpg","_links":{"self":[{"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/posts\/158"}],"collection":[{"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/comments?post=158"}],"version-history":[{"count":1,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/posts\/158\/revisions"}],"predecessor-version":[{"id":879,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/posts\/158\/revisions\/879"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/media\/856"}],"wp:attachment":[{"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/media?parent=158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/categories?post=158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbbd.sg\/blog\/wp-json\/wp\/v2\/tags?post=158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}