forked from buddhabrot/fusion-zauberstab
merge
This commit is contained in:
commit
68f3dcad09
@ -131,6 +131,9 @@ void BeatDetectApp::loop()
|
||||
0.005f); // linie der scheitelpunkte
|
||||
// y_fil[i] += (abs(y[i]) - y_fil[i]) * 0.005; //linie der
|
||||
// scheitelpunkte
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -186,10 +189,10 @@ void BeatDetectApp::loop()
|
||||
|
||||
leds[i].g = get_value(i, pos_target_filtered);
|
||||
leds[i].r = 0; //get_value(i, pos_target_filtered + 2);
|
||||
leds[i].g = get_value(i, pos_target_filtered + 2);
|
||||
leds[i].r = 0;//get_value(i, pos_target_filtered + 2);
|
||||
leds[i].b = get_value(i, pos_target_filtered - 2);
|
||||
|
||||
// leds[i].setRGB(brightness_red, brightness_green, brightness_blue);
|
||||
// leds[i].setHSV(160, (rounds == 6) ? 0xFF : 0, brightness);
|
||||
}
|
||||
FastLED.show();
|
||||
}
|
||||
@ -215,8 +218,8 @@ void BeatDetectApp::loop()
|
||||
|
||||
if (rounds > 5)
|
||||
{
|
||||
rounds = 0;
|
||||
active = argmax;
|
||||
rounds = 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user