ValueBuffer constructor
Implementation
ValueBuffer({
required int size,
this.fallSpeed = 0.08,
this.sensibility = 8.0,
}) {
levels = List.filled(size, 0.0);
peakLevels = List.filled(size, 0.0);
meanLevels = List.filled(size, 0.0);
}
ValueBuffer({
required int size,
this.fallSpeed = 0.08,
this.sensibility = 8.0,
}) {
levels = List.filled(size, 0.0);
peakLevels = List.filled(size, 0.0);
meanLevels = List.filled(size, 0.0);
}