Re: [SlimDevices: SqueezeCenter] Is there a way to do a mic input to the server so can play on devices?

2018-08-01 Thread Raymond Day


I got a Y cable on it and there is about a 2 sec. delay if that. Not
much but it don't matter to me.

Happy it's working.

Thanks a lot for your help.

-Raymond Day



Raymond Day's Profile: http://forums.slimdevices.com/member.php?userid=1332
View this thread: http://forums.slimdevices.com/showthread.php?t=109293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to do a mic input to the server so can play on devices?

2018-08-01 Thread bpa


Many ways to do the same thing. I think addgroup command can also be
used to add user to a group - in this case audio. 

On some system the delay between a sound on input and being heard on a
SB player can vary between about 0.2sec to 5-10 secs depending on some
system settings, network and player buffering.  Some users have asked to
use line-in for playback of videos but audio & video will be out of
sync.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to do a mic input to the server so can play on devices?

2018-08-01 Thread Raymond Day


Looked it up on Google and I think his is the one command would use to
add music to LMS.


Code:

usermod -a -G music squeezeboxserver



I all ready did it in Webmin so not sure if this would work.

But that is what got LMS to start playing from the MIC input on my
server.

-Raymond Day



Raymond Day's Profile: http://forums.slimdevices.com/member.php?userid=1332
View this thread: http://forums.slimdevices.com/showthread.php?t=109293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to do a mic input to the server so can play on devices?

2018-08-01 Thread Raymond Day


Looking up how to add user music on Google but never found it.

Went in Webmin under "System" then "Users and Groups" clicked on
"squeezeboxserver" and under "Secondary groups" has a log list can add
under "All groups" I seen "audio" and click the right arrow to add it to
"In groups" clicked Save. Then in LMS click the play and it started to
work.

Wow nice.

25385

You were right about the permissions!

-Raymond Day


+---+
|Filename: LMS WaveInpu 2nd Groups audio worked.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=25385|
+---+


Raymond Day's Profile: http://forums.slimdevices.com/member.php?userid=1332
View this thread: http://forums.slimdevices.com/showthread.php?t=109293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to do a mic input to the server so can play on devices?

2018-08-01 Thread Raymond Day


Did what you said but it still does not work. I tested little changes in
the wavin: plughw:1,0 like you said no space. I did that and the most it
will look like it plays is 3 sec. But no sound at all.

25384

That is what it looks like now. Maybe it is some music permissions. How
do I check that and save it?

Thanks I think all most got this working.

-Raymond Day


+---+
|Filename: LMS WaveInput not working.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=25384|
+---+


Raymond Day's Profile: http://forums.slimdevices.com/member.php?userid=1332
View this thread: http://forums.slimdevices.com/showthread.php?t=109293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to do a mic input to the server so can play on devices?

2018-08-01 Thread bpa


Raymond Day wrote: 
> Looked at http://wiki.slimdevices.com/index.php/WaveInput_plugin and had
> to add under "Favorites:" a name of "WaveInput" and url of "wavin:0" But
> I get no counter moving.
> 
> Tested changing the URL to "wavin:1" and the counter goes to just 3 sec.
> then quits. I hear no sound.
> 
> This will show a lot a screen shot of my LMS.
> 
> 25383
> 
> Guess it's some setting on the command line. Not sure.
> 
> Hope some one knows.
> 
> Looks like all most got it working.
> 
> -Raymond Day
The plugin strips "wavin:" from the supplied URL and adds it after the
"-D" option of arecord.

So the Favorite "wavin:" URL needs the Alsa device which you use -
"pluginhw:1,0"  so the Favorite wavin URL should be wavin:plughw:1,0

A few other "Gotchas"
* Is LMS running as a service or under a different userid ? If so make
sure the userid which runs LMS has "audio" provileges so that it can
access the audio hardware (this permnission may vary according to
distro) -
* ALSA card number can vary depending on USB devices inserted and the
order of insertion.  Make sure the card and device number are correct at
time of test



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to do a mic input to the server so can play on devices?

2018-08-01 Thread Raymond Day


Looked at http://wiki.slimdevices.com/index.php/WaveInput_plugin and had
to add under "Favorites:" a name of "WaveInput" and url of "wavin:0" But
I get no counter moving.

