hi,
i'm trying to build TrillCentroids on my Bela with
- Bela image v0.3.8a
- SuperCollider 3.10.0-beta1 (1378ce7b8)
i grabbed the matching version of the SuperCollider source and am able to build TrillCentroids. but when i try to create a TrillCentroids UGen in SC using
Ndef(\trill, {
var i2c_bus = 1;
var i2c_address = 0x28;
var thresh = 0.22;
var prescaler = 1;
var centroids;
centroids = TrillCentroids.kr(i2c_bus, i2c_address, thresh, prescaler);
SendReply.kr(Impulse.kr(8), "/trillcentroiddata", centroids);
}).play(group: s);
i get
Initialized with #outputs: 11 i2c_bus: 1 i2c_addr: 40 mode: 0 thresh: 7566708 pre: -1073741824 deviceType: 1070344437
i.e. the thresh, pre and deviceType values get corrupted somehow.
the prebuilt TrillCentroids.so from this repo initializes correctly. any idea why things would break when i build it myself?
hi,
i'm trying to build TrillCentroids on my Bela with
i grabbed the matching version of the SuperCollider source and am able to build TrillCentroids. but when i try to create a TrillCentroids UGen in SC using
Ndef(\trill, { var i2c_bus = 1; var i2c_address = 0x28; var thresh = 0.22; var prescaler = 1; var centroids; centroids = TrillCentroids.kr(i2c_bus, i2c_address, thresh, prescaler); SendReply.kr(Impulse.kr(8), "/trillcentroiddata", centroids); }).play(group: s);i get
i.e. the
thresh,preanddeviceTypevalues get corrupted somehow.the prebuilt
TrillCentroids.sofrom this repo initializes correctly. any idea why things would break when i build it myself?