Repository navigation
DspTap v0.5.0: a chain that holds a chain flushes; the family's floor 0.5.0 - #119
Merged
Merged
Conversation
… 0.5.0 submodules/dsptap moves to DspTap v0.5.0 (4b30a02, tap/DspTap#70): a tap::dsp::chain reports window_frames(), a bound valid from any state, so a caller's chain that holds one of rational's named chains (down_by8 beside a guard band filter, say) flushes, as zero padding bit for bit, writing the frames the stages written out flat would and possibly a few more, all silence. - TAP_SR_DSPTAP_MINIMUM is 0.5.0 in the three umbrella headers (A9), pinned by tests/family/version_macros.cpp; the root README's tested pairs gain the unreleased row, CHANGELOG.md an Unreleased section, and the root CLAUDE.md the floor. - rational/tests/test_iir_composition.cpp flushes down_by8 beside the guard band filter as the caller writes it: the flattened copy of its stages, and the design divisor it repeated by hand, are gone. - rational/README.md and rational/PLAN.md (R27, v0.26) drop the "write its stages out flat" limit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016GKzq1VSdcMYCRMhddiMaf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
submodules/dsptapmoves to DspTap v0.5.0 (4b30a02, tap/DspTap#70). In 0.5.0 atap::dsp::chainreportswindow_frames(), a bound valid from any state. A caller's chain that holds one ofrational's named chains (down_by8beside a guard band filter, say) therefore flushes, as zero padding bit for bit. The flush writes the frames the stages written out flat would, and possibly a few more, all silence.TAP_SR_DSPTAP_MINIMUMin the three umbrella headers, pinned bytests/family/version_macros.cpp;v0.5.0);CHANGELOG.mdgains an Unreleased section with the floor as the one break;CLAUDE.mdstates the new floor.rational/tests/test_iir_composition.cppflushesdown_by8beside the guard band filter as a caller writes it. The flattened copy of its stages is gone, and with it the design divisor (p.relaxed({2, 1})) it repeated by hand.rational/README.mdandrational/PLAN.md(R27, a v0.26 record) drop the "write its stages out flat" limit.Why
This is the follow-up to tap/DspTap#70, which the maintainer asked for on 2026-11-23. IIR-c (#114) noted the limit as a DspTap change: a chain reported no
window_frames(), so a chain holding a chain processed but could not flush.Verification
-Werroron all three engines and-DTAP_SR_BUILD_CAPI=ON: 517/517, includingrational.iir_composition_test.FlushEqualsZeroPaddingBitForBitInMixedChainsover the nesteddown_by8.process()runs; the new member is instantiated only where a chain's window is asked for. The ratchet and ceilings jobs on this PR gate that.Notes for the reviewer
v0.5.0tag. The pinned commit is DspTap main's4b30a02, the merge of book: a print edition (mdBook → pandoc → typst), built in CI and published beside the site #70. It carries 0.5.0, and the maintainer tags itv0.5.0.chain_partsrecognisestap::dsp::chain<...>itself, not a class derived from it such asrational::basic_chain.detail::max_frames_in: a chain nested two deep, or the sub-band scaffold over a chain), a derived chain is costed with the one-stage formula on its overall ratio,ceil(k M / L) + M, rather than stage by stage.subband.hhad the same trait.down_by8's ownwindow_frames(), which composes its stages exactly, and nothing in this tree flushes the scaffold over a rational chain.Generated by Claude Code