tag:blogger.com,1999:blog-34665823538781832932024-03-21T22:13:29.014+01:00Tegleg Androidtegleg records androidhttp://www.blogger.com/profile/03010357530060394914noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3466582353878183293.post-82801001819097386342012-08-26T01:05:00.006+02:002012-08-26T01:05:49.401+02:00Tegleg Apps on Google PlayHeres the link<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/0iyqmrOslnrx58ygURLU4HiiEJ_GitaIqFKmHMUQV2DjOeOr9XxFktxArIOuwQMdzg=w78-h78" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/0iyqmrOslnrx58ygURLU4HiiEJ_GitaIqFKmHMUQV2DjOeOr9XxFktxArIOuwQMdzg=w78-h78" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/oBibqtYRidtAqTrWZuyHDM8IipXqiSZzySVFzZGPu0pZYkOsMnjSl7mKcoB7_56PiTI=w78-h78" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/oBibqtYRidtAqTrWZuyHDM8IipXqiSZzySVFzZGPu0pZYkOsMnjSl7mKcoB7_56PiTI=w78-h78" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/qx7XwfWIP2TeODLHwnz7skhD-sSPr0oyCQ0NcK0FjFj1PuIDwJwOT2k0BoHF0dWBLf6o=w78-h78" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/qx7XwfWIP2TeODLHwnz7skhD-sSPr0oyCQ0NcK0FjFj1PuIDwJwOT2k0BoHF0dWBLf6o=w78-h78" /></a></div>
<br />
<a href="https://play.google.com/store/apps/developer?id=Tegleg+Records" target="_blank">https://play.google.com/store/apps/developer?id=Tegleg+Records</a>tegleg records androidhttp://www.blogger.com/profile/03010357530060394914noreply@blogger.com0tag:blogger.com,1999:blog-3466582353878183293.post-58871269015583130022012-07-06T17:34:00.002+02:002012-07-06T17:40:11.265+02:00android/eclipse talks to pure data like thisThis aint gona be any kind of tutorial but more of a quick breeze over what you need to know when making android apps with pure data patches embedded, using PdTest as an example.<br />
assuming you have <a href="http://www.eclipse.org/downloads/" target="_blank">Eclipse</a> set up with a project using the android version of <a href="https://github.com/libpd/pd-for-android" target="_blank">libpd (pure data library)</a> this includes PdTest.<br />
<br />
in Eclipse, go to the project browser (left pannel) and open up PdTest > res > raw and you will see the pd patch.<br />
double click the patch and it opens in pure data.<br />
<br />
the basics is that the android/java code relating to button clicks and that in eclipse layout editor send a message to the pd patch. inside the patch these messages are received and trigger off whatever.<br />
<br />
in the android code you give the message a name, and/or a value. in this case when you press button 1<br />
case R.id.button1:<br />
PdBase.sendFloat("pitch", 65); //sends the number 65 to the receiver caleed pitch<br />
PdBase.sendBang("start"); //sends a bang to the receiver called start<br />
<br />
in the pure data patch make a new object and trype 'r pitch', this creates the receiver for pitch.<br />
make another and type r start. the 'r' makes it a receiver and 'start' is its name.<br />
then connect them up to wherever you want.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9sJamGWEhdjmIclOR1gnzWp353KVtrlzUUZCT-bVtIxWDMbx5TZxTd58USlgSFbJCYaw76MDefsek3rv_PEyUWyBo9GNf5gRi-VZN_eEy7mLzCoBzCYKizcmyLg7oB1wYpZFXvGzYbtw/s1600/blogexample.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="173" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9sJamGWEhdjmIclOR1gnzWp353KVtrlzUUZCT-bVtIxWDMbx5TZxTd58USlgSFbJCYaw76MDefsek3rv_PEyUWyBo9GNf5gRi-VZN_eEy7mLzCoBzCYKizcmyLg7oB1wYpZFXvGzYbtw/s320/blogexample.jpg" width="320" /></a></div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />tegleg records androidhttp://www.blogger.com/profile/03010357530060394914noreply@blogger.com0