DSP Coding Help

Hello.
I am using first time the Arduino.
And I'm writing a code for my Digital Sound Processor with I2C communication.
But I am received an error in the code.

  if (Mute == HIGH); {
    leftmute = 159;
    rightmute = 191;
  } else {
    leftmute = 128;
    rightmute = 160;
  }

This is a part of the code.
And I'm receiving an error that says " 'else' without a previous 'if' ".
What are I am doing wrong?

if (Mute == HIGH); <<<< see the “;”? Does it belong there?

Have a look at C++ If ... Else.

Idahowalker:
if (Mute == HIGH); <<<< see the “;”? Does it belong there?

Sorry. I say, I’m a newbie.
And I need to ask another question.
I’m making this code, but I can’t sure for it’s correct or not.

#include <Wire.h>
byte volume = 30;
byte leftmute = 128;
byte rightmute = 160;
int VolumeUp = 2;
int VolumeDown = 3;
int Mute = 4;
void setup() {
  pinMode(VolumeUp, INPUT);
  pinMode(VolumeDown, INPUT);
  pinMode(Mute, INPUT);
  Wire.begin();
  Wire.beginTransmission(128);
  Wire.write(volume);
  Wire.write(leftmute);
  Wire.write(rightmute);
  Wire.endTransmission();
}

void loop() {
  if (volume <= 0) {
    volume = 0;
  }
  if (volume >= 60) {
    volume = 60;
  }
  if (VolumeUp == HIGH) {
    volume++;
    Wire.beginTransmission(128);
    Wire.write(volume);
    Wire.endTransmission();
  }
  if (VolumeDown == HIGH) {
    volume--;
    Wire.beginTransmission(128);
    Wire.write(volume);
    Wire.endTransmission();
  }
  if (Mute == HIGH) {
    leftmute = 159;
    rightmute = 191;
    Wire.beginTransmission(128);
    Wire.write(leftmute);
    Wire.write(rightmute);
    Wire.endTransmission();
  } else {
    leftmute = 128;
    rightmute = 160;
    Wire.beginTransmission(128);
    Wire.write(leftmute);
    Wire.write(rightmute);
    Wire.endTransmission();
  }
}

If this is true, I’m going continue to write.
Sorry for bad English.

H_SerhatY:
And I need to ask another question.
I'm making this code, but I can't sure for it's correct or not.

If this is true, I'm going continue to write.

Whiles the code looks to be written well, I've no idea if the code does its thing or not.

I’m updated the code with this one.

#include <LiquidCrystal_I2C.h>
#include <Wire.h>

LiquidCrystal_I2C lcd(0x27, 16, 2);

byte volume = 30;
byte leftmute = 128;
byte rightmute = 160;
byte loud = 68;
byte bass = 111;
byte treble = 127;

int VolumeUp = 2;
int VolumeDown = 3;
int Mute = 4;
int Loudness = 5;
int BassUp = 6;
int BassDown = 7;
int TrebleUp = 8;
int TrebleDown = 9;

void setup() {
  void SendData(unsigned char byte) {
    Wire.beginTransmission(128);
    Wire.write(byte);
    Wire.endTransmission();
  }
  pinMode(VolumeUp, INPUT);
  pinMode(VolumeDown, INPUT);
  pinMode(Mute, INPUT);
  pinMode(Loudness, INPUT);
  pinMode(BassUp, INPUT);
  pinMode(BassDown, INPUT);
  pinMode(TrebleUp, INPUT);
  pinMode(TrebleDown, INPUT);
  Wire.begin();
  Wire.setClock(100000);
  Wire.beginTransmission(128);
  Wire.write(volume);
  Wire.write(leftmute);
  Wire.write(rightmute);
  Wire.write(loud);
  Wire.write(bass);
  Wire.write(treble);
  Wire.endTransmission();
  lcd.begin();
  lcd.setCursor(0,0);
  lcd.print("by H_SerhatY");
  lcd.setCursor(0,1);
  lcd.print("DSP v1.0");
}

void loop() {
  if (VolumeUp == HIGH && volume < 0) {
    volume--;
    SendData(volume);
  } else if (VolumeUp == HIGH && volume == 0) {
    volume = 0;
    SendData(volume);
  }
  if (VolumeDown == HIGH && volume > 60) {
    volume++;
    SendData(volume);
  } else if (VolumeDown == HIGH && volume == 60) {
    volume = 60;
    SendData(volume);
  }

  
  if (Mute == HIGH) {
    leftmute = 159;
    rightmute = 191;
    SendData(leftmute);
    SendData(rightmute);
  } else {
    leftmute = 128;
    rightmute = 160;
    SendData(leftmute);
    SendData(rightmute);
  }

  
  if (Loudness == HIGH) {
    loud = 64;
    SendData(loud);
  } else {
    loud = 68;
    SendData(loud);
  }

  
  if (BassUp == HIGH && bass == 104) {
    bass = 104;
    SendData(bass);
  } else if (BassUp == HIGH && bass <= 111 && bass >= 104) {
    bass--;
    SendData(bass);
  } else if (BassUp == HIGH && bass == 102) {
    bass + 9;
    SendData(bass);
  } else if (BassUp == HIGH && bass <= 102 && bass >= 96) {
    bass++;
    SendData(bass);
  }
  if (BassDown == HIGH && bass == 96) {
    bass = 96;
    SendData(bass);
  } else if (BassDown == HIGH && bass > 96 && bass <= 102) {
    bass--;
    SendData(bass);
  } else if (BassDown == HIGH && bass == 111) {
    bass - 9;
    SendData(bass);
  } else if (BassDown == HIGH && bass <= 111 && bass >= 104) {
    bass++;
    SendData(bass);
  }

  
  if (TrebleUp == HIGH && treble == 120) {
    treble = 120;
    SendData(treble);
  } else if (TrebleUp == HIGH && treble <= 127 && treble >= 120) {
    treble--;
    SendData(treble);
  } else if (TrebleUp == HIGH && treble == 118) {
    treble + 9;
    SendData(treble);
  } else if (TrebleUp == HIGH && treble <= 118 && treble >= 112) {
    treble++;
    SendData(treble);
  }
  if (TrebleDown == HIGH && treble == 112) {
    treble = 112;
    SendData(treble);
  } else if (TrebleDown == HIGH && treble > 112 && treble <= 127) {
    treble--;
    SendData(treble);
  } else if (TrebleDown == HIGH && treble == 127) {
    treble - 9;
    SendData(treble);
  } else if (TrebleDown == HIGH && treble <= 127 && treble >= 120) {
    treble++;
    SendData(treble);
  }
}

But I’m received an error in there:

  void SendData(unsigned char byte) {
    Wire.beginTransmission(128);
    Wire.write(byte);
    Wire.endTransmission();
  }

(deleted)