Announcement

Collapse
No announcement yet.

ANNOUNCE: Squeezelite-ESP32 (dedicated thread)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by jesselin0420 View Post
    Hi all,
    Is it possible to get a larger font size in the idle screen? My monitor is 320x240. the largest font seems to be 24x24 and it looks small.
    Is there any plugin can show bigger clock in idle screen?

    Thanks
    It depends what you want. The display will always be 2 lines of 32 pixels in total, and artwork or vu/spectrum below that cannot be changed
    LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

    Comment


      Originally posted by philippe_44 View Post
      It depends what you want. The display will always be 2 lines of 32 pixels in total, and artwork or vu/spectrum below that cannot be changed
      I want clock's font bigger than 32 pixels when system in idel. It better fills the screen.

      Comment


        MAX98357A no sound

        Hi.

        I have a ESP32 WROVER-E board connected to a MAX98357A with the folowing configuration:

        ESP32 PIN -> MAX98357A PIN
        32 ----------> DIN
        33 ----------> BCLK
        25 ----------> LRC
        GND --------> GND
        5V ----------> Vin

        This is my nvs config:
        Code:
        {
          "a2dp_ctmt": "1000",
          "a2dp_ctrld": "500",
          "a2dp_dev_name": "squeezeliteESP32",
          "a2dp_sink_name": "SMSL BT4.2",
          "a2dp_spin": "0000",
          "actrls_config": "",
          "airplay_name": "squeezeliteESP32",
          "airplay_port": "5000",
          "ap_channel": "1",
          "ap_ip_address": "192.168.4.1",
          "ap_ip_gateway": "192.168.4.1",
          "ap_ip_netmask": "255.255.255.0",
          "ap_pwd": "squeezelite",
          "ap_ssid": "squeezeliteESP32",
          "autoexec": "1",
          "autoexec1": "squeezelite -b 500:2000 -d all=info -C 30 -W -n \"squeezeliteESP32\" -o I2S",
          "bat_config": "",
          "bt_name": "squeezeliteESP32",
          "bt_sink_pin": "1234",
          "bt_sink_volume": "127",
          "bypass_wm": "0",
          "dac_config": "model=I2S,bck=33,ws=25,do=32",
          "dac_controlset": "",
          "display_config": "",
          "enable_airplay": "0",
          "enable_bt_sink": "1",
          "equalizer": "0,0,0,0,0,0,0,0,0,0",
          "eth_config": "",
          "gpio_exp_config": "",
          "host_name": "squeezeliteESP32",
          "i2c_config": "",
          "jack_mutes_amp": "n",
          "led_brightness": "",
          "lms_ctrls_raw": "n",
          "metadata_config": "",
          "ota_erase_blk": "249856",
          "ota_prio": "6",
          "ota_stack": "10240",
          "rel_api": "https://api.github.com/repos/sle118/squeezelite-esp32/releases",
          "release_url": "https://github.com/sle118/squeezelite-esp32/releases",
          "rotary_config": "",
          "set_GPIO": "",
          "spdif_config": "",
          "spi_config": "",
          "stats": "n",
          "target": "",
          "telnet_block": "500",
          "telnet_buffer": "40000",
          "telnet_enable": "",
          "wifi_smode": "f"
        }
        The debug of DAC start:
        Code:
        I (3289) I2S: DMA Malloc info, datalen=blocksize=4088, dma_buf_count=12
        I (3299) I2S: APLL: Req RATE: 44100, real rate: 44099.988, BITS: 32, CLKM: 1, BCK_M: 8, MCLK: 22579194.000, SCLK: 2822399.250000, diva: 1, divb: 0
        [01:56:00.068950] output_init_i2s:319 I2S DAC using I2S bck:33, ws:25, do:32, mute:-1:0 (res:0)
        [01:56:00.070295] output_init_i2s:339 Initializing I2S mode normal with rate: 44100, bits per sample: 32, buffer frames: 512, number of buffers: 12
        [01:56:00.092744] output_visu_init:75 Initialize VISUEXPORT 512 32 bits samples
        [01:56:00.093818] output_init_embedded:100 init completed.
        [01:56:00.094606] decode_init:153 init decode
        [01:56:00.105442] register_alac:547 using alac to decode alc
        [01:56:00.106261] register_helixaac:686 using helix-aac to decode aac
        [01:56:00.117282] register_vorbis:385 using vorbis to decode ogg
        [01:56:00.118153] register_opus:328 using opus to decode ops
        [01:56:00.129159] register_flac:332 using flac to decode ogf,flc
        [01:56:00.130008] register_pcm:468 using pcm to decode wav,aif,pcm
        [01:56:00.141022] register_mad:417 using mad to decode mp3
        I (3389) BTDM_INIT: BT controller compile version [4bc0a8e]
        When i press play in LMS:
        Code:
        I (8529) wifi_manager: LMS IP: 192.168.1.198, hport: 9000, cport: 9090
        [02:04:38.385205] decode_flush:251 decode flush
        [02:04:38.396175] output_flush:446 flush output buffer
        [02:04:38.401125] handler:54 got equalizer 14
        [02:04:47.543893] decode_flush:251 decode flush
        [02:04:47.544872] output_flush:446 flush output buffer
        My firmware:
        fw: I2S-4MFlash.32.1036.master-cmak, mode: Squeezelite-ESP32

        I have no sound at all.

        Thanks in advance for your help and for this great software.

        Cheers

        Comment


          Originally posted by nmiguel View Post
          Hi.

          I have a ESP32 WROVER-E board connected to a MAX98357A with the folowing configuration:
          I have no sound at all.

          Thanks in advance for your help and for this great software.

          Cheers
          That's a mono board. Not sure what to expect as I've never tried that.

          Anyone here tried something similar?
          LMS 7.9 - 1xRadio, 1xBoom, 5xDuet,3xTouch, 1 SB2. Sony PlayStation, Emby, Chromecast v1 and v2 and...
          6xSqueezeAmp, several other ESP32-Wrover boards with jumper wires flying around, some with ethernet!

          Comment


            Originally posted by sle118 View Post
            That's a mono board. Not sure what to expect as I've never tried that.

            Anyone here tried something similar?
            I have two configurations with it:
            • I use 2 TTGO-T7 with a MAX98357 board configured to mix the stereo down to a single speaker, and then configured in LMS as the Right or Left channel.

            Hardware configuration for these is:
            Code:
            ESP32 - MAX98357
               32 - LRC    
               27 - BCLK   
               25 - DIN    
                  - GAIN --+
                  - SD     |
              GND - GND    | short GAIN to Vin
              5V  - Vin  --+
            NVS: dac_config: model=I2S,bck=27,ws=32,do=25
            • The other setup is still in testing, but it uses an ESP32 devkit with 2 MAX98357 boards, each set (with some resistors between SD and Vin) to output only 1 channel to 2 separate speakers.

            These NVS settings worked for sure:
            dac_config: model=I2S,bck=12,ws=32,do=33
            dac_config: model=I2S,bck=12,ws=32,do=27

            Unfortunately I don't have access to the hardware right now, so I can't check anything more at the moment. But at least I can confirm that it does work for me.

            Comment


              Originally posted by jesselin0420 View Post
              I want clock's font bigger than 32 pixels when system in idel. It better fills the screen.
              So that would not be possible then
              LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

              Comment


                Originally posted by JunkAHung View Post
                philippe_44 I see it correctly that there was now a PR for the ES8388?:

                It seems that releases for the ESP32-A1S do not have the support yet? I thought ES8388 was something ESP32-A1S specific.

                By the way: Many thanks to all involved for this work! The project is really stunning and shows how far opensource can go!
                I think wrote my reply in the old squuezelite thread. So here again.

                Perhaps I missed something but my ESP32-A1S ES8388 is working, but the sound is very very low. I set it in my LMS to 100% but the sound is still very low.

                Is there something I can do or I need to do?

                In the bottom line of my device is this written:
                fw: Muse.16.1036.master-cmake, mode: Muse
                Is this the right firmware for my ESP32-A1S ES8388?

                Here is my setup:
                dac_config: model=ES8388,bck=27,ws=25,do=26,sda=33,scl=32,i2c= 16
                set_GPIO: 21=amp,22=green:0,39=jack:0
                stereo speaker connected through headphone-jack.
                onboard jumper switches set to:
                Last edited by JunkAHung; 2022-08-23, 10:11.

                Comment


                  Originally posted by nenu View Post
                  I have two configurations with it:
                  • I use 2 TTGO-T7 with a MAX98357 board configured to mix the stereo down to a single speaker, and then configured in LMS as the Right or Left channel.

                  Hardware configuration for these is:
                  Code:
                  ESP32 - MAX98357
                     32 - LRC    
                     27 - BCLK   
                     25 - DIN    
                        - GAIN --+
                        - SD     |
                    GND - GND    | short GAIN to Vin
                    5V  - Vin  --+
                  NVS: dac_config: model=I2S,bck=27,ws=32,do=25
                  • The other setup is still in testing, but it uses an ESP32 devkit with 2 MAX98357 boards, each set (with some resistors between SD and Vin) to output only 1 channel to 2 separate speakers.

                  These NVS settings worked for sure:
                  dac_config: model=I2S,bck=12,ws=32,do=33
                  dac_config: model=I2S,bck=12,ws=32,do=27

                  Unfortunately I don't have access to the hardware right now, so I can't check anything more at the moment. But at least I can confirm that it does work for me.
                  Greetings

                  It worked with this configuration:
                  dac_config: model=I2S,bck=12,ws=32,do=33

                  Thanks alot for you help.

                  Comment


                    Originally posted by JunkAHung View Post
                    I think wrote my reply in the old squuezelite thread. So here again.

                    Perhaps I missed something but my ESP32-A1S ES8388 is working, but the sound is very very low. I set it in my LMS to 100% but the sound is still very low.

                    Is there something I can do or I need to do?

                    In the bottom line of my device is this written:
                    fw: Muse.16.1036.master-cmake, mode: Muse
                    Is this the right firmware for my ESP32-A1S ES8388?

                    Here is my setup:
                    dac_config: model=ES8388,bck=27,ws=25,do=26,sda=33,scl=32,i2c= 16
                    set_GPIO: 21=amp,22=green:0,39=jack:0
                    stereo speaker connected through headphone-jack.
                    onboard jumper switches set to:
                    Does this post help?

                    Comment


                      Originally posted by mboxler View Post
                      THX for the reply. I searched a lot here and in the old thread. I dont know what I do wrong atm in my config.
                      Your mentioned dac_config is one of the 2 mentined on github, see here:


                      I am a bit confused what firmware I should flash exactly?
                      As I mentioned I flashed mule with the webinstaller. Is that right? Or should I try another base-image or another flash method?

                      Comment


                        Originally posted by JunkAHung View Post
                        THX for the reply. I searched a lot here and in the old thread. I dont know what I do wrong atm in my config.
                        Your mentioned dac_config is one of the 2 mentined on github, see here:


                        I am a bit confused what firmware I should flash exactly?
                        As I mentioned I flashed mule with the webinstaller. Is that right? Or should I try another base-image or another flash method?
                        I don’t understand why you want to use the muse firmware. It is a dedicated build. Use the generic firmware and set parameters for a1s according to README
                        LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                        Comment


                          Originally posted by yateng View Post
                          Hi, thanks for your fast reply!
                          I have updated the bin to v1.1036.
                          Keeps on having the same problem.
                          Specially when the song finishes at the end and change to the new song.
                          If you force the change, "next song", it usually doesn´t happen.
                          But when the song finishes naturaly, it keeps on happenning...
                          Are you sure it still happens ? I've just tried with a re-compiled version that includes that modification and I'm not able to make the issue happen again
                          LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                          Comment


                            Originally posted by philippe_44 View Post
                            I don’t understand why you want to use the muse firmware. It is a dedicated build. Use the generic firmware and set parameters for a1s according to README
                            I have not found any exact information about what muse is. The playback had tended to work, so I thought it must be the right firmware.

                            Sorry.

                            But yesterday I uploaded the squeezelite-esp32-master-cmake-I2S-4MFlash-16-1.1036.bin and I had the same problem.

                            Can't I just update from a muse release to an I2S-4MFlash release via firmware upload on the device itself?

                            Or should I rather flash it via windows os and the tool, like here:


                            EDIT: I reflashed the device with the on-device-upload fct and it then I re-commit this settings in nv-editor:
                            Code:
                            model=ES8388,bck=5,ws=25,do=26,sda=18,scl=23,i2c=16
                            Now it worked. I really thought I had also tested this configuration and firmware before. But do everything again slowly, often helps.

                            Thanks for your help
                            Last edited by JunkAHung; 2022-08-24, 08:44.

                            Comment


                              Originally posted by philippe_44 View Post
                              Are you sure it still happens ? I've just tried with a re-compiled version that includes that modification and I'm not able to make the issue happen again
                              Yes.
                              I have flashed your last compilation again, 1.036, and still happens the same.
                              fw: I2S-4MFlash.16.1036.master-cmak, mode: Squeezelite-ESP32

                              Comment


                                Rotary Encoder Rate Of Volume Increase?

                                Good Morning

                                I have 3 ESP32-A1S in use, 1 with the AC101 DAC, the others ES388. They are running the I2S-4MFlash.16.1036.master-cmak firmware.

                                All 3 work fine in BT and Squeezelite mode, other than the fact that I have to rotate the encoder shaft more than I'd like to effect a volume increase. It takes between 4 and 5 full rotations to go from 0 to 100% volume. Is this a physical or software issue? I've had a look in the NVS and cannot see where the rate of volume increase can be adjusted.

                                Comment

                                Working...
                                X