Could JavaScript in Max process signal ?

mirrorboy's icon

By reading the following threads, I was able to signal through using js patch.
https://cycling74.com/forums/passing-audio-thru-javascript

But I would like to process coming byte data signals to fft or filter.
Is there any code that would be helpful?

Luke Hall's icon

You can only route the signal so your options are very limited in javascript. If you want to write filters in code you might want to look to [gen~] or [mxj~] or dive into the SDK if you're more comfortable in C.

mirrorboy's icon

>Luke Hali
Thanks your comment.
Oh, I didn't know that.I will try [gen~] or SDK.

Roman Thilenius's icon

arent "scripting" and "signal" almost opposites? :) not to forget that .js would be about 100 times slower compared to msp externals.