<div dir="ltr">Hi Dan, <div><br></div><div>Thank you for your answer.</div><div><br></div><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex" class="gmail_quote">What do you mean by “modify it”? Modify the patch? The ofApp? You mean you send messages to the patch or?</blockquote><div><br></div><div>I mean modify the pd patch, sorry if I was not clear. At the moment, in the patch noisepanning.pd, there is an [osc~] connected to the second inlet of [headShadow]. <br>Then, I modify the patch so the input to this second inlet is a constant and I build the app again (running: make AndroidDebug and ./gradlew assembleDebug). When I install the new version of the app in my phone, the behaviour of the app is exactly the same as before, as when there was an [osc~] object.</div><div><br></div><div>I hope my problem is more clear now :)</div><div><br></div><div><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex" class="gmail_quote">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.</blockquote></div><div><br></div><div>I have not tested an example, but the application I built runs on android.<br></div><div><br></div><div><br></div><div>I am not sending anything from ofApp.cpp at the moment, but that is the next step, once I sort out how to modify pd patches.</div><div><br></div><div><br></div><div>Thank you for your time,</div><div>jl</div><div><br></div><div> </div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 13, 2015 at 1:49 AM, Dan Wilcox <span dir="ltr"><<a href="mailto:danomatika@gmail.com" target="_blank">danomatika@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div><div><span class=""><blockquote type="cite"><div dir="ltr"><p 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" target="_blank">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></span>What do you mean by “modify it”? Modify the patch? The ofApp? You mean you send messages to the patch or?</div><div><br></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.<span class=""><br><br><blockquote type="cite"><div dir="ltr"><p 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 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>./gradlew assembleDebug</p></div></blockquote><div><br></div></span><div>That’s good, since you can’t build for Android in Xcode anyway. :)</div><span class=""><br><blockquote type="cite"><div dir="ltr"><p 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></span></div></div><div><br></div><div>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><br></div><div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">--------<br>Dan Wilcox<br><a href="https://twitter.com/danomatika" target="_blank">@danomatika</a><br><a href="http://danomatika.com" target="_blank">danomatika.com</a><br><div><a href="http://robotcowboy.com" target="_blank">robotcowboy.com</a></div></div></div></div></div></blockquote></div><br></div>