bugfixes, better MusicXML support and 1.1.0
This commit is contained in:
@@ -136,7 +136,7 @@ struct AmplitudeFollowerTests {
|
||||
#expect(!nonZero.isEmpty)
|
||||
}
|
||||
|
||||
/// Phase 174 — denormal flush moved to once-per-block. Pre-heat the smoother
|
||||
/// Denormal flush moved to once-per-block. Pre-heat the smoother
|
||||
/// to ~1.0 with a loud DC input, then switch to a tiny-but-nonzero input
|
||||
/// (1e-20) with very fast release — `_prevAmp` drops several orders of
|
||||
/// magnitude per block, sweeping through the denormal regime that the
|
||||
@@ -392,7 +392,7 @@ struct LookAheadLimiterTests {
|
||||
#expect(abs(steadySample - 1.0) < 0.001)
|
||||
}
|
||||
|
||||
/// Phase 173a — zero-look-ahead fast path is a pure peak follower (no ring, no deque).
|
||||
/// Zero-look-ahead fast path is a pure peak follower (no ring, no deque).
|
||||
/// A loud transient must clamp on the same sample (instantaneous attack), and after
|
||||
/// the transient passes the gain must release back toward 1.0.
|
||||
@Test func zeroLookAheadPeakFollowerInstantClamp() {
|
||||
@@ -410,7 +410,7 @@ struct LookAheadLimiterTests {
|
||||
#expect(abs(Double(block[engine.blockSize - 1]) - maxAmp) < 1e-9)
|
||||
}
|
||||
|
||||
/// Phase 173a — denormal flush moved to once-per-block (was per-sample).
|
||||
/// Denormal flush moved to once-per-block (was per-sample).
|
||||
/// Sustained extreme reduction (tiny maxAmp on loud DC) drives `_gain` toward a
|
||||
/// very small value; the once-per-block flush must keep it from becoming a
|
||||
/// denormal that would slow down the RT path. Render long enough (~2 s) to
|
||||
@@ -545,7 +545,7 @@ struct CompressorTests {
|
||||
#expect(abs(steadySample - expectedGain) < 0.001)
|
||||
}
|
||||
|
||||
/// Phase 174 — once-per-block denormal flush survives sustained extreme reduction.
|
||||
/// Once-per-block denormal flush survives sustained extreme reduction.
|
||||
/// 1.0 DC at threshold=-60 dB ratio=20:1 with makeup -40 dB drives gain very low;
|
||||
/// output must stay finite + bounded over ~2 s.
|
||||
@Test func denormalCadenceCompressor() {
|
||||
@@ -671,7 +671,7 @@ struct ExpanderTests {
|
||||
#expect(abs(steadySample - expectedOutput) < 0.0001)
|
||||
}
|
||||
|
||||
/// Phase 174 — once-per-block denormal flush survives the gate path.
|
||||
/// Once-per-block denormal flush survives the gate path.
|
||||
/// ratio=0 (hard gate) on a sub-threshold signal drives gain → 1e-6 (−120 dB
|
||||
/// floor); output must stay finite + bounded over ~2 s.
|
||||
@Test func denormalCadenceExpander() {
|
||||
|
||||
Reference in New Issue
Block a user