mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 06:24:06 +09:00
better post definition
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user