{"id":14,"date":"2011-02-02T16:01:36","date_gmt":"2011-02-02T16:01:36","guid":{"rendered":"http:\/\/teaching.thesystemis.com\/classes\/avsys\/?p=14"},"modified":"2011-02-02T16:01:36","modified_gmt":"2011-02-02T16:01:36","slug":"code-from-class-2","status":"publish","type":"post","link":"http:\/\/teaching.thesystemis.com\/classes\/avsys\/?p=14","title":{"rendered":"code from class 2"},"content":{"rendered":"<p>fun with sin to move things and make sound&#8230;<\/p>\n<p><a href='http:\/\/teaching.thesystemis.com\/classes\/avsys\/wp-content\/uploads\/2011\/02\/avsys_wk2.zip'>avsys_wk2<\/a><\/p>\n<p>for fixing on OSX the frozen app problem, comment out this line in ofAppRunner: <\/p>\n<p><code>void ofExitCallback(){<\/p>\n<p>\t\/\/------------------------<br \/>\n\t\/\/ try to close FMOD:<br \/>\n\tofSoundPlayer::closeFmod();<br \/>\n\t\/\/------------------------<br \/>\n\t\/\/------------------------<br \/>\n\t\/\/ try to close rtAudio:<br \/>\n\t<strong>\/\/ofSoundStreamClose();<\/strong><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>fun with sin to move things and make sound&#8230; avsys_wk2 for fixing on OSX the frozen app problem, comment out this line in ofAppRunner: void ofExitCallback(){ \/\/&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; \/\/ try to close FMOD: ofSoundPlayer::closeFmod(); \/\/&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; \/\/&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; \/\/ try to close rtAudio: \/\/ofSoundStreamClose();<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-14","post","type-post","status-publish","format-standard","hentry","category-code"],"_links":{"self":[{"href":"http:\/\/teaching.thesystemis.com\/classes\/avsys\/index.php?rest_route=\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/teaching.thesystemis.com\/classes\/avsys\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/teaching.thesystemis.com\/classes\/avsys\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/teaching.thesystemis.com\/classes\/avsys\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/teaching.thesystemis.com\/classes\/avsys\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14"}],"version-history":[{"count":0,"href":"http:\/\/teaching.thesystemis.com\/classes\/avsys\/index.php?rest_route=\/wp\/v2\/posts\/14\/revisions"}],"wp:attachment":[{"href":"http:\/\/teaching.thesystemis.com\/classes\/avsys\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/teaching.thesystemis.com\/classes\/avsys\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/teaching.thesystemis.com\/classes\/avsys\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}