Hi all!
I am pleased to announce that I just released the first working version of pd-fileutils (https://github.com/sebpiq/pd-fileutils) which is a node.js package and a command-line tool for fiddling with pd files.
Right now, the command-line tool only allows you to render .pd files to SVG, but expect more functionalities in the future (I am open to suggestions).
If you know JavaScript and node.js, you can also use the API for scripting operations with your pd files. Right now, it can only parse .pd files to a standard JavaScript object, which you can then manipulate easily with JavaScript.
This library is a by-product of the WebPd project ( https://github.com/sebpiq/WebPd), which aims at running Pure Data patches on the browser.
It is also a proposal for an alternative file format for Pure Data, based on JSON. There was a discussion about that on pd-dev : http://lists.puredata.info/pipermail/pd-dev/2012-06/018436.html and I would like to start it again ;)
Cheers!
Sébastien Piquemal
PS : there will definitely be bugs, so don't "hesitate" to report them :)
For example, here's one goodie brought by pd-fileutils
:
http://sebpiq.github.com/pd-fileutils/?gist=<http://sebpiq.github.com/pd-fileutils/?gist=5054711 gistId>
And your patch should be rendered to SVG. You can then send this link to anybody to show your patch :)
Of course for now the SVG rendering is super crappy, but I am working on it, so it should be better very soon.
Cheers,
Sébastien
oops, ... I meant :
"2) Go to this url (replace GISTID by your gist id) : http://sebpiq.github.com/pd-fileutils/?gist=http://sebpiq.github.com/pd-fileutils/?gist=5054711 GISTID"
2013/2/28 s p sebpiq@gmail.com
For example, here's one goodie brought by
pd-fileutils
:
- Paste a patch to gist : https://gist.github.com/
- Go to this url (replace <gistId> by your gist id) :
http://sebpiq.github.com/pd-fileutils/?gist=<http://sebpiq.github.com/pd-fileutils/?gist=5054711 gistId>
And your patch should be rendered to SVG. You can then send this link to anybody to show your patch :)
Of course for now the SVG rendering is super crappy, but I am working on it, so it should be better very soon.
Cheers,
Sébastien
Sorry for the spam ... problems with gmail and html, the url is :
http://sebpiq.github.com/pd-fileutils/?gist=GISTID
2013/2/28 s p sebpiq@gmail.com
oops, ... I meant :
"2) Go to this url (replace GISTID by your gist id) : http://sebpiq.github.com/pd-fileutils/?gist=http://sebpiq.github.com/pd-fileutils/?gist=5054711 GISTID"
2013/2/28 s p sebpiq@gmail.com
For example, here's one goodie brought by
pd-fileutils
:
- Paste a patch to gist : https://gist.github.com/
- Go to this url (replace <gistId> by your gist id) :
http://sebpiq.github.com/pd-fileutils/?gist=<http://sebpiq.github.com/pd-fileutils/?gist=5054711 gistId>
And your patch should be rendered to SVG. You can then send this link to anybody to show your patch :)
Of course for now the SVG rendering is super crappy, but I am working on it, so it should be better very soon.
Cheers,
Sébastien
Very nice :) I'd love to see full-on Pd patching in the browser :)
.hc
On 02/28/2013 02:02 AM, s p wrote:
Sorry for the spam ... problems with gmail and html, the url is :
http://sebpiq.github.com/pd-fileutils/?gist=GISTID
2013/2/28 s p sebpiq@gmail.com
oops, ... I meant :
"2) Go to this url (replace GISTID by your gist id) : http://sebpiq.github.com/pd-fileutils/?gist=http://sebpiq.github.com/pd-fileutils/?gist=5054711 GISTID"
2013/2/28 s p sebpiq@gmail.com
For example, here's one goodie brought by
pd-fileutils
:
- Paste a patch to gist : https://gist.github.com/
- Go to this url (replace <gistId> by your gist id) :
http://sebpiq.github.com/pd-fileutils/?gist=<http://sebpiq.github.com/pd-fileutils/?gist=5054711 gistId>
And your patch should be rendered to SVG. You can then send this link to anybody to show your patch :)
Of course for now the SVG rendering is super crappy, but I am working on it, so it should be better very soon.
Cheers,
Sébastien
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Actually I've had a crappy demo of patching in the browser running for quite a while now : http://funktion.fm/webpd/demos/simple-gui/simple-gui.html
It works (not so well in Firefox, but in chromium it's fine).
A friend of mine is developing a generic graph editor for dataflow programming, and I've been planning to migrate to this forever now, but didn't have the time ...
2013/2/28 Hans-Christoph Steiner hans@at.or.at
Very nice :) I'd love to see full-on Pd patching in the browser :)
.hc
On 02/28/2013 02:02 AM, s p wrote:
Sorry for the spam ... problems with gmail and html, the url is :
http://sebpiq.github.com/pd-fileutils/?gist=GISTID
2013/2/28 s p sebpiq@gmail.com
oops, ... I meant :
"2) Go to this url (replace GISTID by your gist id) : http://sebpiq.github.com/pd-fileutils/?gist=<
http://sebpiq.github.com/pd-fileutils/?gist=5054711%3E
GISTID"
2013/2/28 s p sebpiq@gmail.com
For example, here's one goodie brought by
pd-fileutils
:
- Paste a patch to gist : https://gist.github.com/
- Go to this url (replace <gistId> by your gist id) :
http://sebpiq.github.com/pd-fileutils/?gist=5054711%3E
gistId>
And your patch should be rendered to SVG. You can then send this link
to
anybody to show your patch :)
Of course for now the SVG rendering is super crappy, but I am working
on
it, so it should be better very soon.
Cheers,
Sébastien
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Wow, that's impressive, it actually works! Rough, yes, but working.
.hc
On Mar 1, 2013, at 10:34 AM, s p wrote:
Actually I've had a crappy demo of patching in the browser running for quite a while now : http://funktion.fm/webpd/demos/simple-gui/simple-gui.html
It works (not so well in Firefox, but in chromium it's fine).
A friend of mine is developing a generic graph editor for dataflow programming, and I've been planning to migrate to this forever now, but didn't have the time ...
2013/2/28 Hans-Christoph Steiner hans@at.or.at
Very nice :) I'd love to see full-on Pd patching in the browser :)
.hc
On 02/28/2013 02:02 AM, s p wrote:
Sorry for the spam ... problems with gmail and html, the url is :
http://sebpiq.github.com/pd-fileutils/?gist=GISTID
2013/2/28 s p sebpiq@gmail.com
oops, ... I meant :
"2) Go to this url (replace GISTID by your gist id) : http://sebpiq.github.com/pd-fileutils/?gist=http://sebpiq.github.com/pd-fileutils/?gist=5054711 GISTID"
2013/2/28 s p sebpiq@gmail.com
For example, here's one goodie brought by
pd-fileutils
:
- Paste a patch to gist : https://gist.github.com/
- Go to this url (replace <gistId> by your gist id) :
http://sebpiq.github.com/pd-fileutils/?gist=<http://sebpiq.github.com/pd-fileutils/?gist=5054711 gistId>
And your patch should be rendered to SVG. You can then send this link to anybody to show your patch :)
Of course for now the SVG rendering is super crappy, but I am working on it, so it should be better very soon.
Cheers,
Sébastien
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Yea this is really nice, glad you got the proof of concept working!
Is there a number box? Couldn't find it.
Please keep us all posted..
On Fri, Mar 1, 2013 at 12:08 PM, Hans-Christoph Steiner hans@at.or.atwrote:
Wow, that's impressive, it actually works! Rough, yes, but working.
.hc
On Mar 1, 2013, at 10:34 AM, s p wrote:
Actually I've had a crappy demo of patching in the browser running for quite a while now : http://funktion.fm/webpd/demos/simple-gui/simple-gui.html
It works (not so well in Firefox, but in chromium it's fine).
A friend of mine is developing a generic graph editor for dataflow programming, and I've been planning to migrate to this forever now, but didn't have the time ...
2013/2/28 Hans-Christoph Steiner hans@at.or.at
Very nice :) I'd love to see full-on Pd patching in the browser :)
.hc
On 02/28/2013 02:02 AM, s p wrote:
Sorry for the spam ... problems with gmail and html, the url is :
http://sebpiq.github.com/pd-fileutils/?gist=GISTID
2013/2/28 s p sebpiq@gmail.com
oops, ... I meant :
"2) Go to this url (replace GISTID by your gist id) : http://sebpiq.github.com/pd-fileutils/?gist=<
http://sebpiq.github.com/pd-fileutils/?gist=5054711%3E
GISTID"
2013/2/28 s p sebpiq@gmail.com
For example, here's one goodie brought by
pd-fileutils
:
- Paste a patch to gist : https://gist.github.com/
- Go to this url (replace <gistId> by your gist id) :
http://sebpiq.github.com/pd-fileutils/?gist=5054711%3E
gistId>
And your patch should be rendered to SVG. You can then send this link
to
anybody to show your patch :)
Of course for now the SVG rendering is super crappy, but I am working
on
it, so it should be better very soon.
Cheers,
Sébastien
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
No there's no controls at the moment (other than this ugly message box). My priority is more on the engine than the GUI. At the moment I am about to start a big refactoring when I find the time, because I would like WebPd to use Web Audio API. That's also why I am separating components, because I don't like to have a monolithic library ... I thought something like a file parser could be useful to other people as well :)
But sure I'll start to send updates once in a while here.
I am still working on the SVG rendering of the pd files, soon I have all the controls implemented, I'll post when that is done. I think it would be cool to have a place to post a patch, without having to take a screenshot of it. What do you think?
2013/3/1 Rich E reakinator@gmail.com
Yea this is really nice, glad you got the proof of concept working!
Is there a number box? Couldn't find it.
Please keep us all posted..
On Fri, Mar 1, 2013 at 12:08 PM, Hans-Christoph Steiner hans@at.or.atwrote:
Wow, that's impressive, it actually works! Rough, yes, but working.
.hc
On Mar 1, 2013, at 10:34 AM, s p wrote:
Actually I've had a crappy demo of patching in the browser running for quite a while now : http://funktion.fm/webpd/demos/simple-gui/simple-gui.html
It works (not so well in Firefox, but in chromium it's fine).
A friend of mine is developing a generic graph editor for dataflow programming, and I've been planning to migrate to this forever now, but didn't have the time ...
2013/2/28 Hans-Christoph Steiner hans@at.or.at
Very nice :) I'd love to see full-on Pd patching in the browser :)
.hc
On 02/28/2013 02:02 AM, s p wrote:
Sorry for the spam ... problems with gmail and html, the url is :
http://sebpiq.github.com/pd-fileutils/?gist=GISTID
2013/2/28 s p sebpiq@gmail.com
oops, ... I meant :
"2) Go to this url (replace GISTID by your gist id) : http://sebpiq.github.com/pd-fileutils/?gist=<
http://sebpiq.github.com/pd-fileutils/?gist=5054711%3E
GISTID"
2013/2/28 s p sebpiq@gmail.com
For example, here's one goodie brought by
pd-fileutils
:
- Paste a patch to gist : https://gist.github.com/
- Go to this url (replace <gistId> by your gist id) :
http://sebpiq.github.com/pd-fileutils/?gist=5054711%3E
gistId>
And your patch should be rendered to SVG. You can then send this
link to
anybody to show your patch :)
Of course for now the SVG rendering is super crappy, but I am
working on
it, so it should be better very soon.
Cheers,
Sébastien
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 1 Mar 2013, at 15:34, s p sebpiq@gmail.com wrote:
Actually I've had a crappy demo of patching in the browser running for quite a while now : http://funktion.fm/webpd/demos/simple-gui/simple-gui.html
It works (not so well in Firefox, but in chromium it's fine).
Wow! That's impressive, when I saw this thread I was just expecting a patcher, but you've actually got audio streaming back to the browser. How are you achieving that?
A friend of mine is developing a generic graph editor for dataflow programming, and I've been planning to migrate to this forever now, but didn't have the time ...
Do you have a link to that project?
best,
Jamie
Hi Jamie,
The audio is not streamed to the browser! WebPd is an implementation of Pure Data in JavaScript, so the browser itself produces the sound (link here : https://github.com/sebpiq/WebPd) . Since a couple of years, thanks to a new standard called Web Audio API, it is pretty easy to achieve in Firefox, Chrome and Safari. The performance is actually surprisingly good!!!
The graph editor project is called "dataflow" and is made by Forrest Oliphant, link here : https://github.com/meemoo/dataflow It is all JavaScript as well.
2013/3/4 Jamie Bullock jamie@jamiebullock.com
On 1 Mar 2013, at 15:34, s p sebpiq@gmail.com wrote:
Actually I've had a crappy demo of patching in the browser running for
quite a while now : http://funktion.fm/webpd/demos/simple-gui/simple-gui.html
It works (not so well in Firefox, but in chromium it's fine).
Wow! That's impressive, when I saw this thread I was just expecting a patcher, but you've actually got audio streaming back to the browser. How are you achieving that?
A friend of mine is developing a generic graph editor for dataflow
programming, and I've been planning to migrate to this forever now, but didn't have the time ...
Do you have a link to that project?
best,
Jamie
hey sebi - is this the one using WebAudio and not sink.js? also do you have [lop~ ] and [tabread4~] and the others you mentioned on the roadmap implemented?
scott
On Mon, Mar 4, 2013 at 1:28 PM, s p sebpiq@gmail.com wrote:
Hi Jamie,
The audio is not streamed to the browser! WebPd is an implementation of Pure Data in JavaScript, so the browser itself produces the sound (link here : https://github.com/sebpiq/WebPd) . Since a couple of years, thanks to a new standard called Web Audio API, it is pretty easy to achieve in Firefox, Chrome and Safari. The performance is actually surprisingly good!!!
The graph editor project is called "dataflow" and is made by Forrest Oliphant, link here : https://github.com/meemoo/dataflow It is all JavaScript as well.
2013/3/4 Jamie Bullock jamie@jamiebullock.com
On 1 Mar 2013, at 15:34, s p sebpiq@gmail.com wrote:
Actually I've had a crappy demo of patching in the browser running for
quite a while now : http://funktion.fm/webpd/demos/simple-gui/simple-gui.html
It works (not so well in Firefox, but in chromium it's fine).
Wow! That's impressive, when I saw this thread I was just expecting a patcher, but you've actually got audio streaming back to the browser. How are you achieving that?
A friend of mine is developing a generic graph editor for dataflow
programming, and I've been planning to migrate to this forever now, but didn't have the time ...
Do you have a link to that project?
best,
Jamie
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Yes! It uses sink.js! But sink.js uses WebAudio API when it can. The
synthesis is made in JavaScript, not in Audio API (yet!). However, I have
big plans of refactoring the whole stuff to be all Web Audio API! I started
pd-fileutils
as part of this refactor : I want to separate components to
make maintenance easier.
But the Web Audio API version is coming, probably in 3-4 months. If somebody wanna help, they are welcome :) it's quite a lot of work for me alone.
All mentioned in roadmap are implemented (at least partly), except [adc~]. You can check out implemented objects here : http://funktion.fm/webpd/demos/simple-gui/simple-gui.html
2013/3/5 Scott R. Looney scottrlooney@gmail.com
hey sebi - is this the one using WebAudio and not sink.js? also do you have [lop~ ] and [tabread4~] and the others you mentioned on the roadmap implemented?
scott
On Mon, Mar 4, 2013 at 1:28 PM, s p sebpiq@gmail.com wrote:
Hi Jamie,
The audio is not streamed to the browser! WebPd is an implementation of Pure Data in JavaScript, so the browser itself produces the sound (link here : https://github.com/sebpiq/WebPd) . Since a couple of years, thanks to a new standard called Web Audio API, it is pretty easy to achieve in Firefox, Chrome and Safari. The performance is actually surprisingly good!!!
The graph editor project is called "dataflow" and is made by Forrest Oliphant, link here : https://github.com/meemoo/dataflow It is all JavaScript as well.
2013/3/4 Jamie Bullock jamie@jamiebullock.com
On 1 Mar 2013, at 15:34, s p sebpiq@gmail.com wrote:
Actually I've had a crappy demo of patching in the browser running for
quite a while now : http://funktion.fm/webpd/demos/simple-gui/simple-gui.html
It works (not so well in Firefox, but in chromium it's fine).
Wow! That's impressive, when I saw this thread I was just expecting a patcher, but you've actually got audio streaming back to the browser. How are you achieving that?
A friend of mine is developing a generic graph editor for dataflow
programming, and I've been planning to migrate to this forever now, but didn't have the time ...
Do you have a link to that project?
best,
Jamie
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list