Thursday, April 30, 2009


Girl Talk - Bounce That (Best Fan Video Ever)


MIREX 2008 - Tag evaluation
Precision and Recall
Precision, recall and specificity
How Are Precision and Recall Calculated?
Beta-binomial model - trippy, I actually kind of understand this. lol. university is making me too smart.
Binomial distribution

ROC - Receiver operating characteristic
ROC and roll.

AUC-ROC Clip Data

Tag Affinity file

/data/file1.wav rock 0.9
/data/file1.wav guitar 0.7
/data/file1.wav vocal 0.3
/data/file2.wav rock 0.5

Signal detection theory: valuable tools for evaluating inductive learning
The area of a trapezoid



Nuria Oliver, PhD
Nuria Oliver publications

Read a paper by her from ISMIR about PAPA, which is making devices that help us exercise better by adapting the music that an iPod plays to different bio-physical properties, like pulse rate. So ultra cool.


OOP in haXe


Xtract - Take any data source and give it to the world

fast js


ff power


Interview with Hannah Perner-Wilson. Totally cool girl who makes wearable electronics. Future.

Wednesday, April 29, 2009




How Scala Changed My Programming Style

So many languages, so little sness.


Designing Web Interfaces - Principles and Patterns for Rich Interaction


code tag cloud


How to choose the best Linux distro for you

I'm currently running Fedora on two boxes and Ubuntu on one. I plan to fully switch to Ubuntu eventually.


why on dhh

"trying to reading dhh?s articles on himself, but his website is so drenched in axe body spray that it has more of a tear gas effect."


Monday, April 27, 2009

crop resize

To crop and then resize using convert from ImageMagick, make sure to read the image first:

convert 449A-waveform.png -crop 24000x150+10000+0 -resize "800x150\!" out.png



"Tentacle Grape is everything I love about hentai, but with a sweet grapey taste that makes it seem like everything's going to be okay." - Yuri Lowenthal, beloved anime voice-actor


8bit - 8 bit nerdcore music. I like.


Crystal Castles'

"ferocious, asphyxiating sheets of warped two-dimensional Gameboy glitches and bruising drum bombast pierce [the] skull with sheer shrill force, burrowing deep into the brain like a fever"

Reminds me of Atari Teenage Riot.


fonts 2008

Our Favorite Typefaces of 2008 from Typographica.

A nice quote from this article is:

Sensationalism aside, it's significant that the ever-increasing quality in type design these days - dubbed by some as the new "golden age" of type - has caused this year's list to supersede previous lists in many ways.

Golden age of type, that's cool.

tags search

Latest toy today is

M-x tags-search

I added the following to my .emacs file:

(global-set-key "\M-s" 'tags-search)

You also need to build a TAGS file, for my current work with haXe on the Orchive, I ran the following:

etags *hx

Now, to search for a tag I just need to go:


and then to repeat the tags search, I go:


Finding the definition of the tag doesn't seem to work with haXe, I'll play with it some more and will let you know if I figure it out.

Tuesday, April 21, 2009



Magnolia - An ancient flowering tree that evolved before bees, so it was pollinated by beatles.

Liriodendron or Tulip Tree.

live music hacking

Impromptu - is an OSX programming environment for composers, sound artists, VJ's and graphic artists with an interest in live or interactive programming. Impromptu is a Scheme language environment, a member of the Lisp family of languages.

Hacking Perl in Nightclubs
TopLap - (Temporary|Transnational|Terrestrial|Transdimensional) Organisation for the (Promotion|Proliferation|Permanence|Purity) of Live (Algorithm|Audio|Art|Artistic) Programming



Creating Custom Icons and Images for the iPhone. Excellent. Now, just need to figure out how to do this in Flash.


Beautiful iPhone icons at


Tricki - is a brand new Wiki-style site that is intended to develop into a large store of useful mathematical problem-solving techniques.


Why Being Smart Won't Get You Laid

"Well, congratulations -- you've just eliminated 95% of the world's population as a potential mate, Mr or Ms Smartypants."


"At this point, you have three choices:

A) Loosen up

B) Do a very thorough search all over the planet and be prepared to move to Duesseldorf OR

C) Join a monastery."

I've heard the magnolia trees are in bloom in the monasteries, this time of year.

Monday, April 20, 2009


These are my folk.


form customization


Do you think I know what I'm doing?
That for one breath or half-breath
I belong to myself?
As much as a pen knows what it's writing
or the ball can guess where it's going next.

- Rumi


I just spent 3 hours trying to track down why my ExternalInterface in Flash (actually haXe) couldn't call a simple Javascript function:

The Javascript looked like:

function test() { console.log("hello world") }

and the haXe looked like:"test");

