Peppy WebRadio

  • jaja der Alzheimer schlägt zu. War es dann jar der an einer langsamen Leitung hing?

    Jedenfalls ist mir in Erinnerung, daß ich darauf aufpassen muß.

    Schönen Gruß, kle

  • Wow, you have 3 different systems.

    Did you buy all enclosures or made some of them yourself?


    As it was mentioned already the only recommendation would be to improve the

    sound quality as the sound from 3.5 mm jack is not so good. But for

    that you need to attach additional DAC or Amplifier to the GPIO. In that

    case the design becomes not so compact. Only if USB DAC is in use...


    Congratulations! Great job!


    If you have any questions/proposals feel free to post it here or contact me directly.

  • Hi peppy.player,

    with the same hardware I used NewTron-Radio.


    Instead of raspbian-lite as OS I used pipaos (pipaos-guarana-console-5.0.img.gz), a very fast and small 'raspbian-jessie-lite'.


    Sound via bluetooth to speaker JBL Go.

    I used the bluez-alsa package for bluetooth.

    Best regards, kle


    Did you buy all enclosures or made some of them yourself?

    I bought them all.

    Einmal editiert, zuletzt von kle ()

  • ...

    Sound via bluetooth to speaker JBL Go.

    I used the bluez-alsa package for bluetooth.

    ...

    Bluetooth is a good alternative. Though I've never used it myself.

    Could you share the details of this connection?

    What are the extra steps required? Do you really need any additional packages?

    Is it reliable connection? Does it work well with WiFi? How far you can move the speakers?

    How about sound quality?


    Thanks in advance!

  • about Raspis, Raspbian and Bluetooth

    RPi 3B and RPi Zero W have an internal bluetooth controller. You need the package pi-bluetooth to use the internal controller.

    Attention: the internal bluetooth controller uses the serial interface.


    Every Raspbian Release (wheezy, jessie and stretch) handles bluetooth devices in a special way.

    wheezy --> alsa --> bt-speaker

    jessie --> alsa --> pulseaudio1 --> bt-speaker

    stretch --> alsa2 --> bt-speaker


    1 pulseaudio sound server uses the pulseaudio-module-bluetooth to send sound to a bt-speaker.

    2 alsa uses bluealsa (package bluez-alsa) to send sound to a bt-speaker.


    jessie and stretch there is the command bluetoothctl to control bluetooth devices (scan, pair, trust, connect, disconnect, remove, ...).


    pulseaudio runs as session daemon.

    mpd runs as system daemon.


    jessie GUI has bluetooth desktop controls to connect a speaker to pulseaudio.

    stretch GUI has bluetooth desktop controls to connect a speaker to bluealsa.


    You can build bluealsa also for jessie (raspbian-jessie-lite, pipaos-guarana-console, )

    If the package pulseaudio-module-bluetooth is installed, remove it. (Afterwards jessie bluetooth desktop controls doesn't work any more!)


    Bluealsa works with jessie/stretch and mpd/vlc1/???mplayer


    1 there is an issue #23 'bad sound with VLC' and a work around. Details in Bluetooth for Peppy Player with VLC.


    Proposals for improvement welcome.

    2 Mal editiert, zuletzt von kle ()

  • Bluetooth for Peppy Player with VLC


    1. The adafruit GUI image 2016-11-08-pitft-35r.zip for Peppy Player contains pulseaudio-module-bluetooth.
      To prevent problems with bluealsa it shall be removed.
       sudo apt-get remove pulseaudio-module-bluetooth
    2. Using bluealsa in jessie
      Link (ignore mpd paragraphs)
    3. Change players.txt
      Code
      1. nano ~/Peppy/players.txt
      2. ...
      3. [audio]
      4. player.name = vlc
      5. music.folder.linux = /home/pi/Music
      6. ...
      7. [vlc.linux]
      8. #server.command = --aout=alsa --alsa-audio-device=hw --verbose=-1
      9. server.command = --aout=alsa --alsa-audio-device=headset --verbose=-1
    4. Check vlc
      There is an issue #23 'bad sound with VLC'
      if aplay -D headset /usr/share/sounds/alsa/Front_Center.wav works
      and cvlc --aout=alsa --alsa-audio-device=headset --verbose=-1 http://st01.dlf.de/dlf/01/128/mp3/stream.mp3 doesn't
      then modify asound.conf, add line delay -20000.


    5. Run Peppy Player
      Code
      1. cd ~/Peppy
      2. sudo python3 peppy.py &

      If it works you can edit /etc/rc.local to autostart Peppy Player

      Code
      1. sudo nano /etc/rc.local
      2. ...
      3. cd /home/pi/Peppy
      4. python3 peppy.py &
      5. exit 0

    37 Mal editiert, zuletzt von kle () aus folgendem Grund: use python3

  • Bluetooth for Peppy Player with MPLAYER

    same as VLC except

    3. change players.txt

    Code
    1. nano ~/Peppy/players.txt
    2. ...
    3. [audio]
    4. player.name = mplayer
    5. music.folder.linux =
    6. ...
    7. [mplayer.linux]
    8. #server.command = mplayer -ao alsa:device=hifiberry -idle -slave -quiet -msglevel statusline=6 -msglevel global=6
    9. server.command = mplayer -ao alsa:device=headset -idle -slave -quiet -msglevel statusline=6 -msglevel global=6

    3 Mal editiert, zuletzt von kle ()

  • New version (Vermeer Edition) of the Peppy Player was just released.

    User kle from this forum provided very valuable and helpful input for this release especially in resolving several issues related to the Peppy Player configuration. Thanks a lot Klaus! I appreciate your help very much!


    Here are the new features:


    - Replaced HiFiBerry Amp+ by HiFiBerry Amp2. That solved audiobooks playback issues.

    https://github.com/project-owner/Peppy.doc/wiki/Amplifier

    https://github.com/project-own…py.doc/wiki/HiFiBerry-Amp


    - Added CD Player mode.

    https://github.com/project-owner/Peppy.doc/wiki/CD-Player

    https://github.com/project-owner/Peppy.doc/wiki/CD-Browser


    - Made Home menu customizable.

    - Added configuration files for screensavers.

    - Refactored VU Meter screensaver.

    - Improved logging functionality.


    - Provided disk images to simplify player installation and configuration.

    https://github.com/project-own…yers.doc/wiki/Disk-Images


    - Added Wish List to the Wiki pages:

    https://github.com/project-own…layers.doc/wiki/Wish-List


    - Updated Gallery with new images depicting projects created by Klaus:

    https://github.com/project-own…yPlayers.doc/wiki/Gallery