var noise, env;
var seq = "o x o x o x o x o x o x o x x x";
var steps = seq.split(" ");
env = new p5.Env(0.01, 1, 0.2, 0.1);
function hitMeSteve(when, env, loc) {
if (when == 'x' && frameCount % speed == 0) {
env.play();
}
}
var now = steps[count % steps.length];
hitMeSteve(now, sf, 10);