Announcement

Collapse
No announcement yet.

ANNOUNCE: Squeezelite-ESP32 (dedicated thread)

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

    Originally posted by CJS View Post
    I will create an Issue (problem report) on the squeezelite-esp32 github, and refer to this forum post.​
    Very good analysis. Thank you for digging that far. I'm sure that philippe_44 will love testing his build system to rebuild the flac codec if needed
    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

      Very good analysis. Thank you for digging that far. I'm sure that philippe_44 will love testing his build system to rebuild the flac codec if needed
      Indeed, excellent analysis. I'll update to the latest flac at the next release of squeezelite-esp32. Luckily, flac is not the hardest codec to update
      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


        I had some trouble getting a SPI display ILI9341 working. Unfortunately dip switch 5 of the audio kit has some contact problems...


        Working configuration:

        AI Audio Kit V2.2 2957 (dac_config: model=ES8388,bck=5,ws=25,do=26,sda=18,scl=23,i2c=1 6)
        Dip switch (left to right): off, off, off, on, on

        Display 2.8" SPI TFT (touch); 240x320, ILI9341

        Connections
        Display Audio Kit
        LED MTDO (15)
        SCK MTMS (14)
        SDI(MOSI) MTDI (12)
        DC MTCK (13)
        RESET IO19
        CS GND
        GND GND
        VCC 3V3

        spi_config: data=12,clk=14,dc=13,host=1
        display_config: SPI,width=320,height=240,reset=19,back=15,speed=80 00000,mode=0,driver=ILI9341


        LMS plugin config:

        ESP32 settings:
        Artwork enable X=32; Y=32

        Basic settings:
        Now playing information: Spectrum analyzer and Progress bar and Remaining time

        Comment


          Originally posted by jofland View Post
          I had some trouble getting a SPI display ILI9341 working. Unfortunately dip switch 5 of the audio kit has some contact problems...


          Working configuration:

          AI Audio Kit V2.2 2957 (dac_config: model=ES8388,bck=5,ws=25,do=26,sda=18,scl=23,i2c=1 6)
          Dip switch (left to right): off, off, off, on, on

          Display 2.8" SPI TFT (touch); 240x320, ILI9341

          Connections
          Display Audio Kit
          LED MTDO (15)
          SCK MTMS (14)
          SDI(MOSI) MTDI (12)
          DC MTCK (13)
          RESET IO19
          CS GND
          GND GND
          VCC 3V3
          spi_config: data=12,clk=14,dc=13,host=1
          display_config: SPI,width=320,height=240,reset=19,back=15,speed=80 00000,mode=0,driver=ILI9341


          LMS plugin config:

          ESP32 settings:
          Artwork enable X=32; Y=32

          Basic settings:
          Now playing information: Spectrum analyzer and Progress bar and Remaining time
          Sooooo..... You are giving us a working recipe? Because it is not clear when reading the first lines of your post.

          Thank you!
          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
            You are giving us a working recipe? Because it is not clear when reading the first lines of your post.
            It was clear to me. In the second line jofland said:
            Working configuration:
            | LMS 8.3.2 on Linux Mint | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

            Comment


              Originally posted by sle118 View Post

              Sooooo..... You are giving us a working recipe? Because it is not clear when reading the first lines of your post.

              Thank you!
              Yes, I only wanted to document a working configuration in case someone has the same board and display.

              Comment


                Originally posted by jofland View Post
                Working configuration:

                AI Audio Kit V2.2 2957 (dac_config: model=ES8388,bck=5,ws=25,do=26,sda=18,scl=23,i2c=1 6)
                Dip switch (left to right): off, off, off, on, on

                Display 2.8" SPI TFT (touch); 240x320, ILI9341

                Connections
                Display Audio Kit
                LED MTDO (15)
                SCK MTMS (14)
                SDI(MOSI) MTDI (12)
                DC MTCK (13)
                RESET IO19
                CS GND
                GND GND
                VCC 3V3
                spi_config: data=12,clk=14,dc=13,host=1
                display_config: SPI,width=320,height=240,reset=19,back=15,speed=80 00000,mode=0,driver=ILI9341


                LMS plugin config:

                ESP32 settings:
                Artwork enable X=32; Y=32

                Basic settings:
                Now playing information: Spectrum analyzer and Progress bar and Remaining time

                I had some trouble with IO15 for LED so I put LED to 3V3 (no dimming anymore). I did not find any other free working GPIO. Any suggestions?


                I also added Rotary Control:
                Rotary encoder Audio Kit
                CLK IO18
                DT IO23
                SW IO22
                rotary_config: A=18,B=23,SW=22,volume,longpress
                Last edited by jofland; 2023-03-25, 19:53.

                Comment


                  Originally posted by jofland View Post

                  Yes, I only wanted to document a working configuration in case someone has the same board and display.
                  You should post some pictures, here or in the following thread: https://forums.slimdevices.com/forum...rdware-project
                  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 philippe_44 View Post
                    I'll update to the latest flac at the next release of squeezelite-esp32. Luckily, flac is not the hardest codec to update
                    FYI, I was notified about a new release of sqeezelite-esp32. The revision log mentions that the flac codec is updated.
                    I flashed my ESP Muse with the latest firmware version (v2.1271-16). Unfortunately, the problem FLAC with empty seektable (seekpoints: 0) still does not play.
                    philippe_44, did you test playback of the problem FLAC attached to ​ Issue #231 with the updated firmware?
                    | LMS 8.3.2 on Linux Mint | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

                    Comment


                      Originally posted by jofland View Post


                      I had some trouble with IO15 for LED so I put LED to 3V3 (no dimming anymore). I did not find any other free working GPIO. Any suggestions?
                      I connected Display-RST to Board-RST. So one IO is free now for LED.

                      Actual working config:

                      Display 2.8" SPI TFT (touch); 240x320, ILI9341

                      Connections
                      Display Audio Kit
                      LED IO22
                      SCK MTMS (14)
                      SDI(MOSI) MTDI (12)
                      DC MTCK (13)
                      RESET RST
                      CS GND
                      GND GND
                      VCC 3V3
                      spi_config: data=12,clk=14,dc=13,host=1
                      display_config: SPI,width=320,height=240,back=22,speed=8000000,mod e=0,driver=ILI9341


                      LMS plugin config:

                      ESP32 settings:
                      Artwork enable X=32; Y=32

                      Basic settings:
                      Now playing information: Spectrum analyzer and Progress bar and Remaining time[/QUOTE]


                      Rotary Control:
                      Rotary encoder Audio Kit
                      CLK IO18
                      DT IO23
                      SW IO19
                      rotary_config: A=18,B=23,SW=19,volume,longpress​
                      Last edited by jofland; 2023-03-29, 16:43.

                      Comment


                        Originally posted by CJS View Post
                        FYI, I was notified about a new release of sqeezelite-esp32. The revision log mentions that the flac codec is updated.
                        I flashed my ESP Muse with the latest firmware version (v2.1271-16). Unfortunately, the problem FLAC with empty seektable (seekpoints: 0) still does not play.
                        philippe_44, did you test playback of the problem FLAC attached to ​ Issue #231 with the updated firmware?
                        Ah! I thought the update of flac decoder would suffice but no, I had to investigate more and in fact it's a bug (or sort of) in flac, see https://github.com/xiph/flac/issues/579. It is fixed now in the latest update I did

                        NB: private joke for sle118 => another truffle
                        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
                          Ah! I thought the update of flac decoder would suffice but no, I had to investigate more and in fact it's a bug (or sort of) in flac, see https://github.com/xiph/flac/issues/579. It is fixed now in the latest update I did.
                          Thank you verry much philippe_44 for your efforts to fix this issue! I saw that updated source code is available on github. Since I don't have experience with building binaries from source, I will test after updated binaries are made available.
                          | LMS 8.3.2 on Linux Mint | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

                          Comment


                            Originally posted by CJS View Post
                            Thank you verry much philippe_44 for your efforts to fix this issue! I saw that updated source code is available on github. Since I don't have experience with building binaries from source, I will test after updated binaries are made available.
                            you can get the binaries from the build: https://github.com/sle118/squeezelit...uns/4582038965

                            and use the web ui to upload. best is to first boot to recovery before uploading.
                            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


                              Are there any reasons why there are only 6 presets possible in button config?

                              Code:
                              BCTRLS_PS1, BCTRLS_PS2, BCTRLS_PS3, BCTRLS_PS4, BCTRLS_PS5, BCTRLS_PS6​
                              I would like to use the whole 10 possible presets from lms´s preset editor.

                              Comment


                                Originally posted by sle118 View Post
                                you can get the binaries from the build: https://github.com/sle118/squeezelit...uns/4582038965
                                and use the web ui to upload. best is to first boot to recovery before uploading.
                                Thanks! I am now running firmware version 2.1276-16 on my ESP Muse, and can confirm that the problem FLAC with empty seektable is playing fine now!

                                For others who want to test the new firmware:
                                - download the firmware version for your hardware from the link provided by sle118
                                - extract file squeezelite.bin from the downloaded zip
                                - open the web-UI of your ESP32 player and select the Updates tab
                                - under Local Firmware Upload click "Select File", and browse to the extracted squeezelite.bin file
                                - click Upload

                                Your ESP32 player should then reboot into Recovery mode, and the new firmware will be uploaded. After a successful upload your player will reboot into normal Squeezelite mode.
                                Last edited by CJS; 2023-04-01, 15:26. Reason: Fixed a typo in firmware version
                                | LMS 8.3.2 on Linux Mint | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

                                Comment

                                Working...
                                X