Add suggested ANC gain parameters for PineBuds Pro calibration#122
Add suggested ANC gain parameters for PineBuds Pro calibration#122marfrit wants to merge 3 commits intopine64:mainfrom
Conversation
Starting-point total_gain values for feedforward (300-700) and feedback (200-500) ANC paths. Includes calibration procedure notes. Use with the extracted IIR coefficients from ef606_average_coefficients.h.
Ralim
left a comment
There was a problem hiding this comment.
Happy to merge this; though do you want to add the *_MODERATE ones as the default ones in the firmware build?
|
Ah wait, where is the |
…ware Extracted from EF606 production firmware v1.1.1 (BES2300 IBRT platform). Coefficients are in Q27 fixed-point format matching the BES SDK aud_item structure. Includes EQ, DAC, and audio processing IIR filter banks. These can serve as starting points for ANC calibration on BES2300 devices.
|
Good catch — cherry-picked commit 51c6d93 into this branch. PR now shows both:
Re: the MODERATE-as-default question — yes, good compromise, happy to set MODERATE as the default active values. FF=500, FB=350. I'll push a follow-up commit that wires |
…t macros Previously hardcoded (FF_L=440, FF_R=382, FB_L=350, FB_R=350) with a commented-out 350 alternative for FF. Replace with build-time selectable preset from config/suggested_anc_gains.h: -DCFG_ANC_GAIN_AGGRESSIVE FF=700 FB=500 -DCFG_ANC_GAIN_CONSERVATIVE FF=300 FB=200 (default, no flag) FF=500 FB=350 MODERATE Only mode0 is routed through the macros. Voice-call, wind-noise, and ambient modes elsewhere in this file keep their individually- tuned values. Default changes slightly: FF was 440/382 (mixed), now 500/500; FB was already 350 which matches MODERATE exactly. Users wanting the previous more-conservative FF can build with CFG_ANC_GAIN_CONSERVATIVE (drops to 300) or keep local overrides. Users wanting maximum cancellation opt into CFG_ANC_GAIN_AGGRESSIVE after verifying stability on their unit.
|
Do you want to link those calibration numbers in as well (is that what you are running?) Dont be timid, current ANC tune doesnt really work, so open to any improvement |
Starting-point total_gain values for feedforward (300-700) and feedback (200-500) ANC paths. Includes calibration procedure notes. Use with the extracted IIR coefficients from ef606_average_coefficients.h.