From dd561e9c6b367c2b8cc2e6f9c36a31daff8e7a30 Mon Sep 17 00:00:00 2001 From: livvy94 Date: Wed, 1 May 2024 00:38:39 -0400 Subject: [PATCH] Fix problem with Channel Transpose button --- PK Piano/Form1.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PK Piano/Form1.cs b/PK Piano/Form1.cs index a807c4a..be4f4c0 100644 --- a/PK Piano/Form1.cs +++ b/PK Piano/Form1.cs @@ -292,7 +292,7 @@ private void btnOctaveUp_Click(object sender, EventArgs e) //Other button click events private void btnChannelTranspose_Click(object sender, EventArgs e) { - CopyDoubleHex(0xEA, Convert.ToByte(transposeValue)); + CopyDoubleHex(0xEA, Convert.ToByte(transposeValue, 16)); } private void btnFinetune1_Click(object sender, EventArgs e) @@ -609,7 +609,7 @@ private void Form1_Load(object sender, EventArgs e) playbackThing.wo = new WaveOutEvent(); playbackThing.fadeout = true; - cboWaveform.SelectedIndex = 1; + cboWaveform.SelectedIndex = 3; txtMultiplier.TextChanged += txtMultiplier_TextChanged; //The default click event for txtMultiplier doesn't do anything, so this is the next best alternative //Tooltip stuff from http://stackoverflow.com/questions/1339524/c-how-do-i-add-a-tooltip-to-a-control