jit.brcosa float32 "mismatch"

agustin issidoro's icon

Hi there! First of all, a small disclaimer: I know very little about Jitter, haha. So here it goes: I am trying to apply some operations to a 2 plane matrix (2048 x 8) using jit.brcosa. The matrix contains float32 data (actually, fft information from incoming audio: bin magnitude in plane 0 and phase difference in plane 1). I only want to process plane 0. I go through jit.unpack and then feed jit.brcosa with plane 0 only. But I keep getting this message printed by the object in console: "mismatch type". I tried setting @adapt 1 and also @type 2 but it doesn't seem to work.

Does anyone know what it might be going on wrong? I would really appreciate any help

Greets!

Federico-AmazingMaxStuff's icon

Hey,
jit.brocosa doesn't work with float32 matrices.
For that you can create a jit.gen and load the "brcosa.genjit" file into it and use that instead.

Search in the Max files browser for "brcosa.genjit"