Re: [SlimDevices: SqueezeCenter] WaveInput for Linux

2017-01-06 Thread bpa

abc2006 wrote: 
> I can't do anything with this request, because i don't know how i could
> test this.[

It's not clear what you are doing to play a stream.

I'm assuming you have credted a Favorite, something is playing and the
pulseaudio sytero mintor device is valid, and then you truied to play
the Favorite.

Favorite will nto play if
1. The URL is invalid
2. The device is invalid
3. The filetype wavin is not setup correct

The first two look OK - I don't know pulseaudio on Ubuntu 16.10 nor how
it is running (e.g. system daemon ) but you should check permissions of
user which runs LMS and whether that user can run Pulseaudio stuff.

Check WebUI Setting/Advanced filetypes - under wavin what settings are
valid.

If all above are OK - then nee to do logging.

1. In WebUI Setting/Advanced/logging - set player.source to DEWBUG and
click Apply.
2 Note time
3. Try playing the wavin Favorite
4. Assuming it doesn't work - wait 10 secs and note time.
5. From time noted in step 2 until time noted in step 4 copy all entries
in server.log file into a text file. zip the text file and attach to a
post.



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

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


Re: [SlimDevices: SqueezeCenter] WaveInput for Linux

2017-01-06 Thread abc2006

bpa wrote: 
> Sorry it is over a year since I wrote the ppst - the custom-convert.conf
> is correct.

great !


bpa wrote: 
> After you made the test recording  - did you listen to the file
> recording.flc and did it record OK ? 

No, i didnt. But i caught it up and is sounds great.

bpa wrote: 
> 
> For reference can you please give details of your system which is
> running Pulseaudio including version nos.


Ubuntu 16.10 as Guest in a Vmware-Player VM. 
RAM 4GB 
HDD 20 GB

Code:


  # aplay -l
   Liste der Hardware-Geräte (PLAYBACK) 
  Karte 0: AudioPCI [Ensoniq AudioPCI], Gerät 0: ES1371/1 [ES1371 DAC2/ADC]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
  Karte 0: AudioPCI [Ensoniq AudioPCI], Gerät 1: ES1371/2 [ES1371 DAC1]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
  

 

Code:

# pulseaudio --version
  pulseaudio 9.0





Host is also ubuntu 16.10. 
AMD Phenom(tm) II X4 955 Processor
RAM 16 GB
HDD 10 TB
SSD 500 GB


Code:

aplay -l
   Liste der Hardware-Geräte (PLAYBACK) 
  Karte 0: SB [HDA ATI SB], Gerät 0: ALC892 Analog [ALC892 Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
  Karte 0: SB [HDA ATI SB], Gerät 1: ALC892 Digital [ALC892 Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
  Karte 1: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
  Karte 1: NVidia [HDA NVidia], Gerät 7: HDMI 1 [HDMI 1]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
  Karte 1: NVidia [HDA NVidia], Gerät 8: HDMI 2 [HDMI 2]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
  Karte 1: NVidia [HDA NVidia], Gerät 9: HDMI 3 [HDMI 3]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
  



Network is Gigabit Ethernet, but as if LMS plays e.g. Spotify without
any issues (except the bad ui), I don't think there are issues about my
general Hardware setup. 
Sound to local speakers plays fine, even from Host as also from Guest. 
If you say, that's the problem, i hm. maybe have to find another PC for
testing.

I hope, i didn't forget something important!

Thanks for help! 
Stephan



abc2006's Profile: http://forums.slimdevices.com/member.php?userid=66447
View this thread: http://forums.slimdevices.com/showthread.php?t=104680

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


Re: [SlimDevices: SqueezeCenter] WaveInput for Linux

2017-01-06 Thread bpa

Sorry it is over a year since I wrote the ppst - the custom-convert.conf
is correct.

After you made the test recording  - did you listen to the file
recording.flc and did it record OK ?

edit:

For reference can you please give details of your system which is
running Pulseaudio including version nos.



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

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


Re: [SlimDevices: SqueezeCenter] WaveInput for Linux

2017-01-06 Thread abc2006

bpa wrote: 
> waveinput.conf

/confused: has it to be named "waveinput.conf" ? I just took the
existing file "custom-convert.conf", because the content was exactly the
same


bpa wrote: 
> 
> Don't forget you must restart LMS after each change to a conf file as
> otherwise new conf file is only read at LMS startup.


That's clear to my by now, thanks:)


+---+
|Filename: waveinput.zip|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=21817|
+---+


abc2006's Profile: http://forums.slimdevices.com/member.php?userid=66447
View this thread: http://forums.slimdevices.com/showthread.php?t=104680

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


Re: [SlimDevices: SqueezeCenter] WaveInput for Linux

2017-01-05 Thread bpa

abc2006 wrote: 
>  taken example from below. is this the fault? 

Zip and attach your waveinput.conf file to a post so it can be verified.

Don't forget you must restart LMS after each change to a conf file new
conf file is not read



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

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


Re: [SlimDevices: SqueezeCenter] WaveInput for Linux

2017-01-05 Thread abc2006

Hi, i tried to follow your instructions. But Playback doesn't start.
Arrow(play) ist not changing in Pause-Sign, time isn't counting up.

> pactl list short | grep RUNNING


0   alsa_output.pci-_02_02.0.analog-stereo  module-alsa-card.c  
s16le
2ch 44100Hz RUNNING
0   alsa_output.pci-_02_02.0.analog-stereo.monitor  
module-alsa-card.c  s16le
2ch 44100Hz RUNNING
2   rtp.monitor module-null-sink.c  s16be 2ch 44100Hz   RUNNING

> # parec -v -d alsa_output.pci-_02_02.0.analog-stereo.monitor
> --file-format=flac recording.flc

Öffnen eines aufnehmen-Streams mit Sample-Angabe 's16le 2ch
44100Hz' und Kanalzuordnung 'front-left,front-right'.
Verbindung hergestellt.
Stream wurde erfolgreich erstellt.
Pufferdaten: maxlength=4194304, fragsize=352800
Benutze Sample-Angabe 's16le 2ch 44100Hz', Kanalzuordnung
'front-left,front-right'.
Mit Gerät alsa_output.pci-_02_02.0.analog-stereo.monitor (index: 0,
ausgesetzt: no) verbunden.
^CSignal empfangen, beenden.3793 usec. 


> Then you can update the waveinput conf file to 


taken example from below. is this the fault? 


> and create a Favorite for the pulse audio monitor 


 Title: alsa
URL: wavin:alsa_output.pci-_02_02.0.analog-stereo.monitor 


> I iony tested this with VLC and Flac output format - but it worked OK on
> Ubuntu with 4 sec delay. 

I can't do anything with this request, because i don't know how i could
test this.

Could you maybe help me? 

Thanks, 
Stephan



abc2006's Profile: http://forums.slimdevices.com/member.php?userid=66447
View this thread: http://forums.slimdevices.com/showthread.php?t=104680

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


Re: [SlimDevices: SqueezeCenter] WaveInput for Linux

2015-12-29 Thread bpa

I think part of your problem is that you are playing application which
are using pulseaudio but trying to record them using alsa.

If the application you want to record is playing to an alsa output
device then waveinput should use the alsa device "pulse" and arecord in
the conf file
If the application you want to record is playing to a pulseaudio then
waveinput should use a pulse audio monitor device such as 
"alsa_output.pci-_00_1b.0.analog-stereo.monitor" and use parecord in
the conf file

>From your description I tiunk you are mainly using pulseaudio
appl;ication so first find the relevant monitor device.  When the
application is playing to a speaker try the following command

pactl list short | grep RUNNING

This will show the running devices and then look for the monitor device
applicable to your output device.

If the monitor device is
alsa_output.pci-_00_1b.0.analog-stereo.monitor

try the following command to check output is being recorded
parec -v -d alsa_output.pci-_00_1b.0.analog-stereo.monitor
--file-format=flac recording.flc

This will record the stream in Flac format into the file recording.flc

Then you can update the waveinput conf file to 

Code:


  #
  # wavin 
  #
  wavin pcm * * 
# R
[parec] --channels=2 --format=s16le --rate=44100 --file-format=raw -D 
$FILE$ 
  wavin mp3 * *
# RB:{BITRATE=-B %B}
[parec] --file-format=wav -d $FILE$  | [lame] --silent -q $QUALITY$ -v 
$BITRATE$ - -
  wavin flc * * 
# R
[parec] --file-format=flac -d $FILE$ 
  



and create a Favorite for the pulse audio monitor 
wavin:alsa_output.pci-_00_1b.0.analog-stereo.monitor

I iony tested this with VLC and Flac output format - but it worked OK on
Ubuntu with 4 sec delay.



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

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


Re: [SlimDevices: SqueezeCenter] WaveInput for Linux

2015-12-27 Thread alavarre1

BPA hi, have you had a chance to think about this? I know it is a busy
time. Kind regards, Andy



alavarre1's Profile: http://forums.slimdevices.com/member.php?userid=40597
View this thread: http://forums.slimdevices.com/showthread.php?t=104680

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