`realize` and `design` replaced a NaN edge frequency with nothing, so the
prewarp gave NaN coefficients and the filter output NaN. A NaN edge now
takes 1 kHz in every band, as a NaN ripple or attenuation takes its usual
value.
A sample that the widener overflows to infinity takes the maximized value
during the maximizer's crossfade, as it does once the maximizer is fully
on, instead of turning the blend into NaN.
* har: preserve source reader history
Port Craft Anything crates/formats/src/har.rs from f64ae3bf3c8863a982af1304e06de20653803968.
* har: preserve source reader history
Port Craft Anything crates/formats/src/har.rs from cb0bb9d8fa4536ba44ef2c86f5ed759b879cc2d3.
* Expose shared HAR reader with explicit input admission
---------
Co-authored-by: Brandon Thomas <echelon@gmail.com>
Co-authored-by: BFlat <bombayapirat@gmail.com>
A block that starts near MAX_RESAMPLE_POSITION and runs past it now reads
every later frame at the limit's position, as the constant's docs say,
instead of reading past the held source and returning silence.
- Analog Delay's tail counts the delay, spread and feedback at the larger
of their current and target values, so a shortened delay still reports
the echoes left in the line while the delay ramps down.
- The Mastering loudness maximizer crossfades in and out over the 20 ms
smoothing ramp instead of switching its soft clip on or off at once.
During the fade the output stays within the -0.3 dB ceiling.
* tar: port old GNU sparse extension traversal from Craft Anything
Source: storytold/craft-anything#1973, 8ea2ec66a1bc80f0420f3695baac877a0cb9b9a5. Retains non-extractable sparse member kind and regression tests.
* tar: preserve GNU CRC symlink checksum compatibility
Source: storytold/craft-anything#1984, b226a475f7dce9710e3af7a069386fe7a9720df7; preserves nonzero checks and regular-file checksum validation.
* tar: apply valid PAX sizes before legacy member size fields
Source: storytold/craft-anything#2007, d29465c20b0d570ea4973be512a0cb4e212bb60f; metadata records still retain their own framing.
* Record provenance of current TAR and CPIO compatibility fixes
---------
Co-authored-by: RRFZ <247457381+Plastic-time@users.noreply.github.com>
- Dynamics, the multiband compressor and the tube-modeled compressor
report their deepest gain reduction in the last block through
gain_reduction_db, and clear it on reset. Dynamics leaves out the
compressor's make-up gain; the multiband compressor adds the limiter to
the most reduced band.
- Mastering keeps the loudness maximizer in while its boost ramps back
to 0 dB, and clears the limiter once it is out.
- Mastering clears its reverb at the end of the chunk in which the fade
ends, so the result does not depend on the block size.
- Reverb feeds the side signal (even channels minus odd channels) into
its network as well as the mid, and Surround Reverb's early reflections
carry the side too. Opposite-polarity stereo input, or Surround Reverb
with Center Input at 0, no longer gives a silent reverb.
- Analog Delay reports the tail of its longest channel delay, which
Spread lengthens by up to half.
- The multiband compressor designs its crossovers once more after a
ramp ends, so they reach the frequency that was set.
- Mastering keeps running its reverb while the amount fades to 0 and then
clears it, so turning the reverb off fades the tail and turning it back
on starts from silence.
- Mastering reports its reverb's tail while the reverb is on, Chorus/Flanger
the echoes of its longest voice delay, and Flanger those of the longer
sweep delay, so an offline render no longer cuts their tails off.
- The triangle oscillator rounds its corners with PolyBLAMP: a 10 kHz
triangle at 48 kHz no longer has the naive -18.7 dB alias at 18 kHz.
- Sections::as_slice and magnitude_db read a count above MAX_SECTIONS as
every section instead of panicking.
Dynamics applied the compressor's make-up gain together with the output
gain after the limiter, so make-up raised the signal past the limiter
threshold (constant 1.0 with 6 dB make-up and a -1 dB limiter came out at
about +5 dBFS). Make-up now goes into the gain the limiter detects, the
output gain stays after the limiter, and transfer_db reports the same order.
Mastering ran the EQ on every channel but the exciter, the loudness
maximizer and the output gain on the first two only. Those stages now run
on every channel, with the maximizer taking its peak across all of them;
reverb and the widener stay on the first two channels.
craft-audio names its VMD decoder feature `vmd-decode`, and craft-video
names a codec's decoder `<codec>-decode` wherever the codec may also have
an encoder (mpeg2, mpeg4, vp8…). The video decoder now follows that:
`vmd-decode` gates the module and its VideoFrame conversion, and `vmd`
turns it on, so `vmd` keeps working and an encoder can be added later
without renaming.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds crates/audio-dsp. It combines FilmCraft's crates/audio-dsp
(3f137a7) and SoundCraft's crates/dsp (648ed9d): the AudioEffect trait
and its registry, the effects, a BS.1770-4 / EBU R 128 loudness meter,
panning, channel layouts, test signals, resampling, time stretch,
offset search and ducking. NOTICE keeps both projects' copyright
notices.
- pan::direction_gains sends an ear-level direction to the height
speakers at full level when a layout has no ear-level speakers,
instead of returning silence.
- realtime_factor_sanity compares processing time with the wall clock
and is now ignored by default.
- The crate inherits the workspace package fields and lints, and
ATTRIBUTION.md lists it.
real_files_match_ffmpeg waited for ffmpeg without looking at its exit
status, so pictures that matched before ffmpeg failed still passed. It now
asserts success, as the generated-file oracle does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>