Input Quantization

This is the quantization for converting MIDI input to steps. It's used when importing a MIDI file, and also by the Record Tracks command.