Tested changing the URL to "wavin:1" and the counter goes to just 3 sec.
then quits. I hear no sound.

This will show a lot a screen shot of my LMS.

25383

Guess it's some setting on the command line. Not sure.

Hope some one knows.

Looks like all most got it working.

-Raymond Day


+---+
|Filename: LMS WaveInput.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=25383|
+---+


Raymond Day's Profile: http://forums.slimdevices.com/member.php?userid=1332
View this thread: http://forums.slimdevices.com/showthread.php?t=109293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to do a mic input to the server so can play on devices?

2018-07-31 Thread Raymond Day


Did this command:


Code:

arecord -D plughw:1,0 -d 5 -f S16_LE -c1 -r44100 test4.wav



It recorded like a 5 sec audio from the mic. Mono type sound.

So I know it works if just can get LMS to add it like a song.

-Raymond Day



Raymond Day's Profile: http://forums.slimdevices.com/member.php?userid=1332
View this thread: http://forums.slimdevices.com/showthread.php?t=109293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to do a mic input to the server so can play on devices?

2018-07-31 Thread Raymond Day


bpa wrote: 
> You can.
> 
> 
> 
> 
> 
> googlecode is dead for a few years.
> 
> What OS/platform  are you using ? *Ubuntu Linux 18.04 Linux
> 4.15.0-29-generic on x86_64*
> What audio subsystem - ALSA or Pulseaudio ? *Got a USB with mic and
> audio on it it's a ALSA because a aplay -l will show "card 1: Device
> [USB Audio Device], device 0: USB Audio [USB Audio]
> Subdevices: 1/1
> Subdevice #0: subdevice #0"*
> 
> There is no point fiddling with plugin until you make sure you can
> record the "mic input" to a file with a command line applicaiton such as
> arecord or  parecord as appropriate.
> 
> 
> No need for additional repo any logner - it is part of plugin tab under
> 3rd party plugins.

Seems like it should work.

-Raymond Day



Raymond Day's Profile: http://forums.slimdevices.com/member.php?userid=1332
View this thread: http://forums.slimdevices.com/showthread.php?t=109293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to do a mic input to the server so can play on devices?

2018-07-31 Thread bpa


Raymond Day wrote: 
> So I guess can't use VLC on a linux server.
You can.



> Put the "Additional Repositories" in and it came back with:
> 
> Bad repository http://bpaplugins.googlecode.com/svn/trunk/repo.xml - 404
> Not Found
> 
> Wanted to install the WavInput. How would I do that?

googlecode is dead for a few years.

What OS/platform  are you using ?
What audio subsystem - ALSA or Pulseaudio ?
There is no point fiddling with plugin until you make sure you can
record the "mic input" to a file with a command line applicaiton such as
arecord or  parecord as appropriate.


No need for additional repo any logner - it is part of plugin tab under
3rd party plugins.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to do a mic input to the server so can play on devices?

2018-07-31 Thread Raymond Day


So I guess can't use VLC on a linux server.

Put the "Additional Repositories" in and it came back with:

Bad repository http://bpaplugins.googlecode.com/svn/trunk/repo.xml - 404
Not Found

Wanted to install the WavInput. How would I do that?

-Raymond Day



Raymond Day's Profile: http://forums.slimdevices.com/member.php?userid=1332
View this thread: http://forums.slimdevices.com/showthread.php?t=109293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to do a mic input to the server so can play on devices?

2018-07-31 Thread bpa


You can use two
1. VLC to create a http stream
2. the WAVinput plugin - depending on the OS and the audio subsystem -
it can be simple or tricky to setup



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=109293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Is there a way to do a mic input to the server so can play on devices?

2018-07-31 Thread edwin2006


There was some where a program that was able to Crete a sound stream
which you could play via lms but I'm not able to find it again [emoji15]



*SqueezeBoxes:* 2x SB2 (Living room and study), 1x Radio (Kitchen), 1x
Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden)
1x OSMC + Squeezelite (Movie room), 1x Touch (Bedroom)
*Server:* LMS on Pi3 7.9.1. on PcP 3.21
*Network:* AVM Fritzbox, D-Link Smart Switch 24p, 3x Ubiquity

edwin2006's Profile: http://forums.slimdevices.com/member.php?userid=66926
View this thread: http://forums.slimdevices.com/showthread.php?t=109293

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter