Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5
  1. #1

    Scroll Bot player

    I'm looking to build a new player for a child's bedroom and I found the raspberry pi zero W based scroll bot:

    https://shop.pimoroni.com/products/s...-w-project-kit

    Pairing this up with a small powered speaker looks ideal for my needs. I was hoping the LED display could be used to "speak" the audio as it will mostly be used to play audio books. Unfortunately, I have little to no experience with audio programming so thought I'd post my idea here to see if it seemed viable.

    My plan is to use squeezelite as the player. And output the audio to the ALSA loop back device. Then use JACK to read the audio output, calculate the fft to produce a spectrum analysis to output to the LED display and then pass through the audio untouched to the main ALSA output (will be via HDMI out).

    The LED display looks to require python to access it, and python looks to have JACK libraries so I think the theory is sound.

    It would be ideal if I could use piCorePlayer but I think the additional requirements (python, JACK etc) means it's going to be simpler to run a full raspbian image.
    LMS Server: Mac Mini with music library on Drobo 5D
    Living Room: Raspberry Pi + AlloBoss -> Onkyo A 9010 -> KEF LS50
    Study: Raspberry Pi -> Audio Engine D1 -> Audio Addon Pro T3
    Kitchen: Squeezebox Radio
    Bedroom: SB3 -> B&W Zeppelin

  2. #2
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    16,340
    Your thread title really does not help with what you are trying to do and it is not clear how much detailed research you have done (e.g. have you looked at squeezelite source code)

    By "speak" I presume some form of Spectrum analyser display.

    There are a number of Jivelite displays using audio outrput from squeezlite under names as VU meter and Spectru analyser. This would simplify your system.

    IIRC Squeezelite can already export audio samples (ready for fft) to shared memory for such display - the build option is OPT_VIS and probably looking at squeezelite source code will probably help understand what is being output see
    https://github.com/ralph-irving/sque...r/output_vis.c

    I suspect you should look at other apps already using this data.
    Last edited by bpa; 2018-08-07 at 07:39. Reason: clarify use of audio samples

  3. #3
    Thanks bpa; the -v output of squeezelite looks to simply matters
    LMS Server: Mac Mini with music library on Drobo 5D
    Living Room: Raspberry Pi + AlloBoss -> Onkyo A 9010 -> KEF LS50
    Study: Raspberry Pi -> Audio Engine D1 -> Audio Addon Pro T3
    Kitchen: Squeezebox Radio
    Bedroom: SB3 -> B&W Zeppelin

  4. #4
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    1,984
    There are 2 examples of consuming the shared memory output from squeezelite -v in the visualizer jivelite sources.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  5. #5
    Thanks for the pointers. Prototype done, just needs some code and cable tidy up...

    LMS Server: Mac Mini with music library on Drobo 5D
    Living Room: Raspberry Pi + AlloBoss -> Onkyo A 9010 -> KEF LS50
    Study: Raspberry Pi -> Audio Engine D1 -> Audio Addon Pro T3
    Kitchen: Squeezebox Radio
    Bedroom: SB3 -> B&W Zeppelin

Posting Permissions

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