better post definition

This commit is contained in:
minjaesong
2025-01-15 13:23:28 +09:00
parent c14720d649
commit 51dd99fd80
4 changed files with 68 additions and 10 deletions

View File

@@ -258,10 +258,10 @@ class AudioMixer : Disposable {
it.filters[0] = BinoPan(0f)
}
masterTrack.filters[0] = SoftClp
masterTrack.filters[1] = Comp(-36f, 1f, 12f).also {
masterTrack.filters[0] = Comp(-36f, 1f, 12f).also {
it.bypass = true
}
masterTrack.filters[1] = SoftClp
masterTrack.filters[2] = Vecto(1.4142f)
masterTrack.filters[3] = Spectro()

View File

@@ -123,12 +123,11 @@ class Comp(
// Toolkit.fillArea(batch, x.toFloat() + STRIP_W, y+14f, -STRIP_W * perc, 2f)
batch.color = FILTER_NAME_ACTIVE
App.fontSmallNumbers.draw(batch, "T:${threshold.absoluteValue.times(100).roundToInt().div(100f)}", x+3f, y+1f)
App.fontSmallNumbers.draw(batch, "K:${knee.absoluteValue.times(100).roundToInt().div(100f)}", x+3f, y+17f)
App.fontSmallNumbers.draw(batch, "R:${ratio.absoluteValue.times(100).roundToInt().div(100f)}:1", x+3f, y+33f)
App.fontSmallNumbers.draw(batch, "P:${threshold.absoluteValue.toInt()}/${knee.absoluteValue.toInt()}", x+3f, y+1f)
App.fontSmallNumbers.draw(batch, "R:${ratio.absoluteValue.times(100).roundToInt().div(100f)}:1", x+3f, y+17f)
}
override val debugViewHeight: Int = 48
override val debugViewHeight: Int = 32
override fun copyParamsFrom(other: TerrarumAudioFilter) {
if (other is Comp) {