On 8 June 2011 13:38, Chris McCormick chris@mccormick.cx wrote:
Hi Joe,
On Wed, Jun 08, 2011 at 12:22:23PM +0100, Joe White wrote:
Unfortunately the RjDj scene format is hard coded to 320x320 pixels as
far
as I know. I think their voyager app stretches to the bigger ipad
screen but
it does not run on Android.
What do you mean by making the size of the patch larger? RjDj itself
doesn't
show any Pd GUI itself. It uses an external [rj_image] to display .png or .jpg images. With that you can set alpha, scale, rotation, placement, and visible 1/0
I suspect this external is probably not available on Android devices
though.
Plus I've never made a scene for an Android so I wouldn't really know :)
Martin Brinkmann's ScenePlayer includes an [rj_image] external which works very nicely. His implementation is faithful to the original app. The maximum any image can be is 320x320 pixels because that is how big the background area is that RjDj displays. On iPad this is simply blur-stretched, but it's sitll 320x320 pixels. From my tests the same is true of ScenePlayer on Android.
Ahh cool! Does the ScenePlayer [rj_image] include the latest update we did?
We added alpha, rotation etc...
Btw, we're not using [rj_image] for the Voyager iPad app. All the GUI is in CocoaTouch. Couldn't we just update the [rj_image] external in the ScenePlayer on Android to accept any sized image?
Chris' PdDroidParty seems like a good bet if you want to have a Pd GUI to edit patches on the device.
PdDroidParty does not do edit mode, so you can't use it to edit patches. It's just for playing with patches on your device that you previously built on your computer. The main feature is that you can build the interface quickly and easily in Pd.
Cheers,
Chris.
Sorry for the mistake, sounds good!
Cheers, Joe
Hi Joe,
On Wed, Jun 08, 2011 at 01:59:44PM +0100, Joe White wrote:
Couldn't we just update the [rj_image] external in the ScenePlayer on Android to accept any sized image?
Sure, but then scenes you make and run with ScenePlayer would be incompatible with RjDj on iOS. There are other things to be taken into account too, like what happens if your user has a tablet with a different aspect ratio? How should images be stretched etc.? A fixed 320x320 bitmap is not a great starting point to make things more flexible and still look good. Basically you have to break the existing RjDj format if you want those features.
With PdDroidParty I am going to provide a facility to bundle SVGs ("Scalable Vector Graphic") for your patch background and for each GUI type in order to theme them. I was also thinking about 9-patch graphics[1]. Hopefully this means that patches with fancy graphics will look reasonable on all devices. I am some way off from doing that though, and I may run out of steam before I get to it. :)
Cheers,
Chris.
[1] http://developer.android.com/guide/developing/tools/draw9patch.html
Hi, A few clarifications regarding the ScenePlayer app for Android:
publicly documented last summer, including rj_image, rj_text, sensor input, etc. There have been a few additions since (scaling and rotating text, I think); those will be easy enough to add when I see the new specs, and I'm not aware of any scenes that require them. In short, a properly written RjDj scene should look and behave the same for both versions.
externals. The immediate practical reason is that the architecture of Android apps pretty much requires this, but it's also a simpler design that was possible because of the message-passing features of libpd. Generally speaking, I believe that the only externals that you would really want to use with libpd are those that enhance the signal processing capabilities of Pd (e.g., fiddle~). Everything else is more easily implemented outside of Pd and controlled with messages.
image sizes other than 320x320 because that would almost certainly break compatibility with the original. A more realistic approach would be to tweak the UI so that it'll scale to fill up the screen (while preserving the aspect ratio) or at least center itself on Honeycomb devices. I won't have time to work on this, but if somebody wants to implement this, I'll be happy to consider a patch.
Cheers, Peter
On Wed, Jun 8, 2011 at 9:53 AM, Chris McCormick chris@mccormick.cx wrote:
Hi Joe,
On Wed, Jun 08, 2011 at 01:59:44PM +0100, Joe White wrote:
Couldn't we just update the [rj_image] external in the ScenePlayer on
Android
to accept any sized image?
Sure, but then scenes you make and run with ScenePlayer would be incompatible with RjDj on iOS. There are other things to be taken into account too, like what happens if your user has a tablet with a different aspect ratio? How should images be stretched etc.? A fixed 320x320 bitmap is not a great starting point to make things more flexible and still look good. Basically you have to break the existing RjDj format if you want those features.
With PdDroidParty I am going to provide a facility to bundle SVGs ("Scalable Vector Graphic") for your patch background and for each GUI type in order to theme them. I was also thinking about 9-patch graphics[1]. Hopefully this means that patches with fancy graphics will look reasonable on all devices. I am some way off from doing that though, and I may run out of steam before I get to it. :)
Cheers,
Chris.
[1] http://developer.android.com/guide/developing/tools/draw9patch.html
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Umm, currently
Cloning into rjlib... Permission denied (publickey). fatal: The remote end hung up unexpectedly…..
From: Peter Brinkmann <peter.brinkmann@googlemail.commailto:peter.brinkmann@googlemail.com> Date: Wed, 8 Jun 2011 10:47:11 -0400 To: Chris McCormick <chris@mccormick.cxmailto:chris@mccormick.cx> Cc: pd-list <pd-list@iem.atmailto:pd-list@iem.at>, Joe White <white.joe4@gmail.commailto:white.joe4@gmail.com> Subject: Re: [PD] RJDJ,sceneplayer & Xoom
Hi, A few clarifications regarding the ScenePlayer app for Android:
The app faithfully implements all features of the iPhone app that were publicly documented last summer, including rj_image, rj_text, sensor input, etc. There have been a few additions since (scaling and rotating text, I think); those will be easy enough to add when I see the new specs, and I'm not aware of any scenes that require them. In short, a properly written RjDj scene should look and behave the same for both versions.
The Android version implements rj_image and friends as abstractions, not externals. The immediate practical reason is that the architecture of Android apps pretty much requires this, but it's also a simpler design that was possible because of the message-passing features of libpd. Generally speaking, I believe that the only externals that you would really want to use with libpd are those that enhance the signal processing capabilities of Pd (e.g., fiddle~). Everything else is more easily implemented outside of Pd and controlled with messages.
I don't think it would be a good idea to generalize ScenePlayer to accept image sizes other than 320x320 because that would almost certainly break compatibility with the original. A more realistic approach would be to tweak the UI so that it'll scale to fill up the screen (while preserving the aspect ratio) or at least center itself on Honeycomb devices. I won't have time to work on this, but if somebody wants to implement this, I'll be happy to consider a patch.
Cheers, Peter
On Wed, Jun 8, 2011 at 9:53 AM, Chris McCormick <chris@mccormick.cxmailto:chris@mccormick.cx> wrote: Hi Joe,
On Wed, Jun 08, 2011 at 01:59:44PM +0100, Joe White wrote:
Couldn't we just update the [rj_image] external in the ScenePlayer on Android to accept any sized image?
Sure, but then scenes you make and run with ScenePlayer would be incompatible with RjDj on iOS. There are other things to be taken into account too, like what happens if your user has a tablet with a different aspect ratio? How should images be stretched etc.? A fixed 320x320 bitmap is not a great starting point to make things more flexible and still look good. Basically you have to break the existing RjDj format if you want those features.
With PdDroidParty I am going to provide a facility to bundle SVGs ("Scalable Vector Graphic") for your patch background and for each GUI type in order to theme them. I was also thinking about 9-patch graphics[1]. Hopefully this means that patches with fancy graphics will look reasonable on all devices. I am some way off from doing that though, and I may run out of steam before I get to it. :)
Cheers,
Chris.
[1] http://developer.android.com/guide/developing/tools/draw9patch.html
Pd-list@iem.atmailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
http://lmgtfy.com/?q=git+clone+Permission+denied+(publickey)
On 8 June 2011 15:48, Pagano, Patrick pat@digitalworlds.ufl.edu wrote:
Umm, currently
Cloning into rjlib... Permission denied (publickey). fatal: The remote end hung up unexpectedly…..
From: Peter Brinkmann peter.brinkmann@googlemail.com Date: Wed, 8 Jun 2011 10:47:11 -0400 To: Chris McCormick chris@mccormick.cx Cc: pd-list pd-list@iem.at, Joe White white.joe4@gmail.com
Subject: Re: [PD] RJDJ,sceneplayer & Xoom
Hi, A few clarifications regarding the ScenePlayer app for Android:
- The app faithfully implements all features of the iPhone app that were
publicly documented last summer, including rj_image, rj_text, sensor input, etc. There have been a few additions since (scaling and rotating text, I think); those will be easy enough to add when I see the new specs, and I'm not aware of any scenes that require them. In short, a properly written RjDj scene should look and behave the same for both versions.
- The Android version implements rj_image and friends as abstractions, not
externals. The immediate practical reason is that the architecture of Android apps pretty much requires this, but it's also a simpler design that was possible because of the message-passing features of libpd. Generally speaking, I believe that the only externals that you would really want to use with libpd are those that enhance the signal processing capabilities of Pd (e.g., fiddle~). Everything else is more easily implemented outside of Pd and controlled with messages.
- I don't think it would be a good idea to generalize ScenePlayer to accept
image sizes other than 320x320 because that would almost certainly break compatibility with the original. A more realistic approach would be to tweak the UI so that it'll scale to fill up the screen (while preserving the aspect ratio) or at least center itself on Honeycomb devices. I won't have time to work on this, but if somebody wants to implement this, I'll be happy to consider a patch.
Cheers, Peter
On Wed, Jun 8, 2011 at 9:53 AM, Chris McCormick chris@mccormick.cxwrote:
Hi Joe,
On Wed, Jun 08, 2011 at 01:59:44PM +0100, Joe White wrote:
Couldn't we just update the [rj_image] external in the ScenePlayer on
Android
to accept any sized image?
Sure, but then scenes you make and run with ScenePlayer would be incompatible with RjDj on iOS. There are other things to be taken into account too, like what happens if your user has a tablet with a different aspect ratio? How should images be stretched etc.? A fixed 320x320 bitmap is not a great starting point to make things more flexible and still look good. Basically you have to break the existing RjDj format if you want those features.
With PdDroidParty I am going to provide a facility to bundle SVGs ("Scalable Vector Graphic") for your patch background and for each GUI type in order to theme them. I was also thinking about 9-patch graphics[1]. Hopefully this means that patches with fancy graphics will look reasonable on all devices. I am some way off from doing that though, and I may run out of steam before I get to it. :)
Cheers,
Chris.
[1] http://developer.android.com/guide/developing/tools/draw9patch.html
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Lol, thanks
From: Joe White <white.joe4@gmail.commailto:white.joe4@gmail.com> Date: Wed, 8 Jun 2011 10:58:02 -0400 To: Patrick Pagano <pat@digitalworlds.ufl.edumailto:pat@digitalworlds.ufl.edu> Cc: pd-list <pd-list@iem.atmailto:pd-list@iem.at> Subject: Re: [PD] RJDJ,sceneplayer & Xoom
http://lmgtfy.com/?q=git+clone+Permission+denied+(publickey)
On 8 June 2011 15:48, Pagano, Patrick <pat@digitalworlds.ufl.edumailto:pat@digitalworlds.ufl.edu> wrote: Umm, currently
Cloning into rjlib... Permission denied (publickey). fatal: The remote end hung up unexpectedly…..
From: Peter Brinkmann <peter.brinkmann@googlemail.commailto:peter.brinkmann@googlemail.com> Date: Wed, 8 Jun 2011 10:47:11 -0400 To: Chris McCormick <chris@mccormick.cxmailto:chris@mccormick.cx> Cc: pd-list <pd-list@iem.atmailto:pd-list@iem.at>, Joe White <white.joe4@gmail.commailto:white.joe4@gmail.com>
Subject: Re: [PD] RJDJ,sceneplayer & Xoom
Hi, A few clarifications regarding the ScenePlayer app for Android:
The app faithfully implements all features of the iPhone app that were publicly documented last summer, including rj_image, rj_text, sensor input, etc. There have been a few additions since (scaling and rotating text, I think); those will be easy enough to add when I see the new specs, and I'm not aware of any scenes that require them. In short, a properly written RjDj scene should look and behave the same for both versions.
The Android version implements rj_image and friends as abstractions, not externals. The immediate practical reason is that the architecture of Android apps pretty much requires this, but it's also a simpler design that was possible because of the message-passing features of libpd. Generally speaking, I believe that the only externals that you would really want to use with libpd are those that enhance the signal processing capabilities of Pd (e.g., fiddle~). Everything else is more easily implemented outside of Pd and controlled with messages.
I don't think it would be a good idea to generalize ScenePlayer to accept image sizes other than 320x320 because that would almost certainly break compatibility with the original. A more realistic approach would be to tweak the UI so that it'll scale to fill up the screen (while preserving the aspect ratio) or at least center itself on Honeycomb devices. I won't have time to work on this, but if somebody wants to implement this, I'll be happy to consider a patch.
Cheers, Peter
On Wed, Jun 8, 2011 at 9:53 AM, Chris McCormick <chris@mccormick.cxmailto:chris@mccormick.cx> wrote: Hi Joe,
On Wed, Jun 08, 2011 at 01:59:44PM +0100, Joe White wrote:
Couldn't we just update the [rj_image] external in the ScenePlayer on Android to accept any sized image?
Sure, but then scenes you make and run with ScenePlayer would be incompatible with RjDj on iOS. There are other things to be taken into account too, like what happens if your user has a tablet with a different aspect ratio? How should images be stretched etc.? A fixed 320x320 bitmap is not a great starting point to make things more flexible and still look good. Basically you have to break the existing RjDj format if you want those features.
With PdDroidParty I am going to provide a facility to bundle SVGs ("Scalable Vector Graphic") for your patch background and for each GUI type in order to theme them. I was also thinking about 9-patch graphics[1]. Hopefully this means that patches with fancy graphics will look reasonable on all devices. I am some way off from doing that though, and I may run out of steam before I get to it. :)
Cheers,
Chris.
[1] http://developer.android.com/guide/developing/tools/draw9patch.html
Pd-list@iem.atmailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 8 June 2011 15:47, Peter Brinkmann peter.brinkmann@googlemail.comwrote:
Hi, A few clarifications regarding the ScenePlayer app for Android:
- The app faithfully implements all features of the iPhone app that were
publicly documented last summer, including rj_image, rj_text, sensor input, etc. There have been a few additions since (scaling and rotating text, I think); those will be easy enough to add when I see the new specs, and I'm not aware of any scenes that require them. In short, a properly written RjDj scene should look and behave the same for both versions.
How do you want the spec Peter? As a Pd patch showing how to use it? I'm
going to update the help patch for [rj_image] in the RjLib, would that be useful?
- The Android version implements rj_image and friends as abstractions, not
externals. The immediate practical reason is that the architecture of Android apps pretty much requires this, but it's also a simpler design that was possible because of the message-passing features of libpd. Generally speaking, I believe that the only externals that you would really want to use with libpd are those that enhance the signal processing capabilities of Pd (e.g., fiddle~). Everything else is more easily implemented outside of Pd and controlled with messages.
Yeah, it's annoying that you have to compile externals into the app for iOS.
- I don't think it would be a good idea to generalize ScenePlayer to accept
image sizes other than 320x320 because that would almost certainly break compatibility with the original. A more realistic approach would be to tweak the UI so that it'll scale to fill up the screen (while preserving the aspect ratio) or at least center itself on Honeycomb devices. I won't have time to work on this, but if somebody wants to implement this, I'll be happy to consider a patch.
Cheers, Peter
This is really cool Peter. Thanks for you all your work! I don't know about
Martin, but I don't think many of us in the company are that update with the Android development - being that we all have iPhones :)
Cheers, Joe
Hi Joe,
publicly documented last summer, including rj_image, rj_text, sensor input, etc. There have been a few additions since (scaling and rotating text, I think); those will be easy enough to add when I see the new specs, and I'm not aware of any scenes that require them. In short, a properly written RjDj scene should look and behave the same for both versions.
How do you want the spec Peter? As a Pd patch showing how to use it? I'm
going to update the help patch for [rj_image] in the RjLib, would that be useful?
Ideally, I'd like to have a list of all externals and their messages, including an explanation of the meaning of parameters (e.g., units, origin and orientation for coordinates and angles, etc.), as well as test scenes/help patches and maybe videos of how it looks and behaves on an iOS device. Realistically, updated help patches would probably be enough to get me started.
This is really cool Peter. Thanks for you all your work! I don't know about
Martin, but I don't think many of us in the company are that update with the Android development - being that we all have iPhones :)
You're welcome! Cheers, Peter
I have a question about RJDJ and the Rjz Server I have made a simple test scene and run the server so I may install the files on my ithing. I navigate to the server site and my scene shows up, I install it and then rjdj runs but the scene is nowhere to be found Where can I find it?
Sorry for the newbie-ish question but this is my first time with RJDJ
From: Peter Brinkmann <peter.brinkmann@googlemail.commailto:peter.brinkmann@googlemail.com> Date: Wed, 8 Jun 2011 11:39:43 -0400 To: Joe White <white.joe4@gmail.commailto:white.joe4@gmail.com> Cc: pd-list <pd-list@iem.atmailto:pd-list@iem.at>, Chris McCormick <chris@mccormick.cxmailto:chris@mccormick.cx> Subject: Re: [PD] RJDJ,sceneplayer & Xoom
Hi Joe,
How do you want the spec Peter? As a Pd patch showing how to use it? I'm going to update the help patch for [rj_image] in the RjLib, would that be useful?
Ideally, I'd like to have a list of all externals and their messages, including an explanation of the meaning of parameters (e.g., units, origin and orientation for coordinates and angles, etc.), as well as test scenes/help patches and maybe videos of how it looks and behaves on an iOS device. Realistically, updated help patches would probably be enough to get me started.
This is really cool Peter. Thanks for you all your work! I don't know about Martin, but I don't think many of us in the company are that update with the Android development - being that we all have iPhones :)
You're welcome! Cheers, Peter
Hi Patrick,
On Wed, Jun 08, 2011 at 12:18:32PM -0400, Pagano, Patrick wrote:
I have a question about RJDJ and the Rjz Server I have made a simple test scene and run the server so I may install the files on my ithing. I navigate to the server site and my scene shows up, I install it and then rjdj runs but the scene is nowhere to be found Where can I find it?
Did you include an Info.plist file with your scene? If you did not, the scene probably does not have a name. Try copying the Info.plist file from another scene and modifying it. You probably also want to include and image.jpg background (320x320 pixels) so that you can recognise your scene in the list. Lastly, make the directory containing your scene ends with ".rj".
Cheers,
Chris.
As Chris mentioned, it's probably an issue with the folder. Make sure there is an Info.plist in there.
Does the SceneTemplate.rj - available here: http://blog.rjdj.me/pages/pd-utilities - install correctly?
Cheers, Joe
On 8 June 2011 17:18, Pagano, Patrick pat@digitalworlds.ufl.edu wrote:
I have a question about RJDJ and the Rjz Server I have made a simple test scene and run the server so I may install the files on my ithing. I navigate to the server site and my scene shows up, I install it and then rjdj runs but the scene is nowhere to be found Where can I find it?
Sorry for the newbie-ish question but this is my first time with RJDJ
From: Peter Brinkmann peter.brinkmann@googlemail.com Date: Wed, 8 Jun 2011 11:39:43 -0400 To: Joe White white.joe4@gmail.com Cc: pd-list pd-list@iem.at, Chris McCormick chris@mccormick.cx Subject: Re: [PD] RJDJ,sceneplayer & Xoom
Hi Joe,
- The app faithfully implements all features of the iPhone app that were
publicly documented last summer, including rj_image, rj_text, sensor input, etc. There have been a few additions since (scaling and rotating text, I think); those will be easy enough to add when I see the new specs, and I'm not aware of any scenes that require them. In short, a properly written RjDj scene should look and behave the same for both versions.
How do you want the spec Peter? As a Pd patch showing how to use it? I'm
going to update the help patch for [rj_image] in the RjLib, would that be useful?
Ideally, I'd like to have a list of all externals and their messages, including an explanation of the meaning of parameters (e.g., units, origin and orientation for coordinates and angles, etc.), as well as test scenes/help patches and maybe videos of how it looks and behaves on an iOS device. Realistically, updated help patches would probably be enough to get me started.
Yeah, a few months ago we tried to parse the RjLib so that we could create a documentation page on the site. We ended up making .cfg files for each object as we struggled to parse the netlist with python. It kinda got put on ice as development has gone a bit crazy. These files are still available if you checkout the 'help_gen' branch from the RjLib git repo.
Otherwise this page - http://blog.rjdj.me/pages/pd-utilities - has most of the information needed to get started with making scenes, including some templates. If there is anything you think needs improving I'd love to know :)
This is really cool Peter. Thanks for you all your work! I don't know about
Martin, but I don't think many of us in the company are that update with the Android development - being that we all have iPhones :)
You're welcome! Cheers, Peter
Cheers,
Joe