Re: [SlimDevices: Unix] piCorePlay IQaudioIO DAC+ AMP+ no sound

2018-05-02 Thread geiserc

I disabled the onboard sound card in Soundcard Configuration. No luck. I
also double checked in config.txt and it does show up correctly there.



geiserc's Profile: http://forums.slimdevices.com/member.php?userid=68094
View this thread: http://forums.slimdevices.com/showthread.php?t=109009

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10

2018-05-02 Thread Greg Erskine

hi pettefar,

I have added the "mode" option to pCP CLI so it will be in the next
version of piCorePlayer.

In the mean time, I suggest you use Paul's suggestion.

paul- wrote: 
> mode is not integrated into the pcp command line.  But you can make a
> quick script that does
> 
> #!/bin/sh
> . /home/tc/www/cgi-bin/pcp-functions
> . /home/tc/www/cgi-bin/pcp-lms-functions
> pcp_lms_mode

regards
Greg



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=106755

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


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2018-05-02 Thread foxsam

atrocity wrote: 
> I wonder what would happen if you explicitly listed acceptable sample
> rates in Squeezelite's parameters, which I assume would force the server
> to do sample rate conversion on the fly. I ran into trouble a couple
> months ago with an MP3 encoded at 32kHz. It was a weird one-off, so once
> I realized why I wasn't getting any sound I just moved on.
like in 
Code:

squeezelite -R ?

 or like 
Code:

squeezelite -r <44.1?>
  




foxsam's Profile: http://forums.slimdevices.com/member.php?userid=62520
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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


Re: [SlimDevices: Unix] piCorePlay IQaudioIO DAC+ AMP+ no sound

2018-05-02 Thread paul-

Goto the Soundcard Configurationbutton is right by the dropdown
list.

You can select the auto mute option there.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://sites.google.com/site/picoreplayer/home

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=109009

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


Re: [SlimDevices: Unix] LMS Stops after a couple of seconds of playback, restarts the server, then plays fine

2018-05-02 Thread Paul Webster

A lot of time but not much logging between these two points


Code:


  [18-05-01 11:23:45.8489] Slim::Utils::Misc::msg (1252) Warning: 
[11:23:45.8487] DBIx::Class::ResultSet::update_or_create(): Query returned more 
than one row. SQL that returns multiple rows is DEPRECATED for ->find and 
->single at /usr/share/perl5/Slim/Schema.pm line 1877
  
  
  2018-05-01 11:37:09 Logitech Media Server died. Restarting.
  



To diagnose further probably need to increase the logging level via
Settings/Advanced/Logging and pick a few to set at a more detailed
level.
Perhaps the database.* and "server" set to Info.



Paul Webster
http://dabdig.blogspot.com
Author Radio France (FIP etc) plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=109007

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 3.10

2018-05-02 Thread pettefar

echo " - pcp mode   : Get current mode (play or stop)"
...

mode)   

pcp_lms_request "mode ?"   
;;


Nick

Greg Erskine wrote: 
> hi Nick,
> 
> The pCP CLI only has a few basic commands mainly for the pCP developers
> use. We also sometimes add commands as requested, usually for people
> that are writing automation scripts. :)
> 
> https://www.picoreplayer.org/pcp_cli.shtml
> 
> regards
> Greg



--
Hobby Electronicist
Unix Fiddler
Biker

pettefar's Profile: http://forums.slimdevices.com/member.php?userid=4500
View this thread: http://forums.slimdevices.com/showthread.php?t=106755

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


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2018-05-02 Thread atrocity

foxsam wrote: 
> I have alot of other mp3 files and they all play. There is something
> strange/different about those files I just don't know what. All the
> files I was having trouble with were very lo bitrate (that was not the
> problem - I have other very low br too that works) so I just ran > 
Code:

  >   > for file in *.mp3 ;do lame --resample 44.1 $file ./decoded/$file ; done

> >  and it seems to be working now. I just don't know what was wrong and
> would like to know.
> BTW on linux mint just playing the files as-is worked (not with
> squeezeplay).

I wonder what would happen if you explicitly listed acceptable sample
rates in Squeezelite's parameters, which I assume would force the server
to do sample rate conversion on the fly. I ran into trouble a couple
months ago with an MP3 encoded at 32kHz. It was a weird one-off, so once
I realized why I wasn't getting any sound I just moved on.



atrocity's Profile: http://forums.slimdevices.com/member.php?userid=16009
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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


Re: [SlimDevices: Unix] piCorePlay IQaudioIO DAC+ AMP+ no sound

2018-05-02 Thread geiserc

@Greg - 'Output setting' is hw:CARD=IQaudIODAC

@kmccourt - I'll give this a try tonight - thanks for the tip!



geiserc's Profile: http://forums.slimdevices.com/member.php?userid=68094
View this thread: http://forums.slimdevices.com/showthread.php?t=109009

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


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2018-05-02 Thread foxsam

I have alot of other mp3 files and they all play. There is something
strange/different about those files I just don't know what. All the
files I was having trouble with were very lo bitrate (that was not the
problem - I have other very low br too that works) so I just ran 
Code:

