{"id":161,"date":"2019-03-08T09:15:29","date_gmt":"2019-03-08T09:15:29","guid":{"rendered":"http:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/?p=161"},"modified":"2019-04-23T13:58:34","modified_gmt":"2019-04-23T13:58:34","slug":"161","status":"publish","type":"post","link":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/2019\/03\/08\/161\/","title":{"rendered":""},"content":{"rendered":"\n<p>Week 7<\/p>\n\n\n\n<p style=\"font-size:15px\">Both spectrograms are now being rendered in external &#8216;jit.windows&#8217;. Inside both of their respective mapping abstractions and the global \u2018circleclickpoint_&amp;_line_alphablend\u2019 abstraction I have replaced mapping abstraction dimension inverting, colour inverting and the alphablend with openGL equivalents. I have also replaced all instances of the jit.matrix with &#8216;jit.gl.slab&#8217; where I can.<\/p>\n\n\n\n<p style=\"font-size:15px\">Objectives for the week:<\/p>\n\n\n\n<p style=\"font-size:15px\">1. Figure out a user-friendly way to interact with the spectrograms for time, amplitude and frequency information.<br>2. Find out how to close one spectrogram when using the other (this will speed up the project as a whole!).<br>3. Begin to integrate more spectral manipulation effects in as much openGL as possible.<br>4. Implement feature where all the DSTFT data is read into the matrix in one operation.<\/p>\n\n\n\n<p style=\"font-size:15px\">I realised that part of the reason why the patch was performing so slowly (mentioned in the semester 2 week 6 post on the 25\/2\/19) was because I had certain parts of the &#8216;jit.window&#8217; rendering process (&#8216;jit.window&#8217; render rate, and line segment refresh rate in the alphablend) updating unnecessarily quickly \u2013 I have slowed them all down and the patch is running smoothly again.<\/p>\n\n\n\n<p style=\"font-size:15px\">Going to investigate using &#8216;poly~&#8217; to encapsulate each spectral processing routine with the resultant processed matrix still being displayed in a &#8216;jit.pwindow&#8217;. &#8216;poly~&#8217; is proving to be very problematic for processing openGL: rendering contexts are not being established when the &#8216;poly~&#8217; is opened. &#8216;horizontal_sync~&#8217; is also having trouble being sent inside the &#8216;poly~&#8217;, meaning that the red line playback point in each spectrogram is not syncing correctly with the audio.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Week 7 Both spectrograms are now being rendered in external &#8216;jit.windows&#8217;. Inside both of their respective mapping abstractions and the global \u2018circleclickpoint_&amp;_line_alphablend\u2019 abstraction I have replaced mapping abstraction dimension inverting, colour inverting and the alphablend with openGL equivalents. I have also replaced all instances of the jit.matrix with &#8216;jit.gl.slab&#8217; where I can. Objectives for the [&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\/161"}],"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=161"}],"version-history":[{"count":13,"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/posts\/161\/revisions"}],"predecessor-version":[{"id":330,"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/posts\/161\/revisions\/330"}],"wp:attachment":[{"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/media?parent=161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/categories?post=161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digital.eca.ed.ac.uk\/spectral-manipulation\/wp-json\/wp\/v2\/tags?post=161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}