mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 22:14:05 +09:00
debug view for dynamic tracks only
This commit is contained in:
@@ -140,7 +140,7 @@ class BinoPan(var pan: Float, var earDist: Float = EARDIST_DEFAULT): TerrarumAud
|
||||
else "R${pan.absoluteValue.times(100).toIntAndFrac(3,1)}"
|
||||
App.fontSmallNumbers.draw(batch, panLabel, x+3f, y+1f)
|
||||
|
||||
App.fontSmallNumbers.draw(batch, "AS:${AudioMixer.SPEED_OF_SOUND.roundToInt()}", x+3f, y+17f)
|
||||
App.fontSmallNumbers.draw(batch, "H:${earDist.toIntAndFrac(1,3)}", x+3f, y+17f)
|
||||
}
|
||||
|
||||
override val debugViewHeight = 32
|
||||
|
||||
@@ -51,6 +51,8 @@ open class LoFi(
|
||||
}
|
||||
|
||||
private fun saturatorThru(inbuf: List<FloatArray>, outbuf: List<FloatArray>) {
|
||||
downForce.fill(1.0f)
|
||||
|
||||
for (ch in inbuf.indices) {
|
||||
for (i in inbuf[ch].indices) {
|
||||
val u = inbuf[ch][i]
|
||||
@@ -74,9 +76,10 @@ open class LoFi(
|
||||
}
|
||||
|
||||
override fun drawDebugView(batch: SpriteBatch, x: Int, y: Int) {
|
||||
convolver.drawDebugView(batch, x, y)
|
||||
}
|
||||
|
||||
override val debugViewHeight = 0
|
||||
override val debugViewHeight = 16
|
||||
|
||||
override fun copyParamsFrom(other: TerrarumAudioFilter) {
|
||||
this.convolver.copyParamsFrom((other as LoFi).convolver)
|
||||
|
||||
Reference in New Issue
Block a user