Files
lisael-box/main/audio/calm_tone.h
T
Clément Saillant e35058f53d chore(box): commit firmware base + feature docs
Backfills the working firmware that had stayed uncommitted across the
build sessions, so the branch is self-contained.

- audio: audio_player, radio_pipeline, sd_player, calm_tone, aac_player
- net: podcast (RSS), udp_log
- modes: balloons, plus calm/games/radio tweaks
- ui: fonts header, icons; build files (CMakeLists, idf_component.yml,
  sdkconfig.defaults)
- docs/superpowers: Histoires design + plan

Note: sdkconfig stays gitignored (Wi-Fi creds + tuned LFN/FS/mbedtls
settings); a fresh checkout must reconfigure those.
2026-06-15 00:20:47 +02:00

20 lines
462 B
C

// Calm-corner tone generator: a soft 432 Hz sine plus gentle harmonics with a
// slow "breathing" amplitude envelope, synthesised in real time and played
// through the BSP codec. Used by the Coin calme screen.
#pragma once
#include "esp_err.h"
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
esp_err_t lisael_calm_tone_start(void);
void lisael_calm_tone_stop(void);
bool lisael_calm_tone_is_playing(void);
#ifdef __cplusplus
}
#endif