Skip to content

feat(pico4-audio): the speakers play through PICO OS's SAMI chain, as with its Sound Optimization on - #57

Merged
Xenolphthalein merged 1 commit into
mainfrom
feat/speaker-sami
Dec 3, 2026
Merged

Xenolphthalein merged 1 commit into
mainfrom
feat/speaker-sami

Conversation

@Xenolphthalein

Copy link
Copy Markdown
Contributor

PICO OS's HAL plays the speakers through its SAMI sound device by default (Settings, Sound Optimization). Its ACDB device (10002, or 10003 for audio type S2 in persist) has topology 0x20000001, which runs PICO's SAMI effect module on the DSP with the stock sami_audio_config.json. pico4-audiocal now exports that device for the speaker path, picked from persist's picoconfig/audiotype as the HAL picks it. --plain gives the plain speaker device (15), PICO OS's path with the setting off.

On the headset (audio type S2):

  • The new export is byte for byte the file tested on the headset, and --plain is byte for byte today's.
  • With the SAMI device the ADSP opens the path without errors.
  • White noise at full volume, recorded by the microphone, against the plain device: +2.3 dB overall, +3 to +5 dB at 300-500 Hz, +7 to +12 dB at 8-16 kHz.

Not yet: PICO OS's volume feed to the module (parameter 0x11111802), which needs a kernel control.

For overpressure/phoenix#184

… with its Sound Optimization on

PICO OS's HAL plays the speakers through its SAMI sound device by default: an ACDB device (10002, or 10003
for audio type S2 in persist) whose topology runs PICO's SAMI effect module on the DSP with the stock
sami_audio_config.json (loudness EQ, equaliser, compressors, limiter). pico4-audiocal now exports that
device for the speaker path, picked from persist's picoconfig/audiotype as the HAL picks it; --plain
gives the plain speaker device (15), PICO OS's path with the setting off.

For overpressure/phoenix#184
@Xenolphthalein
Xenolphthalein requested review from a team as code owners December 3, 2026 13:26
@Xenolphthalein
Xenolphthalein merged commit fb5ee40 into main Dec 3, 2026
24 checks passed
@Xenolphthalein
Xenolphthalein deleted the feat/speaker-sami branch December 3, 2026 13:33
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