Home of the Squeezebox™ & Transporter® network music players.
Page 6 of 6 FirstFirst ... 456
Results 51 to 56 of 56
  1. #51
    Junior Member
    Join Date
    Dec 2018
    Posts
    21
    As promised, here is the source code of the SqueezeESP player.

    https://drive.google.com/file/d/1BjV...ew?usp=sharing

    You will have to custom the define 'ADR_LMS' to point to ip address of your LMS server before upload sketch on your ESP32.

    I use library WifiManager to configure wifi parameter at the first boot. I will see a new access point call 'SqueezeEsp' on your network.
    You may need to install the library to compile sketch : https://github.com/bbx10/WiFiManager

    Good luck...

  2. #52
    I'm still waiting on parts, which may take a while, but I've just been through some of the code and I'm very impressed - it's looking pretty tidy.

    For some reason I assumed there would be a lot more manual intervention needed on things like wifi config etc. The first boot web setup approach is a good idea!

    Top work bgiraut!

  3. #53
    Junior Member
    Join Date
    Dec 2018
    Posts
    21
    @s2kiwi : You can try to compile the sketch right now to be ready when your vs1053 will arrive. I will finish the part to work with simple I2S DAC soon (with know limitations). You will be able to make a try before your vs1053 arrives.

    Just to remind, volume control is reverse with adafruit_vs1053 library and sound is louder @ 0% and low @ 100%. I don't know why. So beware during yours tests.


    Source code is now available on github : https://github.com/bgiraut/SqueezeEsp32
    Last edited by bgiraut; 2019-03-14 at 01:05.

  4. #54
    Quote Originally Posted by bgiraut View Post
    @s2kiwi : You can try to compile the sketch right now to be ready when your vs1053 will arrive. I will finish the part to work with simple I2S DAC soon (with know limitations). You will be able to make a try before your vs1053 arrives.

    Just to remind, volume control is reverse with adafruit_vs1053 library and sound is louder @ 0% and low @ 100%. I don't know why. So beware during yours tests.


    Source code is now available on github : https://github.com/bgiraut/SqueezeEsp32
    I'm hoping another ESP32 arrives in the mail today (I have 4 or 5 on order). I'll let you know how I get on.

    (unrelated random comment: My current ones are all mid build for an escape room we decided to make. Being able to control the music/sound effects in the room (via LMS CLI) as they solve puzzles various is awesome. The friend I'm building with was mind blown, little did he know how easy it is with LMS!)

    Interesting bug (read: feature) in the volume. Glad you warned me

  5. #55
    Junior Member
    Join Date
    Dec 2018
    Posts
    21
    I decide to switch back to the first VS_1053 library that i had try instade of the Adafruit one. Get Pause/unpause feature working again.
    I fixe the volume control. New 0 = no sound and 100% is louder and volum is more linear now.

    I add a basic autodiscovery via udp multicast. It seems to work on my network.

    i have pushed modifications on github. Google drive version will not be uptodate from now.

  6. #56
    Junior Member
    Join Date
    Dec 2018
    Posts
    21
    I made some tests with my ESP8266 wemos mini and it works well. ESP has only 27ko of free memory so i setup 20ko only for the ringbuffer but i had no freeze for the moment. I found it even more reactif than the ESP32 but It is may be only in my head

    I will let it plays few hours because the ESP32 stop to works after 30 minutes and could not reconnect to the server without a reboot. Network stack seems broken because neither UPD or TCP connection receive packet.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •