Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
bpa wrote: > OK I think I have a solution for your configurations. Spot on. Excellent. Thank you. It now just works: no fiddling, no messing about. > Some background. Excellent, thank you. > The configuration in question is when LMS is run as a service (rather > than on user-login) It is run as a service in my system. > Pulseaudio can be setup in two ways: system wide and per-user. As you say, it is set up as per-user. > When testing the latency (i.e. delay between live sound and time for LMS > to play sound) is about 15 secs. That is so here as well, but not a problem for my purpose, as I just want to listen to audio, not view video. > To setup this communication both the pulseaudio daemon configuration and > the parec application have to be told which unix domain socket is to be > used. The name of the unix domain socket is arbitrary but in this > suggested setup it is set up in /tmp and called wavin-pulse-socket-name. This was not necessary on my part as your instructions below worked just fine. > The desktop user (i.e. user running amarok, audacity, rhythmbox etc.) > can either set the configuration up by command or as part of default but > remember changes in configuration files will need user to logout/login > to take effect and.or restart the daemon. Logout/in was not required. *pulseaudio -k* was sufficient as the daemon restarts itself automatically as soon as you kill it. !! > I have tested as much as I can but my system configuration is not the > same your systems and I didn't want to alter mine too much as it would > break my application setup. No problem. It just works. It would be nice to figure out how to reduce the latency, but as I said I can live with that. I may also try the PCM and MP3 options later when I figure out how :-) but for now this works just fine. > To setup the configuration... Following it step by step just worked. Thank you. I chose to make the file changes, not change the shell prompt, but I'll keep that in mind as an option later. Thanks again. This is for a budding musician to be able to listen to and practice his parts at home as well as numerous other applications. Truly a star in the LMS crown. Well done. Happy New Year. Kind regards, Andy ---- alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
bpa wrote: > I asked for lots of details but you have given very little and tried > things I didn't ask for. I suspect the problem is something about how > your system is setup and permissions. > > If for example you are running LMS (and by implication arecord in > wavinput plugin) under one userid and the application generating audio > under another userid - it is going to get very messy with pulseaudio as > it expects virtualised audio to be generated and processed by same > userid. > > So it's going to be tedious so here is the first set of questions - if > you don't understand the question say so. > Just to be complete: 1. What application is producing the audio that you want recorded ? A variety: Chromium, Firefox, Clementine, Amarok. All behave the same. 2. Is this application run from GUI (if so which type GNOME...) or shell prompt ? All of mine from KDE GUI (not Gnome) 3. Do you really need pulseaudio for normal use ? Who knows. It is what is installed by default. PAVU Control *-is-* a rather cool little utility. 4. Will any of your normal required applications fail if pulseaudio is disabled/removed ? Haven't a clue. Haven't tried that. I'd prefer not to go that route. 5. Is there a userid pulse ? what users are registered in the pulse-access group ? Is userid pulse registered as part of the audio group ? what userid does LMS run under and what groups does it belong to ? a. No there is NOT a *userid* pulse. b. There *-is-* a *-group-* pulse. c. My user is *-andy-*. *-andy-* is registered as a member of *-pulse-* group. d. LMS does not appear as a userid on its own. There is a userid *-squeezeboxserver-* (userid #476), presumably that is LMS. e. *-squeezeboxserver-* is a member of the group *-squeezeboxserver-* f. *-andy-* (me) is also a member of the group *-squeezeboxserver-* Enough for tonight, tomorrow shall address the remaining questions. Thank you again. 6. When no applications are running (e.g. just after boot) is pulseaudio daemon running ? (check by running ps -aux as root/admin) 7. What produces the audio assuming an x86 PC based system is it native analog audio (e.g. Intel HD) native digital, HDMI or additional audio hardware such as USB DAC or additional card or something else ? 8. How is this audio device specified and designated(e.g. nane) in the application generating the audio ? 9. What is the output of "arecord -L" 10. what is the output of "pactl list short" when no audio application is running and when application generating audio is running 11. Do you have a problem if pulseaudio is configured as Systemwide ? 12. Is your system a multiuser system e.g. LMS runs as a service and there are mulitple different userid who can login at desktop or over net and play audio. ---- alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
bpa wrote: > With pulseaudio - the virtualisation occurs only after you start the > playing the source program - so more detail on what you are doing is > necessary if you weant help. > > It seems you are not very familiar with Pulseaudio. It makes life very > difficult for users especially as so few users use its features. I > don't know why it is installed as standard. > > When you are playing the source program - and then open Pulseaudio > Volume control - which output is showing levels moving ? 1. We need to get the correct wavin:xxx value or nothing else will work. So what should it be? default? 0? pulse? alsa? or something else? is there any documentation for this plugin? 2. I agree. ALL of this is very arcane and there is little to no documentation. I had it working once after a lot of work: http://genietvanhetleven.blogspot.com/2011/02/solving-alsa.html but then things changed, so I am now back to ground zero. 3. To answer your question: a. Linux openSUSE 13.2 Logitech Media Server Version: 7.9.0 - 1446929859 @ Sun Nov 8 04:00:52 UTC 2015 b. Installed the plugin with all the attendant variations, but I still need to know which *wavin;xxx* xxx value to use. I've tried all the aforementioned with no observable change in behaviour. So what should it be? default? 0? pulse? alsa? or something else? c. Start several different streams serially: firefox (youtube, facebook videos), audio programs (Clementine, Amarok): https://www.youtube.com/watch?v=mbaz9T-RW-M d. With Firefox PAVU Control shows *ALSA plugin* feeding *Builtin Audio Analog System (BAAS)* with the music changing the volume: 19676 e. With Clementine PAVU Control shows *Clementine* feeding *Builtin Audio Analog System (BAAS)* with the music changing the volume: 19677 f. In both these cases the audio emerges from the laptop speakers. We need to find the final step before the speakers and redirect that to WaveInput and thence to LMS. So it would appear that the sound I wish to send to LMS is indeed being registered by PulseAudio, I just need to get the output of Pulse Audio to be connected to WaveInput so that it can play on LIMS, right? Or should we target the output of *Builtin Audio Analog System (BAAS)*? And in either case, how might we do that? I'll be delighted to spend time experimenting as you wish to direct, but haven't a clue on what to do. I read instructions really well, but I've read what I could find in the preceding thirty-three pages of this thread and elsewhere... Clearly we are not alone in not understanding all this. Thank you again. Kind regards, Andy +---+ |Filename: wavin_pa_clementine.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=19677| +---+ ---- alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
mgw wrote: > Option 1 doesn't work > Trying option but I don't have a .conf-file in > /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/WaveInput/ - do > I need to create one? I'm trying the same, with the same results: the WaveInput plugin appears in the right panel, click > it starts (shows ||) but then stops, with no sound. I've setup shortcuts with wavin:xxx where xxx= default 0 pulse audacity All behave similarly. There is no single .conf file, rather I have the following: 19665 Everything else in LMS works as expected, especially the BBC iPlayer plugin (thank you again...:-). There are two WaveInput versions in the LMS plugin section under settings, one in 3rd Party Plugins, the other in bpa Plugins. I've tried both, but it might help to have LMS only give one option. Thanks again for all the good work. Happy New Year! Cheers, Andy +---+ |Filename: wavin.jpg| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=19665| +---+ ---- alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
Whew. Thanks for all the work and help. It is now solved. Details at: http://genietvanhetleven.blogspot.com/2011/02/solving-alsa.html As you say, there are certainly mysteries to be resolved: At the top of the list are: * Why does it need Headphone when the feed is Digital? * Why is not simply muting Speaker enough, rather than requiring a headphone plug? * What does it take to actually mute the PC microphone, other than plugging it out? I suspect these all have to do with impedances and other mysteries. Tomorrow (or next week, or next month) is another day... For now, very pleased. The sound is beautiful... So very good work. Thanks again for the help. Kind regards, Andy -- alavarre1 alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
OK to summarize much experimentation: I think I'm using: STREAMTUNER2---ALSA---ARECORD---ALSAMIXER---KMIX---WAVEINPUT---SBS---SB + There is interaction between* Alsamixer* and* Kmix*. Apparently the latter is the overall control on the system. Thus there seems little purpose in using *Alsamixer *at all. The remainder of comments are from *KMix.* + *arecord* gives * andy@P1630:/Desktop arecord -D default -V stereo -f cd -t wav record.wav Recording WAVE 'record.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo +00%|00%+ overrun!!! (at least -210099545.841 ms long) +00%|00%+ overrun!!! (at least -210099545.845 ms long) +00%|00%+ overrun!!! (at least -210099545.846 ms long) record.wav* grows to 40+MB but has no sound. Experimenting with mixer settings: + The overall levels are controlled by *Master* and *PCM* (both set at 100%) + The stream to *WaveInput* is controlled with *Capture* and *Digital*. Setting *Digital* above 50% results in the hum. + There is a huge latency issue. It takes a stream over seven minutes to achieve 100% buffering. + Most critical: sound is getting to the *Capture* channel only as it is recorded from the PC Speakers by the PC microphone! If you mute the speakers the music stops but you still hear room noise (conversation, keyboard, barking dog, etc.! + Turning down *Front Mic Boost *and *Front Mic Boost (Capture) *has no effect on the microphone! So I need to figure out how to: 1. Reduce the buffering latency to something much more acceptable. 2. Get the audio stream directly to the *Capture *channel. Clicking record on *streamtuner2 *does not stick. The checkbox on *Capture *on KMix has been ticked. This presumably would be by invoking *arecord* but I haven't cracked that yet. Have a great weekend! Cheers, Andy -- alavarre1 alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
Again take one step at a time. :-) After checking privileges - you should now check what ALSA devices can be used to record PC audio with normal OpenSuse application. If necessary reconfigure ALSA to make sure there is a device and it has the correct volume. I can successfully record using *krecord*. It saves the audio to a buffer that I then save as *ALSA test.wav*. I then can play the file with *Kaffeine*. (If I try to play the buffer directly from *krecord* it complains *Error: can't open soundcard: Device or resource busy. But [B]Kaffeine* can play a wav file, even while *krecord* is open.) To record audio from PC speaker first start an application playing audio - I typically use an internet radio. Then start a Recorder application or Audacity and click record/monitor button to check the levels histogram which should move in accordance with the music you hear from PC speakers. The levels do indeed move. With *krecord* the levels move from the speaker even if the record function has not been started. Start with Capture enabled and the default device in the recorder. If the levels do not move then you have to 1. Stop recorder and check device being used to record then start recorder again 2. open alsamixer or amixer and adjust audio/gain levels for relevant devices to make sure they are at 100%. Check capture is enabled. 3. If recording meters do not move then stop recorder and change recording device and repeat steps 1-3 until you have tested all devices. If no device seems to record - you need to check your Alsa configuration. This is not a problem. We can record and have recorded to *ALSA test.wav*. I have recorded both microphone and internet radio. With the internet radio the music does get to the SB with about a second latency, but is still very distorted and overridden by the hum. Thanks again, Andy -- alavarre1 alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
Good morning, thank you again bpa;608157 Wrote: How do you run SBS * as part of startup using the standard start script ? or * from a shell prompt after you login ? or * another method - please describe ? I open a new tab on Mozilla Firefox, and enter the URL HTTP://192.168.5.7:9000/ where *192.168.5.7* is the static IP of my Linux OpenSuSE Fujitsu P1630 laptop. When SBS is running - what is the username associated with the SBS I use *andy*, not *root*. If this doesn't resolve I can try doing all the former as *root* to see if there is a difference. processes us the *ps* command. P1630:~ # PS PID TTY TIME CMD 3622 PTS/500:00:00 SU 3638 PTS/500:00:00 BASH 8994 PTS/500:00:00 DBUS-LAUNCH 11862 PTS/500:00:00 PS On Linux system if the path is defined normnally and you have not installed other special arecord then arecord in the conf file will run /usr/bin/arecord. Hmmm. checked *~/.bashrc* and */usr/bin* -is- in the PATH. HOWEVER[/B] THERE SEEMS NOT TO EXIST A *CONF* OR *...RC* FILE: *P1630:~ # LOCATE CONF |GREP ARECORD P1630:~ # LOCATE CONF |GREP APLAY P1630:~ # LOCATE RC |GREP APLAY P1630:~ # LOCATE RC |GREP ARECORD P1630:~ # LOCATE CONF |GREP ARECORD All return nothing. -There are no configuration files- for either [B]aplay* or *arecord*. Standard ALSA - arecord and aplay are the same program just they behave differently depending on the arecord/aplay name being used. To find what ALSA devices can be used with the wavin: - use the following command *arecord -L* This returns P1630:~ # ARECORD -L NULL DISCARD ALL SAMPLES (PLAYBACK) OR GENERATE ZERO SAMPLES (CAPTURE) DEFAULT:CARD=INTEL HDA INTEL, ALC269 ANALOG DEFAULT AUDIO DEVICE FRONT:CARD=INTEL,DEV=0 HDA INTEL, ALC269 ANALOG FRONT SPEAKERS SURROUND40:CARD=INTEL,DEV=0 HDA INTEL, ALC269 ANALOG 4.0 SURROUND OUTPUT TO FRONT AND REAR SPEAKERS SURROUND41:CARD=INTEL,DEV=0 HDA INTEL, ALC269 ANALOG 4.1 SURROUND OUTPUT TO FRONT, REAR AND SUBWOOFER SPEAKERS SURROUND50:CARD=INTEL,DEV=0 HDA INTEL, ALC269 ANALOG 5.0 SURROUND OUTPUT TO FRONT, CENTER AND REAR SPEAKERS SURROUND51:CARD=INTEL,DEV=0 HDA INTEL, ALC269 ANALOG 5.1 SURROUND OUTPUT TO FRONT, CENTER, REAR AND SUBWOOFER SPEAKERS SURROUND71:CARD=INTEL,DEV=0 HDA INTEL, ALC269 ANALOG 7.1 SURROUND OUTPUT TO FRONT, CENTER, SIDE, REAR AND WOOFER SPEAKERS How do I apply any of these to the *wavin:*URL? = So if it is seeing *arecord*, which it should be doing, is not a problem then the remaining problems are -defining a configuration file for *arecord*- and -finding the right device number- for the *wavin:*URL? Thanks again, Andy -- alavarre1 alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
bpa;608263 Wrote: One step at a time. :-) OK, OK... Using an URL in the browser is only opening a window to the SBS server - not starting SBS server. Ah! yes. It looks SBS is started as part of your startup procedure in which case the username it will use will be something like squeezeboxserver not andy. Ah, yes. It is a system user *squeezeboxserver (UID 108)* and has an associated system group of the same name. SBS cannot run as root so don't try it. Roger... Check with ps - use the argument to display the full information about a process so try *ps aux*. P1630:~ # PS AUX |GREP SQUEEZE ROOT 2468 0.0 0.0 1760 168 ?SS FEB03 0:00 STARTPAR -F -- SQUEEZEBOXSERVER 108 2506 0.6 5.4 75912 53476 ?SS FEB03 6:01 /USR/BIN/PERL -W /USR/LIBEXEC/SQUEEZEBOXSERVER --DAEMON --PREFSDIR=/VAR/LIB/SQUEEZEBOXSERVER/PREFS --LOGDIR=/VAR/LOG/SQUEEZEBOXSERVER --CACHEDIR=/VAR/LIB/SQUEEZEBOXSERVER/CACHE --CHARSET=UTF8 108 2571 0.0 0.8 108256 7896 ?SL FEB03 0:36 /USR/SBIN/MYSQLD --DEFAULTS-FILE=/VAR/LIB/SQUEEZEBOXSERVER/CACHE/MY.CNF ROOT 12193 0.0 0.0 2128 200 PTS/5R+ 11:21 0:00 GREP SQUEEZE Based on this I took a look at */var/log/squeezeboxserver/server.log*: The startup is: [11-02-03 19:29:01.8740] MAIN::INIT (323) STARTING SQUEEZEBOX SERVER (V7.5.3, R31792, MON JAN 24 08:18:00 MST 2011) PERL 5.012001 [11-02-03 19:29:04.0212] SLIM::UTILS::IPDETECT::_INIT (120) WARNING: COULDN'T CALL CONNECT() - FALLING BACK TO 127.0.0.1 But then there are a number of errors due to an inability to log in to mysqueezebox.com. This is odd, since I can log in directly on port 80; so it may be trying to use a port that isn't open on the firewall: UNABLE TO LOGIN TO MYSQUEEZEBOX.COM, SYNC IS DISABLED: COULDN'T RESOLVE IP ADDRESS FOR: WWW.MYSQUEEZEBOX.COM (HTTP://WWW.MYSQUEEZEBOX.COM) + This in turn prevents it from logging into the Squeeze Network (SN), which in turn prevents a number of caching actions: SLIM::FORMATS::XML::GOTERRORVIAHTTP (341) ERROR: GETTING HTTP://WWW.MYSQUEEZEBOX.COM/API/SOUNDS/V1/OPML SLIM::NETWORKING::SQUEEZENETWORK::_ERROR (471) UNABLE TO LOGIN TO SN SLIM::NETWORKING::SQUEEZENETWORK::_INIT_ERROR (198) UNABLE TO LOGIN TO MYSQUEEZEBOX.COM, SYNC IS DISABLED SLIM::NETWORKING::SQUEEZENETWORK::_INIT_ERROR (212) MYSQUEEZEBOX.COM SYNC INIT FAILED It also is trying to use port 9092, which is NOT open in the firewall: SLIM::SCHEMA::STORAGE::THROW_EXCEPTION (82) ERROR: DBI CONNECTION FAILED: DBI CONNECT('HOSTNAME=127.0.0.1;PORT=9092;DATABASE=SLIMSERVER','SLIMSERVER',...) FAILED: CAN'T CONNECT TO MYSQL SERVER ON '127.0.0.1' (111) AT /USR/SHARE/SQUEEZEBOXSERVER/CPAN/DBIX/CLASS/STORAGE/DBI.PM LINE 950 [11-02-03 13:58:15.6233] SLIM::SCHEMA::STORAGE::THROW_EXCEPTION (82) BACKTRACE: I've checked the firewall and both TCP and UDP are open for ports 3483 and 9000 and I reset the firewall every time I reboot... I can open port 9092 But first I shall await your next step... :-) Thanks again, Andy -- alavarre1 alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
bpa;608305 Wrote: Is this user a member of the Audio group ? otherwise it cannot access ALSA devices. :-) It -was not- but it *is now!* I check the mixer to ensure *Capture* is turned on: Here are the URL *wavin:*results when I: 1. Change the URL 2. Reload the SBS 3. Click [+] on the remote to clear the SB to *Nothing* 4. Click [**] in the left pane to send the signal to the SB 5. Click [**] in the right pane and play a tune that is heard on the PC speakers: *default* or *0*: + Messages appear: ..Now Playing (Buffering xx%) WaveInput ..xx = 56, 61, 71, etc. + Heavy 60 Hz hum, like you have on a regular audio system when a plug is not fully pushed in (an open lead); volume dips instantaneously every two seconds, no music + WI runs until I stop it. *Anything else* (blank, 1, hw:0,0, hw:0,1, mon_mix): + Messages appear: ..Now Playing (Connecting...) WaveInput ..Now Playing (Buffering xx%) WaveInput ..Problem: Can't open file for wavin:yyy So only wavin:0 and wavin:default work at all, but neither plays the signal. If I listen very carefully I hear something under the hum that sounds like a vocal song, while the one I test with is strictly instrumental. I have no other music playing anywhere (PC, radio, CD, nowhere) other than the test instrumental. I then check the mixer (*kmix*is the only mixer I have running) to make adjustments to get rid of the hum: Nothing seems to have any effect.Muting the *PC speakers* or deselecting *Capture* appears to kill the ghost signal I'm hearing with about a five second latency. But the hum remains. === Thanks again - progress! Cheers, Andy -- alavarre1 alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
Hi, thanks for the prompt reply. So is this it: ALSA - Player Speakers | |- Music Recorder Buffer File ...| ...|--- WaveInput or is it: ALSA - Player Speakers | |-- WaveInput I infer from the (46 pages of Windows and 10 pages of Linux) discussions that it is the former. In any case, you are just tapping in to an existing stream, not serving as an explicit destination device, right? === Assuming I have interpreted the first part correctly then the issue has to be one of selecting the correct URL. In either case, ALSA is working just fine for listening and recording *on the computer*. So I do not understand the need for *arecordrc* or the other *conf* file. I have tried using the URL *wavin: *followed by each the following: (NOTHING) DEFAULT 0 1 HW:0,0 HW:0,1 MON_MIX + Furthermore, I have done so both with and without a preceding // + Furthermore, I have done so both with and without a recorder (*krecord*) running. I have checked the levels when it is running, it is fine. + Furthermore, I have checked *kmix* and ensured that the *Capture* function is turned on and that the buffer is growing. I then take the following steps for each of these variants: 1. Write under *Favorites WaveInput* to change the URL 2. Click *Save* 3. Restart ther server with *[F5]* 4. Click the *[]* button in the left pane of the Server We always get: CONNECTING ... PROBLEM: CAN'T OPEN FILE FOR WAVIN:XXX [/B]WHERE XXX IS THE URL SUFFIX WE HAVE ENTERED AFTER WAVIN: SOMETIMES WE GET * NOW PLAYING (CONNECTING...) WAVEINPUT 5. Click [B]PLAY* on the Squeezebox remote control and check the screen to ensure it is reading the same URL. == Thanks again for the reply. Kind regards, Andy Lavarre -- alavarre1 alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
bpa;608031 Wrote: Correct - I don't agree with your diagrams possibly because of the terminology I would see it as Code: PC application--ALSA --arecord--SBS-- Player -- speakers. ! ! PC Speakers Thank you. Pictures are worth a thousand words! :-) *arecord* is called from the Waveinput plugin. I have */usr/bin/arecord* The message below are often because the arecord is failing either because the selected device is inaccessible, busy or calling process has not got permissions to access it. P1630:~ # LS -L /USR/BIN/ARECORD LRWXRWXRWX 1 ROOT ROOT 5 JAN 18 12:41 /USR/BIN/ARECORD - APLAY It appears that on OpenSuSE 11.3 *arecord* is merely a link to *aplay*. It is also *root* owned, but its permissions are *rwxrwxrwx (0777)*, so should be able to be read, written, or executed by anyone, including the user *andy* (me). Don't forget SBS normally runs as a separate user which is usually setup with no access to audio capabilities. This issue is absolved by the 0777 permission above. Additionally, *andy* is a member of the group *squeezeplayer*, so this should not be a problem. = Excellent!! Thank you again. We are making progress, at least in my comprehension! :-) So what appears to be *essential* is ***arecord***. From your diagram it appears that SBS (and WaveInput) look for *arecord*. I have */usr/bin/arecord* on my system. -But I do not have- *arecordrc* So do you know of any useful examples of *~/.arecordrc*? And most importantly, what is the URL I must use: *wavin:???* As mentioned before, I've googled, but only found generic forms, the actual details of the *.arecordrc* and *wavin:URL* values elude me... Thank you again, especially for the picture.. It is starting to make sense. Kind regards, Andy -- alavarre1 alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
Hello, has there been any recent progress on this? I have installed the 3rd Party Squeezebox WaveInput Plugin on OpenSuSE 11.3 (Linux). It can be successfully started. However, PC sound still comes to the PC speakers, not to the Plugin. The Squeezebox player sees the plugin on the Squeezebox Server. But the system (aplay, lspci, dmesg) does not see the plugin. Like this other user, I have tried a host of tricks to try to redirect the sound or get the device recognized without success... In particular, I need to know how to configure ~/.asoundrc or /etc/asound.conf Details below, thanks in advance. Kind regards, Andy Lavarre, Newport, RI USA - I do have ALSA installed and it works well both with alsamixergui and kmixer. But neither of these offer any options to redirect the output from the speakers to somewhere else. aplay -l gives a list of devices: P1630:~ # aplay -l List of PLAYBACK Hardware Devices card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 This does not include the WaveInput plugin, so even though the plugin is loaded and present and appears in Squeezebox Server, it seems not to be being recognized by ALSA or the system at large. lspci | grep -i audio returns P1630:~ # lspci | grep -i audio 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) again suggesting that the plugin is not being seen. dmesg returns P1630:~ # dmesg |grep HDA [9.654641] HDA Intel :00:1b.0: PCI INT A - GSI 22 (level, low) - IRQ 22 [9.654736] HDA Intel :00:1b.0: irq 29 for MSI/MSI-X [9.654782] HDA Intel :00:1b.0: setting latency timer to 64 [9.895464] input: HDA Digital PCBeep as /devices/pci:00/:00:1b.0/input/input11 Yet again, no recognition of the plugin. If I start a tune playing (through the speakers) and then start the SBS plugin the only change is that the Squeezebox itself shows the input as wavin:n where n is the device number I have entered in the Squeezebox Server settings. I have tried both n=0 and n=1 without success. I do not have either ~/.asoundrc or /etc/asound.conf. I need to know how to construct these: /usr/share/doc/packages/alsa/alsa-lib/asoundrc.txt offers a sample but none of the values are filled in. I don't understand the difference between the two and why you might have one or the other or both. Cheers, Andy -- alavarre1 alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins