Home of the Squeezebox™ & Transporter® network music players.
Page 4 of 4 FirstFirst ... 234
Results 31 to 36 of 36

Thread: Alexa to LMS

  1. #31
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,334
    Before you go further with PulseAudio, I presume you tried using WaveInput with ALSA devices - it doesn't always require PulseAudio to be uninstalled.

  2. #32
    Junior Member
    Join Date
    Jul 2019
    Posts
    15
    Sorry, it was very a hard day, so I'm could not come back earlier.
    Alsa or pulseaudio ... I do not care, the main thing is that it works....

    What attitude would I have to do with Alsa (how do I find the right input device?) With the standard values ​​it had unfortunately not working solution ...

    best regards from Cologne

  3. #33
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,334
    Quote Originally Posted by bc-nero View Post
    Alsa or pulseaudio ... I do not care, the main thing is that it works....
    I guess you had tried ALSA because you said you tried to uninstall Pulseaudio.
    What attitude would I have to do with Alsa (how do I find the right input device?) With the standard values ​​it had unfortunately not working solution ...
    Was that a test with WaveInput before you gave LMS user permission to access "Audio" hardware by making userid a member of audio group ?

    To get the right device - you first do a test like you did with parec.

    1. Find all the possible input device with "arecord -l" (the option is lower case letter L not digit 1). Output will be like
    Code:
    **** List of CAPTURE Hardware Devices ****                                                                                                                                                         
    card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]                                                                                                                         
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 2: ALC887-VD Alt Analog [ALC887-VD Alt Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 2: Audio [DigiHug USB Audio], device 0: USB Audio [USB Audio]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    Note there are 3 devices CARD=0,DEV=0 CARD=0,DEV=2 and CARD=2,DEV=0

    2. play audio into input port
    3. Record the input into a wav file - example with CARD=0 and DEV=2
    Code:
     arecord -v -D plughw:CARD=0,DEV=2  -f cd  -t wav arecordtest.wav
    Play the arecordtest.wav file to check if audio has been recorded.

  4. #34
    Junior Member
    Join Date
    Jul 2019
    Posts
    15
    Hi!

    Was that a test with WaveInput before you gave LMS user permission to access "Audio" hardware by making userid a member of audio group ?
    ... before

    this one is working: arecord -v -D plughw:CARD=2,DEV=0 -f cd -t wav arecordtest.wav

    thomas

  5. #35
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,334
    Quote Originally Posted by bc-nero View Post
    Hi!



    ... before

    this one is working: arecord -v -D plughw:CARD=2,DEV=0 -f cd -t wav arecordtest.wav
    OK then test with a Favorite with URL "wavinlughw:CARD=2,DEV=0" with the orginal custom-convert.conf file which has "arecord" (LMS must be restarted for custom-convert.conf changes to take effect)

  6. #36
    Junior Member
    Join Date
    Jul 2019
    Posts
    15
    Thank you very much, now it is working perfekt!

    Best regards to Ireland!
    Last edited by bc-nero; 2019-07-13 at 23:41.

Posting Permissions

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