Re: [SlimDevices: Plugins] Alexa to LMS

2019-12-17 Thread philchillbill
bc-nero wrote: > I would like to distribute the sound of Alexa over LMS to the players. > But if there is a solution here that can be used to control the LMS by > voice, then of course that would be even better. But with step 1 I would > be very satisfied! Maybe the OP should check out the Medi

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-13 Thread bc-nero
OK! Now: "wavin:hw:2,0" was working :-( before reboot i could hear the music - after reboot only pipes :-( also it was not possible to play the stream on two players , or make a synchronization ?!? bc-nero's Profile: h

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-13 Thread bpa
bc-nero wrote: > 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 "wavin:plughw:CARD=2,DEV=0" with the orginal custom-convert.conf file which has "arecord" (LMS must be restarted for cust

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-13 Thread bc-nero
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 -

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-13 Thread bpa
bc-nero wrote: > 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 > u

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-13 Thread bc-nero
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 ...

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-13 Thread bpa
Before you go further with PulseAudio, I presume you tried using WaveInput with ALSA devices - it doesn't always require PulseAudio to be uninstalled. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 Vie

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-13 Thread bpa
I dislike PulseAudio intensely - it solves problems that 99% of users don't have but makes life more complicated. For some reason parec will not pipe its output so a quick and dirty solution is to use "arecord" with an environment variable "PULSE_SOURCE" but that requires a shell script as LMS s

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-13 Thread bpa
OK - everything is as expected. I think I see the problem - it looks like parec doesn't like piping WAV output. I'll have to look for an alternative to parec. bpa's Profile: http://forums.slimdevices.com/member.php?useri

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-13 Thread bc-nero
OK! Code: [19-07-13 10:17:40.8933] Slim::Player::Playlist::removeTrack (349) Removing currently playing track. [19-07-13 10:17:40.8936] Slim::Player::StreamingController::stop (2097) b8:27:eb:dd:58:65 [19-07-13 10:17:40.8941] Slim::Player::Source::playmode (96) b8

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-13 Thread bpa
bc-nero wrote: > > Code: > > alsa_input.pci-_00_1b.0.analog-stereo > > > > ... is the right one, just tested as you have written 2 days ago > The test prove that Pulseaudio is working for a logged in user (i.e. not a service) and somewhere the

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-13 Thread bc-nero
Hi! Code: alsa_input.pci-_00_1b.0.analog-stereo ... is the right one, just tested as you have written 2 days ago Code: 2019-07-13 09:01:28 squeezeboxserver_safe started. [19-07-13 09:01:29.8349] main::init (387) St

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-12 Thread bpa
bc-nero wrote: > But if I start the favorite with "wavin: > alsa_input.pci-_00_1b.0.analog-stereo", then it starts for 1-3 > seconds and then stops again, without even having played one sound ... The clock is started when you press play - it means nothing specific - just a timer. Timer run

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-12 Thread bc-nero
Thanks, but unfortunately it still does not work ... I did everything as written, Waveinput also shows: Wave input FLAC = parec / flac MP3 = parec / lame PCM = parec But if I start the favorite with "wavin: alsa_input.pci-_00_1b.0.analog-stereo", then it starts for 1-3 seconds and then sto

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-12 Thread bpa
bc-nero wrote: > > @bpa > > this one is working great: "alsa_input.pci-_00_1b.0.analog-stereo" I assume this means you were able to record audio into a file and play it back OK. Now to modify LMS to use parec (which is PulaseAudio record) instead of the default arecord (which is ALSA rec

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-11 Thread d6jg
bc-nero wrote: > Hi! > > Sorry, my mistake ... (google translate) > > wrong: I do not have a RP2 in the living room with the same USB sound > card as the home server. > right: I do have a RP3 in the living room with the same USB sound card > as the home server. > > > > ==> here is a lag of

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-11 Thread bpa
bc-nero wrote: > Ok, so i put in a new LMS favorit: > Code: > > parec --file-format=wav -d alsa_input.pci-_00_1b.0.analog-stereo test.wav > > > > right? NO Run from a shell prompt - this has nothing to do with LMS. It is necessary to veri

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-11 Thread bc-nero
Ok, so i put in a new LMS favorit: Code: parec --file-format=wav -d alsa_input.pci-_00_1b.0.analog-stereo test.wav right? bc-nero's Profile: http://forums.slimdevices.

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-11 Thread bpa
bc-nero wrote: > ==> So I will try this one. But I do not want to record the sound, I > want to stream the sound live into LMS ... The same command to record is the one that will be used by LMS to copy the sound to player. If you don't have a working record command - there is no point wasting

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-10 Thread d6jg
He also said ... which may have confused me. bc-nero wrote: > I do not have a RP2 in the living room with the same USB sound card as > the home server. If I get the sound through this client in the LMS that > would of course be the best. Otherwise I have to lay 15m sound cable ... bpa wrote:

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-10 Thread bpa
bc-nero wrote: > But if there is a solution here that can be used to control the LMS by > voice, then of course that would be even better. I'm not sure your skill level skill but for Alexa to control LMS there is the thread https://forums.slimdevices.com/showthread.php?107009-Announce-squeeze-a

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-10 Thread bpa
d6jg wrote: > @bpa > > Your answer is based on the source (Echo Dot) being adjacent to his > server. Yes I assumed that because in first post OP says a cable from Echo going into the mic input of his LMS sever. > It sounds to me like the server is a central system with 6 USB DAC > outputs p

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-10 Thread d6jg
@bpa Your answer is based on the source (Echo Dot) being adjacent to his server. I have read the OPs posts differently i.e. I have read them to mean his Echo Dot is in his Living Room 15 metres away. It sounds to me like the server is a central system with 6 USB DAC outputs presumably wired to

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-10 Thread bpa
OK. You should have pulseaudio-utils installed - this package includes the "parec" command used to record Pulseaudio sources. You should also have Pulseaudio GUI applications under menu "Sound & Video" "PulseAudio Volume Control" & "Pulse Audio Volume Meter (Capture)" First it is necessary to

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-09 Thread bc-nero
I would like to distribute the sound of Alexa over LMS to the players. But if there is a solution here that can be used to control the LMS by voice, then of course that would be even better. But with step 1 I would be very satisfied! -

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-09 Thread bpa
bc-nero wrote: > But I would prefer the same DAC (as the ones from the homeserver) from > the raspberry2 right in front of alexa. Homeserver is 15m away :-( > > I think I will try #7 tomorrow - I hope I am able to do it. > > But if someone else has a good idea, then I like to take it! Thank

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-09 Thread bc-nero
Hi, Is it arm or x86 ? What version of Ubuntu ? What version of LMS ? ...see #4 "pacmd list-sources" from homeserver = Attachment But I would prefer the same DAC (as the ones from the homeserver) from the raspberry2 right in front of alexa. Homeserver is 15m away :-( I think I will try #7

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-09 Thread bpa
bc-nero wrote: > the first part of the information is still to be checked by the > moderator and therefore follows only after the second part What sort of hardware Is it arm or x86 ? What version of Ubuntu ? What version of LMS ?

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-09 Thread d6jg
Are you saying the Alexa/Echo Dot is to be plugged into a RPi2 and that will feed your LMS ? If so then install piCorePlayer 5 onto the Pi, disable Squeezelite but enable pcp-streamer. Use a USB DAC/ADC such as Behringer UAC202 - https://www.gear4music.com/Recording-and-Computers/Behringer-UCA20

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-09 Thread bc-nero
the first part of the information is still to be checked by the moderator and therefore follows only after the second part bc-nero's Profile: http://forums.slimdevices.com/member.php?userid=69285 View this thread: http://f

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-09 Thread bc-nero
> the rest > > sysdefault:CARD=Dongle - VIA USB Dongle, USB Audio - Default > Audio Device > front:CARD=Dongle,DEV=0- VIA USB Dongle, USB Audio - Front > speakers > surround40:CARD=Dongle,DEV=0 - VIA USB Dongle, USB Audio - 4.0 > Surround output to Front and Rear speakers

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-09 Thread d6jg
bc-nero wrote: > Hello! > > I would like to bring the music output of my Echo Dot2 to the LMS to > stream into the players. > > My system: > Ubuntu homeserver > 6 USB sound cards > 6 squeezelite instances on the homeserver for each room > Alexa connected to the mic-front connector > > Unfortu

Re: [SlimDevices: Plugins] Alexa to LMS

2019-07-09 Thread bpa
bc-nero wrote: > Hello! > > I would like to bring the music output of my Echo Dot2 to the LMS to > stream into the players. > > My system: > Ubuntu homeserver > 6 USB sound cards > 6 squeezelite instances on the homeserver for each room > Alexa connected to the mic-front connector > > Unfortu

[SlimDevices: Plugins] Alexa to LMS

2019-07-09 Thread bc-nero
Hello! I would like to bring the music output of my Echo Dot2 to the LMS to stream into the players. My system: Ubuntu homeserver 6 USB sound cards 6 squeezelite instances on the homeserver for each room Alexa connected to the mic-front connector Unfortunately, trying with Wavein always failed