暂无描述

philippe44 ff216626fe set default buffer sizes 5 年之前
.settings 8500b2180d Console support WIP! 5 年之前
components ff216626fe set default buffer sizes 5 年之前
main a45c4f7f06 freeze fix by increasing WiFi RX buffer *or* forcing L2-to-L3 copy 5 年之前
.cproject 7572c06800 Stabilizations 5 年之前
.gitattributes a5b37a13c9 :confetti_ball: Added .gitattributes & .gitignore files 5 年之前
.gitignore 53b0ab2390 refactoring step 3 - components 5 年之前
.project be714988f1 Merge pull request #6 from philippe44/pr/4 5 年之前
Makefile 978afb363c full directory structure 5 年之前
README.md a45c4f7f06 freeze fix by increasing WiFi RX buffer *or* forcing L2-to-L3 copy 5 年之前
partitions.csv 8500b2180d Console support WIP! 5 年之前
sdkconfig.defaults a45c4f7f06 freeze fix by increasing WiFi RX buffer *or* forcing L2-to-L3 copy 5 年之前

README.md

MOST IMPORTANT: create the right default config file

  • make defconfig Then adapt the config file to your wifi/BT/I2C device (can alos be done on the command line)
  • make menuconfig Then
  • make -j4
  • make flash monitor

Once the application is running, under monitor, add autoexec to launch squeezelite at boot

1/ setup WiFi nvs_set autoexec1 str -v "join "

2/ setup squeezelite command line (optional) nvs_set autoexec2 str -v "squeezelite -o I2S -b 500:2000 -d all=info -m ESP32"

3/ enable autoexec nv_set autoexec u8 -v 1

The "join" and "squeezelite" commands can alos be types at the prompt to start manually. Use "help" to see the list. The squeezelite options are very similar to the regular squeezelite options. Differences are :

- the output is -o [BT <sinkname>] | [I2S]
- if you've compiled RESAMPLE option, normal soxr options are available using -R [-u <options>]. Note that anything above LQ or MQ will overload the CPU
- if you've used RESAMPLE16, <options> are (b|l|m)[:i], with b = basic linear interpolation, l = 13 taps, m = 21 taps, i = interpolate filter coefficients

Additional misc notes

  • for all libraries, add -mlongcalls
  • libmad, libflac (no esp's version), libvorbis (tremor - not esp's version), alac work
  • libfaad does not really support real time, but if you want to try
    • -O3 -DFIXED_POINT -DSMALL_STACK
    • change ac_link in configure and case ac_files, remove ''
    • compiler but in cfft.c and cffti1, must disable optimization using #pragma GCC push_options #pragma GCC optimize ("O0") #pragma GCC pop_options
  • better use helixacc
  • set IDF_PATH=/home/esp-idf
  • set ESPPORT=COM9
  • update flash partition size
  • other compiler #define
    • use no resampling or set RESAMPLE (soxr) or set RESAMPLE16 for fast fixed 16 bits resampling
    • use LOOPBACK (mandatory)
    • use BYTES_PER_FRAME=4 (8 is not fully functionnal)
    • LINKALL (mandatory)
    • NO_FAAD unless you want to us faad, which currently overloads the CPU
    • TREMOR_ONLY (mandatory)