...that deal with pure data
You are not logged in.
I am having a problem with object sizes of every thing . When i have it at the right size them I add a few things it just gets smaller when i run it
1- to load any sample from the sd card you'll need an external, [readanysf~] I don't really know how it works with PdDroidParty.
2- what do you mean by open pd pages ? something like this ?
it will not work at the moment, but dealing with multiple pages for GUI may be an interesting developpement.
3- I don't know about pd net.
4- for the object sizes, they are re-scaled to you phone screen size automatically. that's why it gets smaller when you add stuff.
keep us posted, cheers
ok I will try every think and tell you what dose not work so we can improve one the next release.
I don't mean to interrupt, but i have a question : has anyone successfully managed to get Chris' [loadsave] abstraction to work on her phone? This doesn't work on my girlfriend's (htc magic running android 2.2).
I have tried getting in touch with Chris recently but he hasn't replied yet.
Incidentally, I have a patch for measuring your device's latency that works (sort of) on my girlfriend's phone. I can post it if you think you could need it. It's based on Miller's patch in the Stuff folder.
@pamelapopo - it seems to work for me. can you explain the problem more?
i got it to work by moving the slider to one value (a), then pressing save to save value (a) in a file. then move the slider to another value (b), press load and select the file you just created. after loading the file, the slider is set back to the saved value (a).
Thanks for your reply Jon_oz!
Are you talking about Chris' [loadsave] abstraction, that opens the Open or Save dialog in Pd running on a PC?
I need to use the dialog (don't know if it was intended to work this way though) in order to choose a set of files to load (I'm building a multitrack recording patch for the phone).
Are you talking about Chris' [loadsave] abstraction
hmmm... i was just looking at the loadsave test patch. haven't really looked at the abstraction behind it yet... one obvious stumbling point could be forgetting to include the creation argument in the [loadsave] object...?
probably best if you attach your patch for testing.
Ok, so here's my patch. It works as a two-track recorder, and the open bang is supposed to open the save panel. It works fine on my PC, but it doesn't on my girlfriend's HTC.
Could you test it on your phone?
yes i will test it
Hey there - the site seems to be down. Is there an alternative download location for PDDroidParty? Thanks!
I'm at the point where I have my patch working the way I want via droidparty, but I'm stuck creating a standalone app. All due to me being a total noob, no doubt ;^) I've installed Bazaar and have managed the first step (clone the source code). I'm stuck at the second step "Convert the app name to whatever you like". How exactly do I do this `./convert-app-name mysynth "My Synthesizer"`. Is it a Bazaar command? Bazaar doesn't seem to recognize it as such. I'm assuming `./pack-patch` will work along similar lines. Any help would be much appreciated!
those two are scripts within the PdDroidparty folder.
so once you cloned it you enter the folder and type those commands.
let us know how it went.
Hey Berenger, thanks for the help, but I'm still stuck. Where do I type in the commands? I'm on Win7 64 here and when I create a command prompt, enter the folder and type the command, I get "'convert-app-name' is not a recognized as an internal or external command, operable program or batch file." In Bazaar I've tried the following/; opened the MySynthesizer location, and typed in "convert-app-name" in the "command" box under Bazaar/All Commands, to get "bzr: ERROR: unknown command "convert-app-name".
OK, so I've established that they're Linux scripts. I've not been able to run them successfully with Cygwin, so I guess I'm looking at installing Ubuntu on a spare PC - is there an easier way that I'm missing?
Me again. So maybe those scripts run on Mac OS? Either way, I tried again with Cygwin, but it doesn't understand the rpl command. I've also tried running Ubuntu off a CD-Rom, but I couldn't run the scripts successfully that way either.
I thought I might skip the scripts and try to make the required changes in Eclipse, but am stuck importing the source. I downloaded a new clone of the source and ran "android update project --name MySynthesizer --target 2 --path e:/MySynthesizer" on it. In Eclipse I went File/New/Android Project, selected "Create project from existing source" and browsed to the MySynthesizer location. This created a new eclipse project under the title PatchSelector. Everything seems to have been imported, but under the Problems tab I get 80 errors and 83 warnings - obviously very little is the way it should be.
Apologies to those of you facepalming your way through my messages, but like I said, I'm a complete noob. To be honest, I'm running out of ideas here. And the instructions made it sound so easy ;^)
those scripts do run on linux they may run on OS too. RPL is something you need to install first (from synaptic or >sudo apt-get rpl)
the scripts make reference to ./PdCore and (./btmidi, not sure about this one), so you should have cloned both those folder from the same source.
When importing the project in eclipse you should, have first imported btmidi and PdCore. Then tight click on the project -> properties, click on the android pannel (left hand side). Remove PdCore as a library and add it again. It should take care of some of the errors .
Thanks again, Berenger - I'll let you know how I get along.
Just a report back. I've finally succeeded in getting my app to function stand-alone and now have it available in the Android Market. The free version is available on the Android Market here: What Comes Around Free. Here are the steps I followed to get it working for me.
After installing Ubuntu on a spare computer (along with the rpl command as detailed before), I managed to get the scripts to run, but still couldn't get the "ant install" to function as expected.
I went back to the Windows 7 PC and tried the Eclipse route again. This time I laid the proper groundwork and resolved a lot of errors by importing everything as per Peter Brinkmann's instructions on the Pd Everywhere forum.
"[...] make sure that you’ve cloned pd-for-android and its dependencies like this:
git clone git://gitorious.org/pdlib/pd-for-android.git
git submodule init
git submodule update
Now you need to import btmidi/BluetoothMidi and pd-for-android/PdCore/jni/libpd into Eclipse (make sure to use
File -> Import… -> General -> Existing project…). Now you can import PdCore. If you see error messages, those are probably due to bugs in Eclipse, and you should be able to sort them out by refreshing and cleaning everything once or twice. (This is the annoying part…)"
I had to fix additional Eclipse errors on my system by setting the Java Compiler Compliance Level to 1.6 for each of the imported projects.
Next I tried to import the project I created by running the scripts in Linux into Eclipse on the Windows machine, but it seems as if one of the scripts deletes the Eclipse project. I went back and imported the originally downloaded PdDroidParty project from the MySynthesizer folder. The project imports under the title PatchSelector. Again, I set Java Compiler Compliance Level to 1.6 (right-click PatchSelector in the Package Explorer - it's under Java Compiler). I also had complaints until I set the Project Build Target to Android 2.2 (right-click PatchSelector in the Package Explorer - it's under Android).
This left me with 9 final errors related to the SVGParser. I resolved this by right-clicking PatchSelector in the Package Explorer and going to Build Path/Configure Build Path/Add JARs and selecting svg-android.jar under PatchSelector/libs in my workspace directory. I remember having to restart Eclipse a couple of times to get rid of spurious errors (!)
Next I renamed PatchSelector to my own title (in my case WhatComesAround) by right-clicking in the Package Explorer and choosing Refactor/Rename.
I copied across files that were created when I ran the Linux scrips, notably:
* patch.zip (res/raw folder) - this zip contains a folder called "patch", itself containing your pd patch as a droidparty_main.pd file, as well as a file titled VERSION-169 (in my case) - it doesn't seem to have an extension and simply contains the text 169
* I placed my splash.svg in the same folder (res/raw)
* my icon.png in the folder res/drawable
* the same icon.png in bin/res/drawable
* in the res/values folder, an patch.xml and strings.xml
Next I set about renaming files and occurrences within files with my own names - one of the Linux scripts does this, but I did it by hand on the Windows machine using Windows Grep (http://www.wingrep.com/) to search for all instances, and changing names inside Eclipse. I replaced all occurrences of PdDroidParty with my own name (WhatComesAround), a single instance of PdDroid Party with What Comes Around, as well as any mention of MySynthesizer (again with WhatComesAround).
After testing in the emulator I exported signed .apk's from Eclipse - one for a free and one for a paid version.
Nice work, nice looking app.
thanks for the feedback I'll check it in more details and try to reproduce this :)
wow thats great that you got a good gui and a icon
your examples are hard to do?
cheers for the info moshang, app working fine on my desire S.
are droidparty or libpd multitouch capable on android?