for file in *.mp3 ;do lame --resample 44.1 $file ./decoded/$file ; done

 and it seems to be working now. I just don't know what was wrong and
would like to know.
BTW on linux mint just playing the files as-is worked (not with
squeezeplay).



foxsam's Profile: http://forums.slimdevices.com/member.php?userid=62520
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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


Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2018-05-02 Thread ralphy

foxsam wrote: 
> 
> 
> What can I do to fix this so these mp3 files play?

The unable to get period size error is usually caused by pulseaudio or
permissions.  Confirm your user is in the audio group?


Code:

$id -a
  
  uid=1000(ralphy) gid=1000(ralphy) 
groups=1000(ralphy),10(wheel),63(*audio*),100(users)
  



Run squeezelite -l to get a list of output devices available, then add
-o to the squeezelite command line for the sysdefault device, changing
sysdefault to hw.

For example


Code:

$ squeezelite -l
  
  Output devices:
  null   - Discard all samples (playback) or generate 
zero samples (capture)
  pulse  - PulseAudio Sound Server
  default- Default ALSA Output (currently PulseAudio 
Sound Server)
  *sysdefault*:CARD=Intel  - HDA Intel, STAC9228 Analog - Default Audio 
Device
  front:CARD=Intel,DEV=0 - HDA Intel, STAC9228 Analog - Front speakers
  surround21:CARD=Intel,DEV=0- HDA Intel, STAC9228 Analog - 2.1 Surround 
output to Front and Subwoofer speakers
  surround40:CARD=Intel,DEV=0- HDA Intel, STAC9228 Analog - 4.0 Surround 
output to Front and Rear speakers
  surround41:CARD=Intel,DEV=0- HDA Intel, STAC9228 Analog - 4.1 Surround 
output to Front, Rear and Subwoofer speakers
  surround50:CARD=Intel,DEV=0- HDA Intel, STAC9228 Analog - 5.0 Surround 
output to Front, Center and Rear speakers
  surround51:CARD=Intel,DEV=0- HDA Intel, STAC9228 Analog - 5.1 Surround 
output to Front, Center, Rear and Subwoofer speakers
  surround71:CARD=Intel,DEV=0- HDA Intel, STAC9228 Analog - 7.1 Surround 
output to Front, Center, Side, Rear and Woofer speakers
  hdmi:CARD=Intel,DEV=0  - HDA Intel, HDMI 0 - HDMI Audio Output
  hdmi:CARD=Intel,DEV=1  - HDA Intel, STAC9228 Digital - HDMI Audio 
Output
  




Code:

$ squeezelite -o *hw*:CARD=Intel -d decode=debug
  
  [07:40:10.689256] decode_init:153 init decode
  [07:40:10.689554] register_dsd:908 using dsd to decode dsf,dff
  [07:40:10.689577] register_faad:641 using faad to decode aac
  [07:40:10.689597] register_vorbis:334 using vorbis to decode ogg
  [07:40:10.689613] register_flac:294 using flac to decode flc
  [07:40:10.689629] register_pcm:433 using pcm to decode aif,pcm
  [07:40:10.689649] register_mad:413 using mad to decode mp3
  [07:40:10.689662] decode_init:187 include codecs:  exclude codecs: 
  [07:40:10.694605] decode_flush:229 decode flush
  [07:40:25.508453] decode_flush:229 decode flush
  [07:40:25.537407] codec_open:257 codec open: 'm'
  [07:40:25.705546] mad_decode:243 setting track_start
  [07:40:25.705619] mad_decode:272 gapless: skipping 529 frames at start
  [07:40:49.539237] decode_flush:229 decode flush
  




Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=97046

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


Re: [SlimDevices: Unix] piCorePlay IQaudioIO DAC+ AMP+ no sound

2018-05-02 Thread kmccourt

geiserc wrote: 
> I've installed pCP (tried 3.5.0 and 3.2.2) and cannot get sound out of
> my RPi 3 with IQaudioIO with DAC+ and AMP+. Here's what I've tried so
> far:
> 1. In the Squeezelite Settings of pCP I've set the Audio output device
> to IQaudioIO DAC+ and made no further adjustments in the Squeezelite
> Settings. 
> 2. I've saved and rebooted. 
> 3. I've checked that config.txt lists 'dtoverlay=iqaudio-dacplus' at the
> end of the file.
> 4. I've disabled the onboard audio and verified config.txt has
> '#dtparam=audio=on'.
> 
> I've started from a fresh SD card tried multiple times - no luck. Any
> tips on getting this audio card to work?
> 
> Thank you!

I have pCP working with an IQaudioIO DigiAMP+ and I think the config for
the AMP+ is similar - the default setting on the AMP+ is to be muted on
power-up. Is the mute LED on your AMP+ on or off? 

If you look at section 15 of
http://www.iqaudio.com/downloads/IQaudIO.pdf, you need to have either 
Code:

dtoverlay=iqaudio-dacplus,unmute_amp

 or 
Code:

dtoverlay=iqaudio-dacplus,auto_mute_amp

 added to config.txt.



kmccourt's Profile: http://forums.slimdevices.com/member.php?userid=3815
View this thread: http://forums.slimdevices.com/showthread.php?t=109009

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