changing LED strip speed using button

hello, i am trying to change the speed of the light moving left to right using this code:

int piezopin = 8;

void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(piezopin, OUTPUT);
}

void loop() {
// put your main code here, to run repeatedly:
// frequency for human ears are between 2000 and 5000
// tone(Arduinopin, frequency, duration(milis))
//for (unsigned int i=20; i<5000; i+500)
//{
//tone(piezopin, i);
//delay(10);
//}
//digitalWrite(piezopin, HIGH);
tone(piezopin, 1500);
delay(1000);
//digitalWrite(piezopin, LOW);

}

Aside from the fact that that code doesn't read from any pins, and doesn't know anything about any LED strips, what IS the problem?