(Michael Chinen)

Author: mchinen

std::vector size() method and gotcha with unsigned vs signed

Guess who wins in signed vs unsigned integer conversion? I guessed wrong today, or rather, I’ve been assuming wrong for quite a while. consider this example: std::vector<SomeClass*> myVec; int countdown = -1; // … (fill the vector) if (countdown < myVec.size()) countdown++; // this will never get hit myVec.size() returns size_t, which is an unsigned […]

Asia Computer Music Project

This conference, organized by the Asia Computer Music Project, which has the aim to bring the communities of computer music from Asian countries, was held on Dec 16-18, 2010, making this post exactly a month tardy. The conference was held by Tokyo Denki University, organized by Naotoshi Osaka, under whom I studied in 2006. I […]

audio IO on the iPhone gotchas

This is a basic outline that I will expand on. I just finished debugging this stuff and want to write the main points before I forget my references and main issues. Summary: two basic gotchas of full duplex (record from mic and output to speaker) audio IO on the iphone that I ran into are: […]

flash ios air certificate password issues

Today I had to publish an iOS app written in actionscript. There are a number of almost good guides like this one, which would be good if they just had more pictures.At first I used Flash Builder 4.5.1, which didn’t do the trick. I then used CS 5, and had everything building and running fine […]

Berlin Japanese Music in Review

After almost exactly two years, I’m moving out of Berlin, back to Hawaii before my probable return to Japan. When I first got here I didn’t know a single person. I came here expecting to work at my academic affiliation, but perhaps because of the school’s financial problems or the change in management upon my […]

Back to top