Bass Boost1/SPhat1 enhancement blocks Replaces the 74-parameter ADAU1701 program with the new 224-parameter SigmaStudio export. The new netlist has no mixer -- MX1 is an exclusive selector (DC1) passing through exactly one of three stereo pairs (radio/bluetooth/beep) instead of blending them with independent gains. core::MixSource/MixerState are gone; core::ActiveSource plus IDsp::selectSource() replace applyMixer()/setInputVolume() throughout the driver/service/API stack. AudioProfile.mixer -> activeSource; the HTTP "mixer" JSON object -> a single "active_source" string. DC1 turned out to need a raw 32-bit integer (0/1/2), not the 5.23 fixpoint its compiled TYPE_DC1 macro implies -- confirmed live by writing both encodings and listening for which one actually switched sources. Documented in Adau1701Driver::selectSource() and adau1701::paramSourceIndex(). Bass Boost1 and SPhat1 are real ADI algorithm blocks in this revision, so core::applyEnhancementsToEq() (the old EQ-band-overwrite hack for bass/stereo enhancement) is deleted; IDsp::setBassBoostLevel()/ setStereoSpreadLevel() scale each block's compiled coefficients toward identity/unity instead. Confirmed live: Bass Boost audible on real program content (not a static test tone -- the algorithm is dynamics- based), Stereo Spread audible but subtle. The EQ "locked" flag from 2026-08-24 (enhancements silently overwriting manually-set bands) no longer applies to bands 1-5. A full sweep of all 223 non-DC1 named parameters (writing each back to its own compiled default) completed with zero failures, confirming the whole new address space is reachable. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
46 lines
1.3 KiB
CMake
46 lines
1.3 KiB
CMake
idf_component_register(
|
|
SRCS
|
|
"src/FirmwareVersion.cpp"
|
|
"src/HealthStatus.cpp"
|
|
"src/HealthStatusJson.cpp"
|
|
"src/Eui48.cpp"
|
|
"src/DeviceIdentity.cpp"
|
|
"src/Secret.cpp"
|
|
"src/WifiSsid.cpp"
|
|
"src/WifiCredentials.cpp"
|
|
"src/WifiProvisionJson.cpp"
|
|
"src/WifiScanJson.cpp"
|
|
"src/EmbeddedBlobReader.cpp"
|
|
"src/TunerJson.cpp"
|
|
"src/DspParamJson.cpp"
|
|
"src/FrequencyKHz.cpp"
|
|
"src/GainDb.cpp"
|
|
"src/FrequencyHz.cpp"
|
|
"src/EqBandIndex.cpp"
|
|
"src/BiquadCoefficients.cpp"
|
|
"src/BiquadDesign.cpp"
|
|
"src/EqProfile.cpp"
|
|
"src/EnhanceLevel.cpp"
|
|
"src/AudioEnhancements.cpp"
|
|
"src/AudioProfile.cpp"
|
|
"src/AudioProfileJson.cpp"
|
|
"src/Bt1035At.cpp"
|
|
"src/StationName.cpp"
|
|
"src/PresetSlot.cpp"
|
|
"src/Station.cpp"
|
|
"src/StationList.cpp"
|
|
"src/StationListJson.cpp"
|
|
"src/BluetoothJson.cpp"
|
|
"src/BroadcastLabel.cpp"
|
|
"src/RdsMetadataAccumulator.cpp"
|
|
"src/DabDynamicLabelAccumulator.cpp"
|
|
"src/DspProgram.cpp"
|
|
"src/RegisterWrite.cpp"
|
|
"src/DspProgramBlob.cpp"
|
|
"src/OtaAppDescriptor.cpp"
|
|
"src/WebRadioJson.cpp"
|
|
INCLUDE_DIRS "include"
|
|
)
|
|
|
|
target_compile_features(${COMPONENT_LIB} PUBLIC cxx_std_23)
|