virtual filesystem: remember the files you uploaded
- Providers: local, url (store as url), cloud
- either online, offline locateable with filesystem api
- offline locating is similar to Max MSP's search paths
- make sure to define extensible interfaces for file uploads
- Each object only store vfs path, it must not store the file object. Use the VFS API to load.
- elem~: integrate with Elementary Audio's virtual filesystem
- csound~: integrate with CSound's virtual filesystem
- chuck~: integrate with Chuck's
createDirectory,createFile,loadFile - p5 loadImage should support loading from Patchies url scheme
- Recorded samples in sampler~
- persist images (
img), sound (soundfile~), video (video) - for public use, maybe set a really tiny max file size, and we would also need uploads
I wanted the ability to store and load files in a virtual file system.
Some rough goals:
- Be able to have a virtual filesystem with directories and files
- Be able to resolve the content of the file from many providers
- URL: to load that file content from a given URL
- Local Filesystem: use the
- (future) cloud providers - dragging a file in Patchies can upload it to
- Be able to have a UI that lets you manage the virtual filesystem:
- See files and directories in a tree structure
- Create and delete files and directories
- Set a "provider" on where to load a specific file or directory
- e.g. you might load video.mp4 from a URL, but you might load super-secret.jpeg from your own local filesystem