<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div class=""><div><blockquote type="cite" class=""><div dir="ltr" class=""><p class="" style="margin: 0px 0px 6px; color: rgb(20, 24, 35); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 17.5636px;">At the moment, I am loading a pd file called "noisepanning.pd", I load it in the <a href="https://github.com/%E2%80%A6/exampleTween%E2%80%A6/blob/master/src/ofApp.cpp" class="">ofApp.cpp</a> source code file. The problem arises when I try to modify it, because the app behaviour does not change, it is like I have not done anything. Moreover, when I try to load another pd patch, the android app does not sound at all.</p></div></blockquote><br class="">What do you mean by “modify it”? Modify the patch? The ofApp? You mean you send messages to the patch or?</div><div><br class=""></div><div>Judging from your code in ofApp.cpp, you’re not sending any messages to libpd at all. There is the playTone() member function but it’s not being called anywhere.<br class=""><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><p class="" style="margin: 6px 0px; color: rgb(20, 24, 35); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 17.5636px;">I am not building again with Xcode when I perform these changes, since I am only interested in the android application. I only use the commands:</p><p class="" style="margin: 6px 0px; color: rgb(20, 24, 35); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 17.5636px;">make AndroidDebug<br class="">./gradlew assembleDebug</p></div></blockquote><div><br class=""></div><div>That’s good, since you can’t build for Android in Xcode anyway. :)</div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><p class="" style="margin: 6px 0px; color: rgb(20, 24, 35); font-family: helvetica, arial, sans-serif; font-size: 14px; line-height: 17.5636px;">Is there something more I should do when I change the pd patch?</p></div></blockquote></div></div><div class=""><br class=""></div><div class="">Does the sound work in the example if you build and run it on Android? I don’t have an Android device, so I’ve never tested ofxPd on Android. I’ve been told it does work, however.</div></div><div class=""><br class=""></div><div class=""><div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">--------<br class="">Dan Wilcox<br class=""><a href="https://twitter.com/danomatika" class="">@danomatika</a><br class=""><a href="http://danomatika.com" class="">danomatika.com</a><br class=""><div class=""><a href="http://robotcowboy.com" class="">robotcowboy.com</a></div></div></div></div></body></html>