jukebox wip

This commit is contained in:
minjaesong
2024-01-11 02:23:20 +09:00
parent 52ae1768cb
commit fd30223df8
9 changed files with 127 additions and 3 deletions

View File

@@ -496,7 +496,7 @@ class BasicDebugInfoWindow : UICanvas() {
batch.color = COL_METER_TROUGH
val intensity = fullscaleToDecibels(fs.coerceAtMost(1.0)).plus(dbLow).div(dbLow).coerceIn(0.0, 1.0).toFloat()
Toolkit.fillArea(batch, x, y + 2, miniW, 8)
batch.color = if (fs > 1.0) LAMP_OVERRANGE else Color(0.1f, intensity, 0.1f, 0.666f)
batch.color = if (fs > 1.0) LAMP_OVERRANGE else Color(0.1f, intensity, 0.1f, 1f)
Toolkit.fillArea(batch, x + 2 + 13*ch, y + 4, 11, 4)
oldPeakDS[index][ch] = fs