     # Render particles to the LEDs
     client.mapParticles particles, model
 
-setInterval draw, 10
+setInterval draw, 5

particleLifetime = 1.0
brightness = 1.0
spinRate = 1.0

previousNow = 0
spinAngle = 0

midiToHz = (key) -> 440 * Math.pow 2, (key - 69) / 12

# Midi note to angle, one rev per octave
midiToAngle = (key) -> (2 * Math.PI / 24) * key


input.on 'message', (deltaTime, message) ->
