{"id":182,"date":"2019-04-04T11:30:42","date_gmt":"2019-04-04T11:30:42","guid":{"rendered":"http:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/?p=182"},"modified":"2019-04-23T14:57:37","modified_gmt":"2019-04-23T14:57:37","slug":"182","status":"publish","type":"post","link":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/2019\/04\/04\/182\/","title":{"rendered":""},"content":{"rendered":"\n<p>Week 11<\/p>\n\n\n\n<p style=\"font-size:15px\">Objective for the week:<\/p>\n\n\n\n<p style=\"font-size:15px\">1. Add limiter, denoiser and compression to blur_water, spetral_smear and time_scramble.<\/p>\n\n\n\n<p style=\"font-size:15px\">Having completed these objectives, I am going to tidy up all pre-existing patches into a presentation mode format before building more modules. I have also gotten rid of manual playback option in &#8216;blur_water&#8217; as it isn\u2019t cohesive in the grand scheme of the project for one spectral effect abstraction to offer this playback option while others don\u2019t.<\/p>\n\n\n\n<p style=\"font-size:15px\">Inside &#8216;1.3.1 draw_mask&#8217;, I considered implementing the mask draw and save elements in the same patch as where the mask will be applied to the spectrum, I thought it best to stick with my design plan of having the project as compartmentalised as possible. I have decided to incorporate both Droljc&#8217;s rectangular draw and free draw in the same patch, as I hope to be able to expand on his work and allow the user to draw both rectangles and free shapes in to the same render window. I have fixed an issue with &#8216;free_draw_spectrogram&#8217; and &#8216;mask_render&#8217;, where when the user pressed \u2018clear all\u2019, the last remain shape the user had drawn in free_draw_spectrogram remained in mask_render. After ensuring all &#8216;jit.op&#8217;, &#8216;jit.pack&#8217; and &#8216;jit.matrix&#8217; objects were cleared (to no avail), and trying to manually reset the &#8216;jit.gl.sketch&#8217; object (\u2018reset\u2019 did nothing and \u2018glclear\u2019 turned the  render window red) I found the solution to be to make the patch draw a 1-pixel shape at 0 0 before the render window is cleared.<\/p>\n\n\n\n<p style=\"font-size:15px\">Over the last few days I have also had an issue with  &#8216;time_scramble_process&#8217;, where following processing in &#8216;jit.repos&#8217;, the time scrambled matrix was only taking up half of the vertical height of the window. This was fixed by setting the &#8216;jit.repos\u2019 @interpbits flag to 1.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"522\" src=\"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/files\/2019\/04\/Screen-Shot-2019-04-22-at-22.49.10-1024x522.png\" alt=\"\" class=\"wp-image-194\" srcset=\"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/files\/2019\/04\/Screen-Shot-2019-04-22-at-22.49.10-1024x522.png 1024w, https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/files\/2019\/04\/Screen-Shot-2019-04-22-at-22.49.10-300x153.png 300w, https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/files\/2019\/04\/Screen-Shot-2019-04-22-at-22.49.10-768x392.png 768w, https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/files\/2019\/04\/Screen-Shot-2019-04-22-at-22.49.10.png 1282w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>&#8216;jit.repos&#8217; output in &#8216;time_scramble_process&#8217; when @interpbits flag is set to 0 on the left, versus when it was set to 1 on the right<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Week 11 Objective for the week: 1. Add limiter, denoiser and compression to blur_water, spetral_smear and time_scramble. Having completed these objectives, I am going to tidy up all pre-existing patches into a presentation mode format before building more modules. I have also gotten rid of manual playback option in &#8216;blur_water&#8217; as it isn\u2019t cohesive in [&hellip;]<\/p>\n","protected":false},"author":225,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/posts\/182"}],"collection":[{"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/users\/225"}],"replies":[{"embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/comments?post=182"}],"version-history":[{"count":24,"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/posts\/182\/revisions"}],"predecessor-version":[{"id":407,"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/posts\/182\/revisions\/407"}],"wp:attachment":[{"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/media?parent=182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/categories?post=182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/tags?post=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}