Lstn is another project I’ve been working on with Institute for Algorhythmics. It is a program that sonifies real-time debugging data of other programs. If you were interested in the FuckingAudacity or FuckingWebBrowser demos you’ll probably like this one. Those were sonification from the inside out, and lstn is about external sonification: We sonify opcodes, […]
The MAX(a,b) macro bug I posted last was something I had done before. Today and Yesterday I spent a good few hours running over my old mistakes. What’s a difference between: unsigned char *dynArray = malloc(500); unsigned char trueArray[500]; well, Today’s arrrrrrg is that sizeof (dynArray) is just the size of a pointer, not the […]
Over the last year in Berlin I worked on five collaborative music/performance/art projects that I’ve been meaning to post. In the summer as a part of 48 Stunden Neukölln I did a collaboration with Tatsumi Ryusui (myspace). Normally Tatsumi does experimental electronics improvisation and I do computer music or sonification stuff, but we were asked […]
Knowing how to macro correctly is important in both the real world (starcraft) and when writing code. in c you can define useful macros like #define FFMAX(a,b) ((a) > (b) ? (a) : (b)) . The macros will be a little better than using even static inline functions because no extra memory is allocated for […]
If you’re building a cocoa app, don’t use pthread mutexes and pthread threads. Use NSThread and NSLock. I’ve written a few cocoa apps that use pthreads, but maybe I’ve just been lucky till now.