From 6b88ec33aa5eef35446de4d869599aafe9d796ff Mon Sep 17 00:00:00 2001 From: philippe44 Date: Wed, 3 Jul 2019 21:57:03 -0700 Subject: [PATCH 1/9] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 8874a2b8..fed704fe 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,15 @@ Then 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. From 286b1205044bc5014b1b3c84887f5eab325664fc Mon Sep 17 00:00:00 2001 From: philippe44 Date: Wed, 3 Jul 2019 21:57:38 -0700 Subject: [PATCH 2/9] Update README.md --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fed704fe..dc1091f7 100644 --- a/README.md +++ b/README.md @@ -20,10 +20,14 @@ nvs_set autoexec2 str -v "squeezelite -o I2S -b 500:2000 -d all=info -m ESP32" 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 "join" and "squeezelite" commands can also be typed 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 ] | [I2S] + - if you've compiled RESAMPLE option, normal soxr options are available using -R [-u ]. Note that anything above LQ or MQ will overload the CPU + - if you've used RESAMPLE16, are (b|l|m)[:i], with b = basic linear interpolation, l = 13 taps, m = 21 taps, i = interpolate filter coefficients # Additional misc notes From f53061693269c6c3573d0fc2318a38cf88556753 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Wed, 3 Jul 2019 22:00:11 -0700 Subject: [PATCH 3/9] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dc1091f7..ef4a5512 100644 --- a/README.md +++ b/README.md @@ -18,17 +18,19 @@ 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 +nvs_set autoexec u8 -v 1 The "join" and "squeezelite" commands can also be typed 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 ] | [I2S] + - the output is -o \"[BT -n ] | [I2S]"\ - if you've compiled RESAMPLE option, normal soxr options are available using -R [-u ]. Note that anything above LQ or MQ will overload the CPU - if you've used RESAMPLE16, are (b|l|m)[:i], with b = basic linear interpolation, l = 13 taps, m = 21 taps, i = interpolate filter coefficients + +To add options that require quotes ("), escape them with \" # Additional misc notes - for all libraries, add -mlongcalls From 6847cc5130ce55da3a4ad621f5615b3966c53f0d Mon Sep 17 00:00:00 2001 From: philippe44 Date: Wed, 3 Jul 2019 22:00:58 -0700 Subject: [PATCH 4/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ef4a5512..b3efddc0 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ The "join" and "squeezelite" commands can also be typed at the prompt to start m The squeezelite options are very similar to the regular squeezelite options. Differences are : - - the output is -o \"[BT -n ] | [I2S]"\ + - the output is -o [\"BT -n \"] | [I2S] - if you've compiled RESAMPLE option, normal soxr options are available using -R [-u ]. Note that anything above LQ or MQ will overload the CPU From 755854932b27ca2de38c4439560f502181c1f6a2 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Wed, 3 Jul 2019 22:05:42 -0700 Subject: [PATCH 5/9] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b3efddc0..784c7667 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,13 @@ The squeezelite options are very similar to the regular squeezelite options. Dif - the output is -o [\"BT -n \"] | [I2S] - - if you've compiled RESAMPLE option, normal soxr options are available using -R [-u ]. Note that anything above LQ or MQ will overload the CPU + - if you've compiled with RESAMPLE option, normal soxr options are available using -R [-u ]. Note that anything above LQ or MQ will overload the CPU - if you've used RESAMPLE16, are (b|l|m)[:i], with b = basic linear interpolation, l = 13 taps, m = 21 taps, i = interpolate filter coefficients -To add options that require quotes ("), escape them with \" +To add options that require quotes ("), escape them with \". For example, so use a BT speaker named MySpeaker and resample everything to 44100 (which is needed with Bluetooth) and use 16 bits resample with medium quality, the command line is: + +nvs_set autoexec2 str -v "squeezelite -o \"BT -n 'MySpeaker'\" -b 500:2000 -R -u m -Z 192000 -r \"44100-44100\"" # Additional misc notes - for all libraries, add -mlongcalls From 9c8207c3e83eaa22302c824256e2238fea7e3b02 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Wed, 3 Jul 2019 22:06:42 -0700 Subject: [PATCH 6/9] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 784c7667..0cbf30fb 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,9 @@ To add options that require quotes ("), escape them with \". For example, so use nvs_set autoexec2 str -v "squeezelite -o \"BT -n 'MySpeaker'\" -b 500:2000 -R -u m -Z 192000 -r \"44100-44100\"" -# Additional misc notes -- for all libraries, add -mlongcalls +# Additional misc notes to do you build +- for all libraries, add -mlongcalls. +- audio libraries are complicated to rebuild, open an issue if you really want to - 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 From 7148a3a698ca524cb5e9131d3a4cfb862f017cb1 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Wed, 3 Jul 2019 22:08:55 -0700 Subject: [PATCH 7/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0cbf30fb..6e203ef7 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Once the application is running, under monitor, add autoexec to launch squeezeli 1/ setup WiFi -nvs_set autoexec1 str -v "join " +nvs_set autoexec1 str -v "join \ \" 2/ setup squeezelite command line (optional) From 971f190f13edf8ba5cf6492637d121d0b5c1be3a Mon Sep 17 00:00:00 2001 From: philippe44 Date: Wed, 3 Jul 2019 22:10:10 -0700 Subject: [PATCH 8/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6e203ef7..daa20b7a 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ nvs_set autoexec u8 -v 1 The "join" and "squeezelite" commands can also be typed 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 squeezelite options are very similar to the regular Linux ones. Differences are : - the output is -o [\"BT -n \"] | [I2S] From 186b0517b581bb579815f3f78a598614347e2859 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Wed, 3 Jul 2019 22:10:26 -0700 Subject: [PATCH 9/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index daa20b7a..d434bcba 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ nvs_set autoexec2 str -v "squeezelite -o \"BT -n 'MySpeaker'\" -b 500:2000 -R -u #pragma GCC push_options #pragma GCC optimize ("O0") #pragma GCC pop_options -- better use helixacc +- better use helixaac - set IDF_PATH=/home/esp-idf - set ESPPORT=COM9 - update flash partition size