[PD] Javascript on PD

IOhannes m zmölnig zmoelnig at iem.at
Thu May 7 16:56:16 CEST 2020


On 5/7/20 4:11 PM, Vinicius Cesar wrote:
> Hi everyone,
> 
> I was looking for some PD external that load javascripts, like mxj or js on
> Max.
> I found pdj, but it seems doesn't work on PD vanilla. Anyone knows some
> library that do this?


well, according to it's github page, pdj will allow you to load java
code, not javascript (that's two completely different languages).
otoh, the webpage also speaks about mxj.

regarding Pd-vanilla: the page (again!) explicitely mentions Pd-0.40,
which *is* Pd-vanilla.
however, it's a Pd version that was released 14 years ago. while Pd's
public API is very stable, chances are that the library uses a private
API and is thus broken.

also: did you actually manage to compile it? because the code looks
rather dated and unloved. (and java-1.5...seriously?)

so this looks like a premium case of bitrot to me.



anyhow, there's pdlua, which gives you the full power of the LUA
scripting language (much nicer than js)


if you insist on JavaScript, there's also jsusfx (by the same author of
pdj), which allows you to do audio-processing in a JS-dialect (made
popular by Reaper) and is well maintained.



fg,ads
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20200507/5a139deb/attachment.sig>


More information about the Pd-list mailing list