Max/MSP JavaScript distortion possible?

I’m trying to help a friend to figure out if it’s possible to implement DSP algorithms in Max/MSP javascript. He was told so in class, and he asked for my help but I can’t find any way to process actual samples.

TL;DR
Is it possible to get samples in and return them out in Max/MSP using javascript?
Thanks

40 thoughts on “Max/MSP JavaScript distortion possible?”