private void loadDrumTextbox_Click(object sender, EventArgs e) { for (int i = 0; i < drumTextBox.Lines.Length; i++) { AudioEngine.LoadInstrument(i, drumTextBox.Lines[i]); } }
private void loadInstrumentButton_Click(object sender, EventArgs e) { AudioEngine.LoadInstrument(5, instrumentTextBox.Text); }