Repository navigation
Release 1.3.0: AUDMOD loudness, binary desensitization, repo cleanup - #3
Merged
Merged
Conversation
…pdate A6/A7 sones commentary
…y rule; export calculate_loudness_audmod
…ion; fix repo URL~
…labeling in Pandoc
A sync of the working folder had marked every file executable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
Drops compiled objects from src/, a stray open_nl.R.bak, the Typst binary and tarball, test/pasted Typst files and other scratch output. Extends .gitignore and .Rbuildignore so they stay out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
Bump version and date, drop the hand-set Repository field, fix the duplicated ANSI citation, describe the AUDMOD loudness engine, and restate the clinical-use note as a disclaimer rather than a usage restriction (GPL-3 does not allow added use restrictions). Add a NEWS entry for the AUDMOD switch and track cran-comments.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
The Rd still described desensitization as a logical flag and gave no meaning for desensitization_scale. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
run_amt_harness.m and its log were excluded by the *.m and *.txt ignore rules, so the AMT fixtures could not be regenerated from the repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
…llon sii() and open_nl() no longer take desensitization_scale. Desensitization is "none" (ANSI S3.5) or "johnson2011_complete"; there is no partial blend. Passing the old argument now stops with an error instead of being silently absorbed by '...'. Drops test-desens-scale.R, removes the argument from report_sii() and from reproducibility scripts that fixed it at 1. Scripts that swept the scale or scored the removed smoothed SII are left as a record of earlier analyses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
Renamed in sii(), open_nl(), their docs, data-raw and the reproducibility scripts. The old name still works with a deprecation warning. Also repoints the objective-line anchor in rerun_complete_objective.R and rerun_ansi_objective.R, which the previous commit broke by dropping the trailing comma from that line in open_nl(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
Maps each script to the result it produces and says which run on 1.3.0: the JAAA manuscript scripts (from Supplement Table S5) and the package verification checks. Earlier JAAA analyses and the JASA-manuscript scripts are listed with the commit to check out, or noted as having run on uncommitted states. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
loss = NULL was passed to sii() inside the objective, which stopped with a length error on every evaluation; the error was caught and scored as a constant, so Nelder-Mead returned the starting gains. Treat a missing loss as zero, as the other prescription functions do. Adds a regression test that a binding cap lowers gain and that omitted loss equals loss = 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
They were passed by position and landed in the unused age and age_months arguments, so MPO ignored conductive loss. No change for sensorineural losses (loss = 0). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
calculate_loudness() on the sii() result estimated the speech level from a 6-band spectrum without bandwidth correction (~25 dB low); the target carries the input level. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
The old expectation was the unoptimized starting gains returned while open_nl() skipped optimization. Exact Nelder-Mead output is also fragile across platforms, so check the property the rule guarantees. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YHh2bEK6jM9B1z22Y56h7h
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.
Prepares SII 1.3.0 for CRAN.
Package changes
Repository cleanup
Before merging