Home of the Squeezebox™ & Transporter® network music players.
Page 49 of 50 FirstFirst ... 3947484950 LastLast
Results 481 to 490 of 495
  1. #481
    Junior Member
    Join Date
    Sep 2019
    Posts
    3
    Quote Originally Posted by paul- View Post
    Likely the correct card is not getting selected as the Alsa input.

    From the main page, Goto Diagnostics -> Sound.

    Scroll down on the page and look at the following sections. The card number for the hifiberry should match in the pcm.pcinput section.
    Hi Paul,

    [ INFO ] RECORDING Hardware Devices
    *** Scanning for recording devices ***

    Card 0, ID `sndrpihifiberry', name `snd_rpi_hifiberry_dacplusadc'
    Device 0, ID `HiFiBerry DAC+ADC HiFi multicodec-0', name `', 1 subdevices (1 available)
    2 channels, sampling rate 44100..44100 Hz
    Sample formats: S24_LE, S32_LE
    Buffer size range from 64 to 65536
    Period size range from 32 to 32768
    Subdevice 0, name `subdevice #0'


    [ INFO ] Current /etc/asound.conf
    # default - Generated by piCorePlayer
    pcm.!default {
    type plug
    slave.pcm "hw:0,0"
    }

    pcm.pcpinput {
    type plug
    slave.pcm "hw:0,0"
    }

    So it seems that the card number is correct.
    But i have also this:

    [ INFO ] Current card0 pcm0p sub0
    access: MMAP_INTERLEAVED
    format: S32_LE
    subformat: STD
    channels: 2
    rate: 44100 (44100/1)
    period_size: 882
    buffer_size: 3528

    it seems that card0 sample format is setted to S32_LE...
    I have modified the stream URL to http://192.168.178.50:9100/S32_LE/44100/2/F and bingo! the sound flows!!

    Now is there a way to set hifiberry to utilize a sample format of S16_LE? I think that 32 bit is a waste of resources since the source signal comes from a CD player with 16 bit samples.

    Thank you!

  2. #482
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,076
    Quote Originally Posted by amagi View Post
    [ INFO ] Current card0 pcm0p sub0
    access: MMAP_INTERLEAVED
    format: S32_LE
    subformat: STD
    channels: 2
    rate: 44100 (44100/1)
    period_size: 882
    buffer_size: 3528
    Squeezelite will default to opening the audio at 32bits. If you are playing the DAC and feeding input, they both need to be set to the same bit depth. You have 2 options.

    1) Start the stream first, then power on and play from the player.
    2) Go to the squeezelite page and force the rate to S16_LE.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  3. #483
    Junior Member
    Join Date
    Sep 2019
    Posts
    3
    Quote Originally Posted by paul- View Post
    Squeezelite will default to opening the audio at 32bits. If you are playing the DAC and feeding input, they both need to be set to the same bit depth. You have 2 options.

    1) Start the stream first, then power on and play from the player.
    2) Go to the squeezelite page and force the rate to S16_LE.
    For the option 2) what's exactly the setting that i have to change?

    Thank you!

  4. #484
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,076
    I'm not by a player to send a screen shot. But in the ALSA Settings, you can fill out 5 values......

    It will be 80:4::1 by default. Add a 16 to the third field. 80:4:16:1
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  5. #485

    Amanero usb USB-DAC (Dual ak4490 software controlled)

    Good morning here

    I've build a new USB-DAC, with the Amanero (https://amanero.com/) USB to I2S converter.

    I can play 192/96/44.1 etc... without glitches/crackling with PC & MAC, but with my RPI 3 B+ i struggle with some crackling noise, BUT :

    First off i installed Picoreplayer 5 and immidiatly i discovered some crackling noise, especially when i used the Picoreplayer webinterface, i could hear that crackling got worse when the RPI was working some extra. I tried all kinds of tweaks, buffersizes etc... nothing seems to help.
    Then i "yesterday" tried to install the Picoreplayer with realtime kernel, and ups things was much better, eventhrough it's a USB DAC.
    Well it's still not 100% perfect, but i'am getting there.
    (I set my buffer to 160ms / 4 / 0 / 1, 10000:20000 & static IP, nothing else, and it's pretty good, but as i said before not 100% perfect)

    So i was hoping someone could help me get there with the Amanero USB to I2S interface?
    I'am open for all suggestions, and i can handle Linux/SSH pretty well also.

    Good day, Rgds; Jesper.

  6. #486
    Junior Member
    Join Date
    Nov 2017
    Posts
    10

    WOL prior to mounting remote drives

    First of all: running piCorePlayer 5.0.0 and am really happy with.

    Question: I have my music on a NAS, this gets mounted when booting piCorePlayer and according my LMS network disk mount settings. Recently, I configured my NAS to go into sleep if not used for a while. I can wake the NAS from my PC by sendig WOL. Now I would like to send WOL to my NAS upon booting piCorePlayer and before this mounts the NAS. I tried the WOL in tweaks for that, but did not succeed. Am I at the right place for what I'd like to achieve ?

  7. #487
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,076
    The WOL implementation does not wait for anything to happen. It was only meant to send a WOL command to a sleeping server running LMS.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  8. #488
    Senior Member
    Join Date
    Jul 2009
    Location
    Bristol, UK
    Posts
    610
    In what instances does PCP send a WAL to a sleeping LMS? For example, does PCP only sends a WOL to a sleeping LMS when the Rasp Bi running PCP initially powers up?
    Allo Digione Signature (+LiFePo Batteries), Touch, Metrum Jade, Bryston B4 SST2, PMC OB1i speakers, HP Proliant Microserver/Ubuntu, PC/Windows 7, iPad 4, iPeng, Squeezepad.

  9. #489
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,076
    Just on boot. Of coarse the server running LMS has to be WOL capable.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  10. #490
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    1,632
    Any chance of a build of libftdi in the pCP extensions repo to help with Slimmer?
    https://forums.slimdevices.com/showt...l=1#post950308
    Paul Webster
    http://dabdig.blogspot.com
    Author Radio France (FIP etc) plugin

Posting Permissions

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