JSFX Dojo

Woof, around 1,000 lines of that can go in the bin… whitespace, commented out sections, dead code etc. I notice in Linux that the font size is bigger than in your screenshot which rings a bell about there being differences in font size rendering in Windows vs others. I can’t remember what the fix is for that.

I’ll have a look at hacking the relevant stuff in, not today though.

1 Like

Strange, since Reaper’s gui text is so small (too small) in Linux.

My brain might be failing me, either there’s something that’s done to normalise font size in either ReaScript/JSFX or maybe EEL2 in general, or I’m having a Dory day.

Maybe assigning to sz a ratio of the window size?

Btw, I haven’t forgotten about this, although I am hoping that everybody else does for a long enough time that somebody writes a JSFX formatter in the meantime. There aren’t many people around with in depth experience of the EEL2 parser I don’t think, and I think a proper formatter would need that info.

Dealing with really, really poorly formatted code adds so much tedium. I find myself reformatting everything by hand before starting.

Actually I found a solution in the tcp master track
I’ve never really used it before,
but I get much bigger text out of it than in the mixer, and bigger meters too

I thought maybe I’d just drop John from Tukan a pm,
ask him if he can make the peak text resizable

I mean you can do it if you want,
but it’s his baby, probably take him 5 minutes to fix it

I don’t wanna make you fix shit that I’ve found a workaround for :smiley:

No worries, he should start a campaign for a code formatter on the JSFX forum. It can be tricky even for pros intimately familiar with a language implementation, although writing a more simple one might be a few hour pair programming hackathon for the likes of Frankel and Schwartz.