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.
Nitpick: JSFX is not related to JavaScript at all, the JS part actually stands for Jesusonics. The language itself is called EEL2: https://www.cockos.com/EEL2/

the full power of the LUA
scripting language (much nicer than js)
Very much agree.

Christof

On 07.05.2020 16:56, IOhannes m zmölnig wrote:
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


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list