First attempt at adding polyphony, there's a bug..