Turns out it's (of course) because I was loading a local file, and wasn't running it from a web server. When I made it into a web server by putting it in my apache.conf, it worked fine.

arg. fuck. kill.


With Flash 10 on Linux, you can't change the settings with the mouse, the interface appears to freeze. To access, you need to "tabbing" and "spacing/cursoring" around.

Saturday, April 18, 2009

Thursday, April 16, 2009

ffmpeg cut

Cut Video with FFMPEG

ffmpeg -sameq -ss 195 -t 30 -i in.m4v out.m4v

midi out

arduino midi drum

Arduino and Ableton Live through Processing

more details, please.


The Allosphere. My friend Matt Wright works on the audio for this. Neat.


8 Characteristics Of Successful User Interfaces



Application Templates, new in Rails 2.3

Lena's face in sound

Tutorial - Instrument Isolation (Funky Worm)

omfg. this is amazing. manipulate sounds graphically and then hear the results. i need to do this in flash.

Wednesday, April 15, 2009


Arduino vs. Sanguino vs. Arduino MEGA

Answer: They all rock!

I really like the Arduino. I'm going to be hacking on one tomorrow, building my electronic theremin. sness needs a day of sness, and tomorrow will be that day. Plus, I get my digikey order tomorrow, sweet sweet LED goodness.


Wow, fantastic post at Create Digital Music about Smule Leaf Virtual Trombone for iPhone: Multiplayer Judging Fuses Instrument, Game

"Oh, yeah, and got any doubts about the business model for open source? ChucK is a completely free, ridiculously powerful programming language for synthesis. It?s infinitely deeper than Leaf Trombone. But that power, packaged for a broad audience, can become a hit business ? and likely to be popular well beyond musicians. If that?s possible, I imagine more could be soon. Remember, too, that whatever the Apple fanboys tell you, the iPhone is not a dominant mobile platform ? nowhere close. Apple?s proprietary hardware means it isn?t really intended to be.

I hope someone working on platforms like Symbian and Google Android takes note: pack in geeky, nuclear-powered synthesis features, and people will find ways to put them to use in consumer apps that appeal to everyone. Leave them out, and you miss the boat. Or the trombone, anyway."

Ok, in my spare time, learn Google Android.


Fabric Bend Sensor (underwater)

Monday, April 13, 2009


My mind was just blown. I just learned about the 4051 analog multiplexer/demultiplexer. You can read tons of analog inputs with just a single analog pin on the Arduino. And it's less than a buck for surface mount and $5 for through hole mount at

There is so much to learn, and it's so fun and cool!

So, I could have like 30 antennas on my electronic theremin capactive sensing device?

I was on a bike ride this weekend, and I was looking at the flowers and thinking that a sculpture that looked like lobelia would be a really neat interface to play. Cascading gardens of flowers, all making music as you walk through it.

This, combined with that video I just posted of the sparks coming out of the guys fingers on the multitouch display. How about that combined with the electronic theremin? You move in the space and the screen explodes in colours as you approach the petals and stamens, which are the antennas.

Wow. It is a very exciting time.




Labial consonant

"Labials are consonants articulated either with both lips (bilabial articulation) or with the lower lip and the upper teeth (labiodental articulation). English [m] is a bilabial nasal sonorant, [b] and [p] are bilabial stops (plosives), [v] and [f] are labiodental fricatives."

"Bilabial fricatives and the bilabial approximant do not exist in standard English, but do occur in many languages. For example, the Spanish consonant spelt b or v is pronounced as a voiced bilabial approximant between vowels."


The new default terminal for gnuplot isn't "x11", it's "wxt":

set terminal wxt


Convert MIDI note numbers to Frequencies

# from
# Each note's frequency is 2^(1/12) times of the previous note.

freq = 440 * 2^((n-69)/12)
n = 69 + 12*log(freq/440)/log(2)


iphone blindness

Why developers obsession with the iPhone is blinding them to the potential of other iPhone markets. So true. We are in the gold-rush phase of iPhone apps. When a gold rush is already going on, don't try to catch up, instead, look for where the next gold rush will be (or the gold rush after that), and stake your claim early.

Better yet, don't chase after gold rushes.

Sunday, April 12, 2009

How to find the Google Reader Ninja



Tweenbots: Cute Beats Smart

I absolutely love this. Love love love it.

This is such a smart idea, technology helping us be more human and more altruistic. Maybe we could work this into a music recommendation site, with a well meaning AI that needs our help? Technology and humans coming together to help each other out.

Star Guitar - iPhone app: Ocarina killer!

Saturday, April 11, 2009


DC Open Frame Solenoids - For the robot drummer.

Thursday, April 09, 2009


Wearable blood pressure sensor offers 24/7 continuous monitoring

