Skip to content

Commit

Permalink
Fix problem with Channel Transpose button
Browse files Browse the repository at this point in the history
  • Loading branch information
livvy94 committed May 1, 2024
1 parent 5f53605 commit dd561e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PK Piano/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit dd561e9

Please sign in to comment.