Regardless of the complications of real-time audio with Ruby, I wasn't intending that. I was talking about generating MIDI files (with very fine resolution timing) and then playing back the already generated MIDI files, so I had no worries about that. I was only trying to figure out an easier way than drawing on a piano roll