Want to build. Then connect it to Ableton to make your BPM control your BPM.



boxee api

Boxee opens up their API. More info at

This is really cool, if I had any spare time, I would make a music browsing application for this. Too many cool things to do.

Wednesday, April 08, 2009



56.8:1 Mini Metal Gear Motor

Running at 6V: 370RPM


Ichiro Fujinaga
Douglas Eck
Sidney Fels

Very interesting research that they're working on.


Mantis just showed me the Hamamatsu Shaft Encoder, which uses a little IR emitter/detector.

step it up

Stepper - OSC - How to control the stepper motor using the Make Controller:

To take 1000 steps with the first stepper, send the message:

/stepper/0/step 1000

To set the first stepper to step position 10000, send the message:

/stepper/0/position 10000

Leave the argument value off to read the position of the stepper:


To set the speed of the first stepper to step at 100ms per step, send a message like

/stepper/0/speed 100

HOW TO - Reusing a floppy stepper motor - MAKE Controller kit project!
Make Controller - Downloads
Servos - on the MAKE Controller

Sunday, April 05, 2009


Tonight the tunes that are keeping me going writing this exam for CSC 561 are:

Prodigy - Invaders Must Die + Omen
The Ting Tings - That's Not My Name + Great Dj
Katy Perry - Hot N Cold
Bug + Warrior Queen

dj code

cd code


next year

MADI--(multi)Mallet Automatic Drumming Instrument



8 Simple Ways to Improve Typography In Your Designs

1) measure
2) leading
3) hanging quotes
4) vertical rhythm
5) windows and orphans
6) emphasis
7) scale
8) clean rags

Friday, April 03, 2009


Soft Pressure Sensor Matrix Instructable! Sweeeeeet!

robot drums




A distributed music information system. Wow! Neat Ph.D. thesis. Here's the abstract:


Information management is an important part of music technologies today, covering the man- agement of public and personal collections, the construction of large editorial databases and the storage of music analysis results. The information management solutions that have emerged for these use-cases are still isolated from each other. The information one of these solutions manages does not benefit from the information another holds.

In this thesis, we develop a distributed music information system that aims at gathering music- related information held by multiple databases or applications. To this end, we use Semantic Web technologies to create a unified information environment. Web identifiers correspond to any items in the music domain: performance, artist, musical work, etc. These web identifiers have structured representations permitting sophisticated reuse by applications, and these representations can quote other web identifiers leading to more information.

We develop a formal ontology for the music domain. This ontology allows us to publish and interlink a wide range of structured music-related data on the Web. We develop an ontology evaluation methodology and use it to evaluate our music ontology. We develop a knowledge representation framework for combining structured web data and analysis tools to derive more information. We apply these different technologies to publish a large amount of pre-existing music-related datasets on the Web. We develop an algorithm to automatically relate such datasets among each other. We create automated music-related Semantic Web agents, able to aggregate musical resources, structured web data and music processing tools to derive and publish new information. Finally, we describe three of our applications using this distributed information environment. These applications deal with personal collection management, enhanced access to large audio streams available on the Web and music recommendation.


Thursday, April 02, 2009


Wow, hooking up a servo to the Make board looks dead simple:

Instructions for what to do.

To set the first servo to one quarter its position, send the message

/servo/0/position 256

Leave the argument value off to read the position of the servo:


To set the speed of the first servo to just under full speed, send a message like

/servo/0/speed 975

The active property corresponds to the active state of the servo. If the servo is set to be active, no other tasks will be able to write to the same I/O lines. If you're not seeing appropriate responses to your messages to a servo, check the whether it's locked by sending a message like



ARToolKit - A GPLed Augmented Reality framework. Need do this summer. Integrate with my Arduino theremin that I'm building.


Robot drumming. Want to set up the robot drum demo this summer. Looks like there are different options. One is to use servo motors. Another, that the P.E.A.R.T. system (love the name) uses, are pneumatic devices controlled by solenoids. Another is to just use small motors.

I think I'll try the servo, since we have a Make controller here and an extra servo.

colours are nice

Another way to color your document in latex:



\colorbox{blue}{\makebox[\textwidth-2\fboxsep][l]{\bfseries\color{white} Academic Achievements}}


colorful latex

Neato way to color source code listings in Latex.

Reproduced here for your convenience:


%\Hilight%mov r1, xF0 -- Reset ptr value$
mov r2, x00 -- Reset total value$

wake up

If your Mac Mini won't wake up, try going to: for instructions on how to reset the PMU.

Wednesday, April 01, 2009


avantgame blog - Blog of Jane McGonigal. She rocks.

The Institute for the Future - (IFTF) is an independent, nonprofit research group with over 40 years of forecasting experience.


OP-1 Display test