bpa wrote:
> Looking at log
> >
Code:
> >
> 22-12-08 17:47:58.5553] Slim::Player::TranscodingHelper::getConvertCommand2
(493) Matched: wavin->pcm via: [arecord] -d0 -c2 -f S16_LE -r 44100 -traw -D
$FILE$
> [22-12-08 17:47:58.5560] Slim::Player::Song::open (424)
Looking at log
Code:
22-12-08 17:47:58.5553] Slim::Player::TranscodingHelper::getConvertCommand2
(493) Matched: wavin->pcm via: [arecord] -d0 -c2 -f S16_LE -r 44100 -traw -D
$FILE$
[22-12-08 17:47:58.5560] Slim::Player::Song::open (424) Transcoder:
bpa wrote:
> I'll look into later. LMS looks at all rules simultaneously to find
> which ones will work and then selects best one. So failed rules will
> show errors (e.g. no lame, not T capability) so they will never be a
> candidate for use.
>
> What are the Filetypes settings for Wavin ?
>
xtreame wrote:
> Thanks for your answer. I reinstalled everything and it's behaving
> different now. I turned DEBUG on
>
> attached log file
>
> it's now telling "rejecting [arecord] ... because required capability T
> not supported" and "Error: Didn't find any command matches for type:
>
bpa wrote:
> That error is usually associated with a bad/failed install.
> 1. Check the plugin is installed OK in Settings/Plugins
> 2. Check there is a WaveInput entry in Settings/Advanced/Filetypes.
Thanks for your answer. I reinstalled everything and it's behaving
different now. I turned
xtreame wrote:
> Hi bpa,
>
> first of all thanks for this LMS plugin!
>
> I have an LMS (v8.2.0) running on latest Raspberry Pi OS (without gui)
> Installation went well but when pressing play on WebInterface player it
> will not start streaming and in logfile i get this error:
>
> >
Code:
Hi bpa,
first of all thanks for this LMS plugin!
I have an LMS running on latest Raspberry Pi OS (without gui)
Installation went well but when pressing play on WebInterface player it
will not start streaming and in logfile i get this error:
Code:
[22-12-08
Hey D6JG :D
many thanks for Your Information about how to set up an audio-Streaming
server under Linux.
This helps a lot and seems to be very easy!
Really great! :D:D
Squeeza's Profile:
Squeeza wrote:
> Hello :D
>
> I can only play to one destination. If I try to play the
> WaveInput-Favourite at a second radio player, this second radio sais
> "Can not play file."
> If I then turn the first device off, then the second one can play the
> Stream.
>
> If I synchronize the two
bpa wrote:
>
> Why do want to play the same input on two different radio at the same
> time and not have them synced ?
>
Because so every Player can decide what to hear.
Many thanks! I have to read manuals about dsnoop!
Squeeza wrote:
> Hello :D
>
> I can only play to one destination. If I try to play the
> WaveInput-Favourite at a second radio player, this second radio sais
> "Can not play file."
> If I then turn the first device off, then the second one can play the
> Stream.
>
> If I synchronize the two
Hello :D
I can only play to one destination. If I try to play the
WaveInput-Favourite at a second radio, this second radio sais "Can not
play file."
If I then turn the first device off, then the second one can play the
Stream.
If I synchronize the two radios, they are both able to play the
Hypfer wrote:
> Hello,
>
> I'm currently trying to get the WaveInput plugin to work in my setup.
>
> I can confirm that arecord is able to record proper audio from the
> device, however unfortunately, I am getting the "Problem: Can't open
> File For" error message on the Squeezebox screen.
>
Hello,
I'm currently trying to get the WaveInput plugin to work in my setup.
I can confirm that arecord is able to record proper audio from the
device, however unfortunately, I am getting the "Problem: Can't open
File For" error message on the Squeezebox screen.
I've set player.source to
Old example of streaming http/MP3 from a CD player in a PC. The source
device can vary according to the source, CD player, DVB-S card, USB
etc.
Code:
vlc cdda:///dev/hda --sout
"#transcode{acodec=mpga,ab=128}:standard{access=http,mux=raw,url=:8080/vlcstream.mp3}"
bpa wrote:
> I am clearly missing some info but can't see where it was supplied.
>
Ici
https://forums.slimdevices.com/showthread.php?114148-Envoyer-l-audio-par-Ethernet
Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla
Paul Webster wrote:
> I think the answer might be to run pulseaudio as a daemon on the system
> that you want to capture the sounds from.
> Then have pulseaudio client running on the machine where LMS is so that
> it can receive the sound and then give it to the plugin.
I am clearly missing
Paul Webster wrote:
> Ah ... for the plugin to work I think it has to be on the same system as
> LMS.
>
> However, I expect there is a way to achieve the same outcome.
>
> bpa might have a quick answer while I go away to think again.
I think the answer might be to run pulseaudio as a daemon
Bristow wrote:
> If I run arecord -l on the nas, I get this:
That seems to say there is no audio input support on your NAS.
What model Synology NAS have you got ? It is unusual to have audio
input on a NAS ?
bpa's
Ah ... for the plugin to work I think it has to be on the same system as
LMS.
However, I expect there is a way to achieve the same outcome.
bpa might have a quick answer while I go away to think again.
Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio
Thank you for this answer.
I may have made a mistake.
My LMS is on my Synology NAS and I ran `arecord -l` on my Ubuntu 20.04
workstation (squeezelite) and I want to send the sound to my Squeezebox
Boom.
If I run arecord -l on the nas, I get this:
Code:
root@Nas:~#
Bristow wrote:
> Yes i have FLAC, MP3 and PCM but this is disabled and i can't change it
Cant change because there is no executables that LMS can use.
The entries should be
Flac - arecord/flac
MP3 - arecord/lame Thius will be disabled if you do not have "lame"
installed
PCM - arecord
bpa wrote:
> Is the plugin successfully installed ?
> What version of the plugin is installed according to the WebUI
> Settings/Plugins page ?
I have 1.04
bpa wrote:
>
> Do you have a File Format called WaveInput under WebUI
> Settings/Advanced/Filetypes and if so - what are the settings
Bristow wrote:
> What more can I do? Thank you for everything!
Is the plugin successfully installed ?
What version of the plugin is installed according to the WebUI
Settings/Plugins page ?
Do you have a File Format called WaveInput under WebUI
Settings/Advanced/Filetypes and if so - what are
Hi,
In order to remove the use of line-in on my squeezebox boom, I undertook
to install squeezelite with the wavinput plugin on my Ubuntu 20.04
workstation (i'm sorry but I haven't read all 53 pages of the forum).
The plugin is installed and activated, I restarted my 8.0.0 server.
I have
yas1 wrote:
> But I don't see any maxVersion defined in the install.xml, only a
> minVersion, what am I missing here?
>
> Squeezecenter
> 7.3
> *
>
IIRC The maxVersion used to be set to 7.* - I changed it to * which
means no limit - if set to 8.* then when 9.0 came along same problem
would
bpa wrote:
> The WaveInput was only valid for 7.9.* before 8.0 was released. When
> 8.0 was released for a few months and I had time to check out the plugin
> with 8.0 - I then updated WaveInput plugin so that it would compatible
> with 8.*
>
> I think you are saying you had WaveInput
yas1 wrote:
> Well I updated from 7.9.3~1591161343 to 8.1.0 and WavInput remained in
> the active plugins list but with *no tick* in the box and its
> description was 'Plugin is incompatible with this version of Logitech
> Media Server. Please update.'
The WaveInput was only valid for 7.9.*
bpa wrote:
>
> IIRC Those messages do not appear unless log level plugin.extensions has
> been changed from ERROR and set to be retained after LMS restarts - so
> that sounds like it is historical - a change made a good time ago.
>
No I had turned on debug for the plugin.extensions and
yas1 wrote:
> Thankas for the quick response!
>
> Sorry, a bit new to this:
> [21-01-08 19:01:03.5362] Slim::Plugin::Extensions::Plugin::_parseXML
> (530) entry WaveInput vers: 1.04 url: http
> ://downloads.sourceforge.net/project/bpaplugins/OtherPlugins/WaveInputLinux-v104_7.6.ZIP
- the
bpa wrote:
> I installed it OK on a Ubuntu system running 8.1.1. There is nothing in
> the plugin or repository that stops installation in 8.1
>
> As Windows requires a support executable, there are two versions of
> WaveInput in the repository: one for Windows and one For Linux. So if
>
yas1 wrote:
> Hi,
> after an update to LMS v8.1.0 I also get this error (debug on):
>
> [21-01-08 18:37:40.7441] Slim::Utils::PluginManager::load (237) Couldn't
> load WaveInput. Error: Plugin is incompatible with this version of
> Logitech Media Server. Please update.
> [21-01-08
I should also say that these other plugins also error but I didn't have
any active before the update:
[21-01-08 18:44:27.0077] Slim::Plugin::Extensions::Plugin::_parseXML
(511) entry MHCPAN does not match, wrong target [unix != win]
[21-01-08 18:44:27.0716]
Hi,
after an update to LMS v8.1.0 I also get this error (debug on):
[21-01-08 18:37:40.7441] Slim::Utils::PluginManager::load (237) Couldn't
load WaveInput. Error: Plugin is incompatible with this version of
Logitech Media Server. Please update.
[21-01-08 18:37:42.1693]
pimco wrote:
> I am running pulseaudio and got it finally working. It is really great.
> Even the pulseaudio equalizer (qpaeq) works fine !
> Last question: is it possible to reduce the buffering delay ? I have
> about 5 seconds (even without EQ) and it is for youtube videos annoying.
> Many
bpa wrote:
> WaveInput is geared to use ALSA audio. If you are using Pulseaudio you
> will have problems especially if LMS is being run as a service.
>
> WAV type was in an older version of LMS. WAV was correctly replaced by
> PCM.
>
> If you do not get any sound - then the problem is
Good to know. I'll set it back to default. Thanks again - it's a thing
of beauty for me now that it's working.
Spiel1's Profile: http://forums.slimdevices.com/member.php?userid=71168
View this thread:
Spiel1 wrote:
> After playing/recording for a while, stopped the plugin, transferred the
> file over to my Win-10 box, and played it without issues. So I 'm good
> to go.
>
> Many thanks for all the help and the patience in straightening this out
> for me - I learned a fair amount in going
Got this to work with tee - finally comprehended what you were saying. I
did the following:
1. Disabled PCM under Settings/Advanced/Filetypes for WaveInput.
2. Appended | tee /tmp/wavinputrecord.flc to the wavin flc command
line.
3. Rebooted LMS and pCP. Verified player operations.
4. Started
Spiel1 wrote:
> I've played around with the file such as changing [arecord] to [aplay]
> and parameter changes, and that causes the plugin to error out, so I'm
> thinking I'm messing with the right .conf file. Doing arecord/aplay from
> the command line and killing with a ^C does not seem to
Here's what the .conf file looks like after my edit:
Code:
#
# wavin
#
wavin pcm * *
# R
[arecord] -d0 -c2 -f S16_LE -r 44100 -traw -D $FILE$ - | tee
/mnt/HP/Recordings/1.wav
wavin mp3 * *
# RB:{BITRATE=-B %B}
[arecord] -d0
Spiel1 wrote:
> Edited the custom-convert.conf file, and added | tee
> /mnt/HP/Recordings/1.wav. Did this under the wavin pcm * * as I don't
> know how to make the input flac (is that detected from the
> extension(?)). After rebooting, resetting the mounts, and making sure
> the directories
Edited the custom-convert.conf file, and added | tee
/mnt/HP/Recordings/1.wav. Did this under the wavin pcm * * as I don't
know how to make the input flac (is that detected from the
extension(?)). After rebooting, resetting the mounts, and making sure
the directories were in place, I lit off the
Spiel1 wrote:
>
> Sorry for the longwinded explanation - I thought this was something that
> others were possibly already doing, and that I was just overlooking
> something. I used to have LMS on a Win-2012 server, but it fried a few
> months ago along with my squeezebox player, and that's
bpa wrote:
> I suspect WaveInput is not the right way to do it. WaveInput has many
> restrictions. For example, depending on how you stop playing - you may
> lose the end of the file.
>
> I don't understand why you would do this and you say you don't know
> linux, can you explain a bit more
pimco wrote:
> I got finally the plugin running, if I press play the time is running.
> But I do not get any sound. I have read somewhere (there are really tons
> of information here!) that a proper installation should provide WAV as
> file type associated with WaveInput. It is not the case on
I got finally the plugin running, if I press play the time is running.
But I do not get any sound. I have read somewhere (there are really tons
of information here!) that a proper installation should provide WAV as
file type associated with WaveInput. It is not the case on my
installation:
32791
Spiel1 wrote:
> I'm trying to both record to a file, and at the same time either play
> that file using the WaveInput plugin, or to pipe (or loop) the audio
> input to the plugin to allow for playing in different rooms.
I suspect WaveInput is not the right way to do it. WaveInput has many
I'm trying to both record to a file, and at the same time either play
that file using the WaveInput plugin, or to pipe (or loop) the audio
input to the plugin to allow for playing in different rooms.
My use case is as follows:
I have a couple of Raspberry Pi's running pCP, one has LMS and a
pimco wrote:
> Thanks for the info with the debugging info:
> Here the logging related to WaveInput
> [21-01-01 22:53:41.1655] Slim::Plugin::Extensions::Plugin::_parseXML
> (511) entry WaveInput does not match, wrong target [unix != win]
> [21-01-01 22:53:41.1657]
Oh sorry, I found the plugin now under
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins
I was not aware of the different location of 3rd party plugins.
Thanks again.
pimco's Profile:
In LMS logging WebUI Settings/Advanced/Logging
Check the box "Save logging settings for use at next application restart
"
Set plugin.extension to DEBUG
Click Apply.
Restart LMS.
Copy all the message from server.log from the LMS startup into a text
file and zip and attach to a post
starting
I've checked the LMS respository and WaveInput plugin and both are
classified with support for 8.*
It can be seen in the LMS extensions list at
https://github.com/LMS-Community/lms-plugin-repository/raw/master/extensions.xml
Something must be odd - either with your installation or with LMS.
pimco wrote:
> I installed the deb file from www.mysqueezebox.com/download on a x64
> computer, no additional repositories.
> After having selected "Use unsupported extensions", restarted LMS,
> unselected "Use unsupported extensions" and restarted again, the plugin
> is now displayed as active
bpa wrote:
> I have Ubuntu 20.04 and Waveinput shows up in the Plugins tab under "3rd
> Party plugins" with no problem and installs OK with no additional
> repositories.
>
> How did you try to install it ?
> Have you any additional repositories added ?
>
> What processor Arm , x86 , other ?
pimco wrote:
> First thanks for the LMS continuous support. Thanks your great job I can
> still enjoy music with a more than 10 years old squeezebox v3. Simply
> great!
> I have installed yesterday LMS 8.1.0 on Ubuntu 20.04 and have the same
> problem as described by adamslim earlier in this
bpa wrote:
> WaveInput plugin can now be installed in LMS 8.*
First thanks for the LMS continuous support. Thanks your great job I can
still enjoy music with a more than 10 years old squeezebox v3. Simply
great!
I have installed yesterday LMS 8.1.0 on Ubuntu 20.04 and have the same
problem as
adamslim wrote:
> This is not working, and appears to give a 404 error. Any chance of a
> fix pretty please? :)
WaveInput is back on 3rd party plugins list thanks to Michael very
kindly interrupting his vacation to fix the issue.
adamslim wrote:
> This is not working, and appears to give a 404 error. Any chance of a
> fix pretty please? :)
There has been no need to add a repository for this plugin for a long
time - the plugin is usually in the 3rd party plugins list - however it
looks like there is a problem and all my
bpa wrote:
> For SC 7.3 and later - use the Extension Downloader Plugins. Add the
> following URL to the repostory list in teh Extension Downloader
> settings
> http://bpaplugins.googlecode.com/svn/trunk/repo.xml
>
This is not working, and appears to give a 404 error. Any chance of a
fix
bpa wrote:
> WaveInput plugin can now be installed in LMS 8.*
Many thanks!
LMS 8 nightly; 3 Squeezelite instances connected by powerline ethernet;
5 players connected via Airplay Bridge; 1 SqueezeAmp player
no high-end or esoteric audio gear
1 Squeezebox Radio (upgraded UE Smart Radio) now
WaveInput plugin can now be installed in LMS 8.*
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=49584
You are, as ever, a total star. Your plugins are so useful, thanks so
much :)
PC, JRiver/Qobuz, Digital XO, Asus Xonar u7, Restek Sextet, JBL L300
LMS: 3xBoom, 1xRadio, SB3
adamslim's Profile:
adamslim wrote:
> Hmm it appears to have been uninstalled automatically (the folder is
> gone), and now it doesn't show up on the available plugins as it's not
> compatible. Sigh...
I have a batch of plugins to update - I hope to get around to it in a
day or so.
Hmm it appears to have been uninstalled automatically (the folder is
gone), and now it doesn't show up on the available plugins as it's not
compatible. Sigh...
PC, JRiver/Qobuz, Digital XO, Asus Xonar u7, Restek Sextet, JBL L300
LMS: 3xBoom, 1xRadio, SB3
adamslim wrote:
> Upgrading to LMS v8 this flags as incompatible - presumably this is a
> simple fix? Can I do it, or do I need a new version of the plugin?
Look in plugin install.xml - change the maxversion from 7.* to * then
restart LMS
Upgrading to LMS v8 this flags as incompatible - presumably this is a
simple fix? Can I do it, or do I need a new version of the plugin?
PC, JRiver/Qobuz, Digital XO, Asus Xonar u7, Restek Sextet, JBL L300
LMS: 3xBoom, 1xRadio, SB3
I just got this working nicely on my Raspberry Pi 4. It means I can cast
to a Chromecast Audio, which is plugged into the Pi server, and it can
appear by magic on any Squeezebox. Cool!
To help others that may be as clueless as I was about this kind of
thing:
1 - get a compatible USB sound
keynet wrote:
> Thanks for your feedback - to close:
> The USB MP3+ is specified for 32k, 44.1 k and 48k sample rates - there
> appears to be a driver or performance issue at 44.1k - it works without
> dropouts at 48k
All waveinput does is facilitate an Alsa source to be captured. arecord
keynet wrote:
> I'm testing wavinput on my PiCoreplayer setup, here's a couple of things
> I did to make it work + a question
>
> It worked pretty much first time, once I installed and configured the
> local LMS on the PiCoreplayer + wavinput plugin as wavin:default.
> I'm using an ancient USB
I'm testing wavinput on my PiCoreplayer setup, here's a couple of things
I did to make it work + a question
It worked pretty much first time, once I installed and configured the
local LMS on the PiCoreplayer + wavinput plugin as wavin:default.
I'm using an ancient USB Soundblaster MP3+ which
dunk wrote:
> i found i could get usb input working easily and reliably with 1 card
> and wavin, but whenever i add a second usb audio card then neither of
> the usb cards will work using wavin reliably.Sometimes i can see the
> input bars moving on the audio mixer, but never hear the audio
>
>
i found i could get usb input working easily and reliably with 1 card
and wavin, but whenever i add a second usb audio card then neither of
the usb cards will work using wavin reliably.Sometimes i can see the
input bars moving on the audio mixer, but never hear the audio
pulling one of the usb
phin586 wrote:
> As i am finding now! :)
>
> Trying to get a usb audio device to even play. It looks like it is
> playing via aplay, but no sound is coming out. verified mute in
> alsamixer. off to tinker..
aplay is used to play music to a device such as a speaker - arecord is
to capture
bpa wrote:
>
>
> The difficult part of the plugin is getting the "right" device and the
> "right" playing executable as it may be different dependin on the audio
> subsystem.
> You must spend time getting the right command and device to capture your
> audio input and save into a WAV format on
phin586 wrote:
> Does this plugin support multiple inputs?
>
> I would like to have 2 sources of input, chromecast audio and line out
> from my basement audio setup that has a few analog sources hooked up to
> it.
>
> I could hook the chromecast up to that, but i do not always wish to have
Does this plugin support multiple inputs?
I would like to have 2 sources of input, chromecast audio and line out
from my basement audio setup that has a few analog sources hooked up to
it.
I could hook the chromecast up to that, but i do not always wish to have
that running.
epoch1970 wrote:
> Overall the nc test works well for audio (there is no noticeable lag
> when using controls on the device), but for lip-sync, no cigar: the
> audio is noticeably late. I tested over an above-average network, with
> all processes at RT_RR max priority...
> So local mode is fine,
bpa wrote:
> ...
> If this work OK then to use with waveinput I thikn you'd create a
> custom-convert.conf entry for "wavin flac" something like (not tested)
> >
Code:
> >
> wavin flc * *
> # R
> [nc] -l $FILE$
>
> >
> and the
An example to test latency using netcat - which is simply piping a Flac
stream across a TCP connection. Anything else such as Pulseaudio will
build on this basic connection.
1. The receiver system - set up first
This will steup Netcat to wait for a connection on port 2999 , when
connection is
No they don't. I have managed to avoid pulseaudio until now.
3 SB 3 Libratone Loop, Zipp Mini iPeng (iPhone + iPad) LMS 7.9
(linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by bpa
IRBlaster by Gwendesign (Felix) Server Power Control by Gordon
Harris Smart Mix, Music
epoch1970 wrote:
> Yes, all machines would be pi3/linux, and all players would be identical
> in both software and hardware.
Do they have pulseuadio and if os what version of Pulseaudio ?
bpa's Profile:
bpa wrote:
> Are both the players linux/windows based ?
Yes, all machines would be pi3/linux, and all players would be identical
in both software and hardware.
3 SB 3 Libratone Loop, Zipp Mini iPeng (iPhone + iPad) LMS 7.9
(linux) with plugins: CD Player, WaveInput, Triode's BBC
epoch1970 wrote:
>
> - 2 players, each with analog line-in. 1st one with a tablet attached,
> 2nd one with a CD player attached.
Are both the players linux/windows based ?
bpa's Profile:
bpa wrote:
> I don't really understand what you are trying to do - it looks too
> complicated and should be simplified.
With this...
- An LMs instance,
- 2 players, each with analog line-in. 1st one with at tablet attached,
2nd one with a CD player attached.
- players are synched.
...I wonder if
epoch1970 wrote:
> I'm thinking of a player that allows playing from digital stream and
> from analog in. I thought of a simple physical input switch, but then I
> thought of the CDplayer plugin, that transcends normal CD playing by
> making it multi-room.
> All right then, let's make the switch
I'm thinking of a player that allows playing from digital stream and
from analog in. I thought of a simple physical input switch, but then I
thought of the CDplayer plugin, that transcends normal CD playing by
making it multi-room.
All right then, let's make the switch in Alsa somehow.
I'm
I am getting close to having a fully working Pi3, Liquidsoap & Icecast
server that will stream vinyl as FLAC to LMS while simultaneously
recording the audio as WAV (my build is with a Behringer UCA202 off the
tape loop on my amp but a UFO202 would also work).
I now have silence detection that
Paul Webster wrote:
> Thinking aloud (having connected turntable to RPi via Behringer UFO202
> and WaveInput plugin) ... would it be feasible to have WaveInput (or
> maybe LMS) have an option to save the captured content so that headless
> rips can be done?
> The save location could be specified
Thinking aloud (having connected turntable to RPi via Behringer UFO202
and WaveInput plugin) ... would it be feasible to have WaveInput (or
maybe LMS) have an option to save the captured content so that headless
rips can be done?
The save location could be specified as a folder somewhere with the
After quite some time spending with try and error I have been successful
in installing the Waveinput under a Raspberry Max2Play setup, which uses
Pulseaudio and a cirrus logic soundboard.
Since Max2Play switches to Pulseaudio, when you install their bluetooth
plugin, the default Alsa approach
Doesnt work. After modifying phono.liq, stream generation wont work at
all. Well need sb with more Liquidsoap expertise perhaps...
PCP (always latest version) on RasPi 3 with PhatDac (player & server)
PCP on several RasPis 2 +3
2 Airplay speakers (Sony SA-NS510) integrated via Airplay
I'm testing remotely (via VPN) at the moment. The fact is that I can't
connect to the Pi any longer.. But I'm not sure whether I actually
managed to get it running or simply sent the Raspebery Pi into an
eternal reboot loop, as there is no streaming (I had substituted
shutdown by shutdown -r in
streampunk wrote:
> Very interesting, didn't know that.
> I imagine it's not that easy as putting
> >
Code:
> > def handler()
> system("/path/to/your/shutdown-script")
> end
> source = on_blank(handler,source)
>
> >
> into the Liquidsoap
Very interesting, didn't know that.
I imagine it's not that easy as putting
Code:
def handler()
system("/path/to/your/shutdown-script")
end
source = on_blank(handler,source)
into the Liquidsoap recipe (*.liq file)
Code:
streampunk wrote:
> I was trying to do it the way that is described in
> http://thomer.com/howtos/detect_sound.html, which basically creates
> short samples of what is played through the sound card, analyses their
> voulme with sox and make the Raspi do sth. (e.g. shutdown) when the
> volume
I was trying to do it the way that is described in
http://thomer.com/howtos/detect_sound.html, which basically creates
short samples of what is played through the sound card, analyses their
voulme with sox and make the Raspi do sth. (e.g. shutdown) when the
volume level drops below certain value.
I have come to this thread a bit late but I have a similar requirement.
For some time I have had a working Pi 3 that uses a USB sound card and
Liquidsoap/Icecast2 to generate a FLAC stream for LMS.
(Sorry I would have pointed you there earlier if Id seen this)
I use it to stream from Vinyl
Depennding on your system hw:0,0 can be a mix of line-in, mic and
capture devices.
Use alsamixer with "Capture" to show the current levels of the "Mix" -
you want Capture devices to be at max and all other to be zero.
I've deactivated LiquidSoap and Icecast now. When I start the playback
of a sound file with
Code:
aplay -vv -D hw:0,0 test.wav
, it play all right (at least the "VU meter shown with -vv is alive)
However, when I try to record with
Code:
1 - 100 of 553 matches
Mail list logo