This is how all iSO apps work with local data. You can only write to that specific app's Documents or Temp directories as part of the app sandboxing. Temp is cleared by the OS automatically, I think when the app is closed.
With PdParty, the built in web server provides access to the Documents directory. RjDJ worked in the opposite sense, as Joe says, in that it looked for existing scenes as zipped bundles form the RjDj website or from a local custom RjDj webserver Python script running on your computer. The latter is how I would test RjDj scenes I wrote on my machine.
Dan Wilcox @danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Nov 27, 2014, at 6:00 AM, pd-list-request@lists.iem.at wrote:
From: Joe White <white.joe4@gmail.com mailto:white.joe4@gmail.com> Cc: "pd-list@iem.at mailto:pd-list@iem.at" <pd-list@iem.at mailto:pd-list@iem.at> To: "Pagano, Patrick" <pat@digitalworlds.ufl.edu mailto:pat@digitalworlds.ufl.edu> Date: November 26, 2014 at 5:30:32 PM EST Subject: Re: [PD] GEMMA for ios
Hey Patrick,
You can download assets to the apps data directory. The patches are probably stored on a server somewhere as bundles. At least that's how it was done at RjDj.
Cheers, Joe
Also, from Gemma on the App Store:
if you want to create your own Gem, follow these steps:
- Get the Gemma app
- Download and install GemmaLib from our homepage
- Create your own instrument and GUI in Pure Data with tools within GemmaLib
- Drag and drop your file into the "Documents" folder of iTunes
- Play your instrument on iPad or iPhone
- And don’t forget to share your Gem through our website
So you create a scene and upload the bundle to the app Documents dir via iTunes. PdParty supports this but it’s limiting in the long run as you can only access a single flat folder.
Damn, I gotta finish PdParty :P Still gotta finish my thesis first, working on it now.
Dan Wilcox @danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Dec 2, 2014, at 11:27 AM, Dan Wilcox danomatika@gmail.com wrote:
This is how all iSO apps work with local data. You can only write to that specific app's Documents or Temp directories as part of the app sandboxing. Temp is cleared by the OS automatically, I think when the app is closed.
With PdParty, the built in web server provides access to the Documents directory. RjDJ worked in the opposite sense, as Joe says, in that it looked for existing scenes as zipped bundles form the RjDj website or from a local custom RjDj webserver Python script running on your computer. The latter is how I would test RjDj scenes I wrote on my machine.
Dan Wilcox @danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Nov 27, 2014, at 6:00 AM, pd-list-request@lists.iem.at mailto:pd-list-request@lists.iem.at wrote:
From: Joe White <white.joe4@gmail.com mailto:white.joe4@gmail.com> Cc: "pd-list@iem.at mailto:pd-list@iem.at" <pd-list@iem.at mailto:pd-list@iem.at> To: "Pagano, Patrick" <pat@digitalworlds.ufl.edu mailto:pat@digitalworlds.ufl.edu> Date: November 26, 2014 at 5:30:32 PM EST Subject: Re: [PD] GEMMA for ios
Hey Patrick,
You can download assets to the apps data directory. The patches are probably stored on a server somewhere as bundles. At least that's how it was done at RjDj.
Cheers, Joe
With PdParty, the built in web server provides access to the Documents directory.
Ahh interesting, how does that work? Do you connect to the iPhones server and upload files through some interface?
This article provides more info on the different iOS app directories https://developer.apple.com/library/ios/documentation/FileManagement/Concept...
One thing we had to be careful of was that downloadable data could be wiped by the OS to make space, and had to be something that could be recreated again at a later stage.
Cheers, Joe
On 2 December 2014 at 16:31, Dan Wilcox danomatika@gmail.com wrote:
Also, from Gemma on the App Store:
if you want to create your own Gem, follow these steps:
- Get the Gemma app
- Download and install GemmaLib from our homepage
- Create your own instrument and GUI in Pure Data with tools within
GemmaLib 4. Drag and drop your file into the "Documents" folder of iTunes 5. Play your instrument on iPad or iPhone 6. And don’t forget to share your Gem through our website
So you create a scene and upload the bundle to the app Documents dir via iTunes. PdParty supports this but it’s limiting in the long run as you can only access a single flat folder.
Damn, I gotta finish PdParty :P Still gotta finish my thesis first, working on it now.
Dan Wilcox @danomatika danomatika.com robotcowboy.com
On Dec 2, 2014, at 11:27 AM, Dan Wilcox danomatika@gmail.com wrote:
This is how all iSO apps work with local data. You can only write to that specific app's Documents or Temp directories as part of the app sandboxing. Temp is cleared by the OS automatically, I think when the app is closed.
With PdParty, the built in web server provides access to the Documents directory. RjDJ worked in the opposite sense, as Joe says, in that it looked for existing scenes as zipped bundles form the RjDj website or from a local custom RjDj webserver Python script running on your computer. The latter is how I would test RjDj scenes I wrote on my machine.
Dan Wilcox @danomatika danomatika.com robotcowboy.com
On Nov 27, 2014, at 6:00 AM, pd-list-request@lists.iem.at wrote:
*From: *Joe White white.joe4@gmail.com *Cc: *"pd-list@iem.at" pd-list@iem.at *To: *"Pagano, Patrick" pat@digitalworlds.ufl.edu *Date: *November 26, 2014 at 5:30:32 PM EST *Subject: **Re: [PD] GEMMA for ios*
Hey Patrick,
You can download assets to the apps data directory. The patches are probably stored on a server somewhere as bundles. At least that's how it was done at RjDj.
Cheers, Joe
I use CocoaWebserver with the WebDAV extension. You connect to the app with Finder, Nautilus, FIlezilla, etc
https://github.com/danomatika/PdParty/blob/master/doc/PdParty_User_Guide.md#... https://github.com/danomatika/PdParty/blob/master/doc/PdParty_User_Guide.md#detailed-instructions (scroll down to WebDAV)
So far, no data has been removed form the Documents dir, as far as I can tell. I provide a user access method to manage patches, so I figure I don’t have to be too smart about things. I just provide access to Documents and a browser to open scenes & patches.
Dan Wilcox @danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Dec 2, 2014, at 11:40 AM, Joe White white.joe4@gmail.com wrote:
With PdParty, the built in web server provides access to the Documents directory.
Ahh interesting, how does that work? Do you connect to the iPhones server and upload files through some interface?
This article provides more info on the different iOS app directories https://developer.apple.com/library/ios/documentation/FileManagement/Concept... https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html
One thing we had to be careful of was that downloadable data could be wiped by the OS to make space, and had to be something that could be recreated again at a later stage.
Cheers, Joe