when MIDI::NoteOn
                    # ["<=>", "channel", "channel=", "channel_to_s", "data_as_bytes", "delta_time", "delta_time=", "note", "note=", "note_to_s", "number_to_s", "off", "off=", "pch_oct", "print_channel_numbers_from_one", "print_channel_numbers_from_one=", "print_decimal_numbers", "print_decimal_numbers=", "print_note_names", "print_note_names=", "quantize_to", "status", "time_from_start", "time_from_start=", "velocity", "velocity="]
                    @samples << Sample.new(event.time_from_start / samples_per_second, $midi_key_channel_and_key_to_string[event.channel + 1][event.note], event.velocity / 127.0)