Home of the Squeezebox™ & Transporter® network music players.
Page 20 of 32 FirstFirst ... 10181920212230 ... LastLast
Results 191 to 200 of 320
  1. #191
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    4,815
    Quote Originally Posted by daduke View Post
    @philippe_44: I finally got around to compiling and running your code on a WROVER. Amazing job guys! Both I2S and BT work nicely, and sound quality is a lot clearer than on the VS1053. I did notice however that there are some sound problems on both I2S and BT: a) something that sounds like mp3 encoding artefacts but is not in the source material (harmonic distortion?) and b) some timing issues - the beat is not always on cue. I made sure to check the 'tuning parameters' you posted a few pages back and they're correct. Have you ever noticed this?

    thanks,
    -d
    Does this happen with all file format? Do you use internal resampling or do you let the DAC do the job? Can you give your command line?
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  2. #192
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    4,815

    SqueezeEsp : The cheaper squeezebox in the world

    Quote Originally Posted by JunkAHung View Post
    THX for your help and answer.

    Okay, I find this:
    1x CJMCU-1334 I2S Stereo Decoder I2S Stereo Decoder - 2,70€
    1x ESP32-WROVER-IPEX - 3,69€
    --> 6,38€ for each SqueezeEsp-WROVER.

    Is that config cool?

    But what is about the power? I dont need a mobile device, so I need a suitable eu-ac/dc adapter. But how much volt and amp. are cool?

    Best regards,
    JunkAHung
    Can you give the link of the ESP32? You can't just buy the module, it has to be on a board so need somethink like this https://www.aliexpress.com/item/3295...chweb201603_52 and then any USB power supply does the job unless you wait for our all-in-one board :-)

    [edit]: just to be clear, @sle118 and I we are working on this all-in-one board, but there is nothing commercial involved. It will be released for free. I don't sell anything
    Last edited by philippe_44; 2019-07-21 at 18:15.
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  3. #193
    Member
    Join Date
    Apr 2013
    Location
    Zurich, CH
    Posts
    60
    Quote Originally Posted by philippe_44 View Post
    Does this happen with all file format? Do you use internal resampling or do you let the DAC do the job? Can you give your command line?
    I have the impression it doesn't happen for a 64kbit radio stream, but whatever 'local' mp3s I tried, it was always present AFAICT. Command lines:

    • nvs_set autoexec2 str -v "squeezelite -o "BT -n Tivoo-audio-Tivoo" -b 500:2000 -R -u m -Z 192000 -r "44100-44100" -s 192.168.0.1 -n ESP32" (from the readme, for BT)
    • nvs_set autoexec2 str -v "squeezelite -o I2S -b 500:2000 -d all=info -s 192.168.0.1 -n ESP32" for I2S


    thanks,
    -d
    -----------------------------------------------
    1 x Touch, 2 x Radio, 2 x software player, LMS 7.9.0

  4. #194
    Member
    Join Date
    Apr 2013
    Location
    Zurich, CH
    Posts
    60
    Quote Originally Posted by philippe_44 View Post
    Can you give the link of the ESP32? You can't just buy the module, it has to be on a board so need somethink like this https://www.aliexpress.com/item/3295...chweb201603_52 and then any USB power supply does the job unless you wait for our all-in-one board :-)
    well actually you _can_ use the naked module (I just did), you just have to solder 2 10k pullups for EN and IO-0 and provide 3.3V (which, incidentally, the DAC module outputs) - makes for a very compact build.
    -----------------------------------------------
    1 x Touch, 2 x Radio, 2 x software player, LMS 7.9.0

  5. #195
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    4,815
    Quote Originally Posted by daduke View Post
    well actually you _can_ use the naked module (I just did), you just have to solder 2 10k pullups for EN and IO-0 and provide 3.3V (which, incidentally, the DAC module outputs) - makes for a very compact build.
    oh yes absolutely, I did not know you wanted to do that kind of tinkering. The board I'm referring to is mainly just a USB-to-uart bridge and a 3.3V LDO :-)
    Last edited by philippe_44; 2019-07-21 at 13:02.
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  6. #196
    Junior Member
    Join Date
    Jul 2019
    Posts
    6
    Quote Originally Posted by daduke View Post
    well actually you _can_ use the naked module (I just did), you just have to solder 2 10k pullups for EN and IO-0 and provide 3.3V (which, incidentally, the DAC module outputs) - makes for a very compact build.
    Can you send me some aliexpress links for the needed devices, I would really like to compare that.
    It would be very nice...

    Greetings by JunkAHung

  7. #197
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    4,815
    Quote Originally Posted by daduke View Post
    I have the impression it doesn't happen for a 64kbit radio stream, but whatever 'local' mp3s I tried, it was always present AFAICT. Command lines:

    • nvs_set autoexec2 str -v "squeezelite -o "BT -n Tivoo-audio-Tivoo" -b 500:2000 -R -u m -Z 192000 -r "44100-44100" -s 192.168.0.1 -n ESP32" (from the readme, for BT)
    • nvs_set autoexec2 str -v "squeezelite -o I2S -b 500:2000 -d all=info -s 192.168.0.1 -n ESP32" for I2S


    thanks,
    -d
    And you hear that for all sample rate? Any difference when it's 44.1? Because in 44.1 there is no filtering involved in the ESP32. The mp3 is decoded but there is no room for good or bad, it's just mad decoding. The only variable is the DAC itself that I don't control
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  8. #198
    Member
    Join Date
    Apr 2013
    Location
    Zurich, CH
    Posts
    60
    Quote Originally Posted by JunkAHung View Post
    Can you send me some aliexpress links for the needed devices, I would really like to compare that.
    It would be very nice...

    Greetings by JunkAHung
    I bought

    https://www.aliexpress.com/item/3301...18bd4c4dEnXvUi and https://www.aliexpress.com/item/3291...18bd4c4dEnXvUi
    -----------------------------------------------
    1 x Touch, 2 x Radio, 2 x software player, LMS 7.9.0

  9. #199
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    4,815
    Quote Originally Posted by pbg4 View Post
    Hi,

    nice project!!, for those interested but faint in the heart for too much soldering,..

    the odroid_go has an esp32 wrover integrated with 16MBflash and 4MB psram, including
    buttons, an lcd display, wlan, bluetooth, battery, micro usb port, sd-card,.. etc,

    an i2s dac of course has to be added,..

    see hardkernel wiki for circuit diagrams,.. etc. https://wiki.odroid.com/odroid_go/odroid_go

    best wishes pbg4
    Thanks - We are finalizing a board that has the following

    - WROVER module (BT/WiFi)
    - TI 575x class D amplifier for up to 2x25W
    - Battery input for 3xLiIon cells
    - Battery charger
    - Analogue audio output - jack 3.5
    - Power 16-22V through 2.5 jack (can work with 12V if you don't want charger and probably as low as 5V if you don't want charger and amplifier - although interest is really low then)
    - Extension port of 5+3 I/O (GPIO, I2C, SPI ... can add many peripheral, including IR and simple display)
    - Size 5x4.5
    - Does LMS to any BT speaker or local amplifier to passive speaker, I2S external DAC or analogue to external amplifier

    What I really like about ESP32 is that it takes a few seconds to boot and power consumption when squeezelite is off seems to be <10mA@18V (I need to check that with board V2). It can be switched off totally (except the battery maintenance) in which case I expect a few mA and again a few seconds for wake up.

    We've been discussing with @sle118 to add an AirPlay client, a BT client and why not a Spotify client, but the main interest is the LMS ecosystem.

    If enough people are interested, there are a few companies that do PCBA for cheap.

    This is not a commercial project, just fun.

    Now, as I said in a previous post, this will not be cheaper than a Pi0+JustBoom Amp (which is using the same TI classD amp and have a very solid design, our design will be very "naive" but so far it works). If you want real cheap, you can use the WROVER as it is and hack something or use a very basic board that does USB power and either add your own DAC or just use as is for BT bridging
    Attached Images Attached Images   
    Last edited by philippe_44; 2019-07-21 at 22:40.
    LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5

  10. #200
    Member
    Join Date
    Apr 2013
    Location
    Zurich, CH
    Posts
    60
    Quote Originally Posted by philippe_44 View Post
    And you hear that for all sample rate? Any difference when it's 44.1? Because in 44.1 there is no filtering involved in the ESP32. The mp3 is decoded but there is no room for good or bad, it's just mad decoding. The only variable is the DAC itself that I don't control
    ok I investigated some more: sample rate doesn't make a difference (as indicated by having the distortion on both BT and I2S), but bit rate and CBR/VBR do! 64kbs/CBR works almost perfectly, but the higher the bit rate, and esp. with VBR the artefacts get worse. I recorded an example here: https://daduke.org/junk/esp32.wav - all the 'choppiness' in the background is not in the source file.

    any ideas?

    thanks,
    -d
    -----------------------------------------------
    1 x Touch, 2 x Radio, 2 x software player, LMS 7.9.0

Posting Permissions

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