[Fluxus] osc-send negative numbers

Dave Griffiths dave at pawfal.org
Thu Jun 5 03:39:04 PDT 2008


>> I forget the details, but I had some problems with this a while back due
>> to needing to send NTP timestamps - hence the rather iffy fix. I'll
>> check
>> your code and see what happens, but I think that long is 32bit on intel,
>> so I might need to change it to long long, or something.
> i just changed scheme_get_unsigned_int_val to scheme_get_int_val in the
> code. these functions return long or unsigned long, both are 32-bit on
> intel. according to inside plt mzscheme: "MzScheme expects to be
> compiled in a mode where short is a 16-bit integer, int is a 32-bit
> integer, and long has the same number of bits as void*."
>
> so, i think it works fine if used with 32-bit values. aren't ntp
> timestamps 64-bit?

yes - I should have kept quiet - I'm using two 32 bit ints for timestamps
when they are supported in osc anyway, I'll add some new osc types, and
sort out my mess :)

cheers,

dave




More information about the Fluxus mailing list