In the updated "simplemsp~" example, the "float" message method declaration accepts a double, not a float as one might expect. Is this a typo, or does Max 6 now secretly pass around doubles, with unsupporting objects just taking the MSB?
void simplemsp_float(t_simplemsp *x, double f);
Also, take a look at this (32-bit perform method):
t_simplemsp *x = (t_simplemsp *)(w); t_float *inL = (t_float *)(w); t_float *outL = (t_float *)(w); int n = (int)w;
Compared to this (64-bit perform method):
t_double *inL = ins; t_double *inR = ins; t_double *outL = outs;
The 32 bit method has only 1 input and 1 output, whereas the 64-bit method has 2 inputs and 1 output. Am I missing something, or is this just a mistake?
For as long as I can remember it has been necessary to declare typed float arguments as doubles for windows compatibility at least. The A_FLOAT type is still an actual float though….
Ah, thanks. C’est un peu bizarre, non?
C74 RSS Feed | © Copyright Cycling '74