Skip to content

fix(pdb): correct auto-gain reference constants from native capture analysis#320

Open
Radexito wants to merge 1 commit into
devfrom
fix/299-auto-gain-constants
Open

fix(pdb): correct auto-gain reference constants from native capture analysis#320
Radexito wants to merge 1 commit into
devfrom
fix/299-auto-gain-constants

Conversation

@Radexito

@Radexito Radexito commented May 1, 2026

Copy link
Copy Markdown
Owner

Corrects the CDJ auto-gain reference constants in pdbWriter.js.

Back-calculated from native Rekordbox capture 20 (track with +2.6 dB loudness):

  • ref7: 19048 → 13940 (from Unnamed7 = 0x4975 = 18805)
  • ref8: 30967 → 17802 (from Unnamed8 = 0x5DC9 = 24009)

Previous values were community-RE estimates that did not match observed native output. Two-track export verified: both fields agree to 2 decimal places, quiet/loud tracks produce correct boost/attenuation.

Needs hardware verification on CDJ-3000 to confirm trim knob position.

Closes #299

🤖 Generated with Claude Code

…nalysis

Back-calculated from native Rekordbox capture 20 (track with +2.6 dB
loudness analysis):
  Unnamed7 = 0x4975 = 18805 → ref7 = 18805 / 10^(2.6/20) = 13940
  Unnamed8 = 0x5DC9 = 24009 → ref8 = 24009 / 10^(2.6/20) = 17802

Previous values (19048 / 30967) were community-RE estimates that did not
match observed native output. Refs #299.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant