Vizzie to 16:9

Makrotulpa's icon

Hi there.

I've been trying to mod Vizzie to accomodate 16:9 videos (640x360) and output them appropriately and i've hit a wall.
I'm modding play-patch.maxpat and viewr-patch.maxpat, changing y variables from 480 to 360 but the output now has a black bar taking up half the screen with the video in the second half. I'm thinking it may have something to do with these expressions:
expr 240 - ($f2 * (0.5 * $f1))
expr 240 + ($f2 * (0.5 * $f1))

Converting the 240 to 360 does not work and i've no idea what those expressions are actually doing.

Max Patch
Copy patch and select New From Clipboard in Max.

I've added my code below if anyone has any idea.

Makrotulpa's icon

Am also having problems saving presets. Using the BRCOSR, 4MIXR and DELAYR - keep getting for e.g. "error -1 writing brcosr-presets.json" This is coming up when I run as a patch and as a collective/app.

Do I need to set a specific directory to save these? I'm guessing it is trying to save over the protected files in the VIZZIE patchers directory.