Re: aplay fails on amd64 laptop

2017-12-24 Thread Pierre Frenkiel
On Sun, 24 Dec 2017, Georgi Naplatanov wrote: if you are using PulseAudio just remove any exiting content of ~/.asoundrc and put this: hi Georgi, thank you for your suggestion, but I can't launch pulseaudio: Failed to load module "module-alsa-sink" and as I have a working config

Re: aplay fails on amd64 laptop

2017-12-24 Thread Georgi Naplatanov
On 12/21/2017 09:04 PM, Pierre Frenkiel wrote: > hi, > the sound works perfectly with vlc or audacity, but I can't make aplay > to work. > the "aplay -l" output is: >    List of PLAYBACK Hardware Devices >    card 0: HDMI [HDA ATI HDMI], device 3: Generic Digital [Generic Digital] >   

Re: aplay fails on amd64 laptop

2017-12-24 Thread Pierre Frenkiel
On Sat, 23 Dec 2017, deloptes wrote: but I told you also about plughw - no? yes, but I told you before that I found it myself by accident, when trying on an other wav file. no idea why you are so resistant to getting the knowledge yourself - the man page is even not that long and you

Re: aplay fails on amd64 laptop

2017-12-23 Thread deloptes
Pierre Frenkiel wrote: > do you think that "find yourself" matches this definition? It might surprise you but yes :) If you have read man aplay to the end you would have found following aplay -c 1 -t raw -r 22050 -f mu_law foobar will play the raw file "foobar" as a 22050-Hz,

Re: aplay fails on amd64 laptop

2017-12-23 Thread Pierre Frenkiel
On Sat, 23 Dec 2017, deloptes wrote: you know there are two types of help: feed the hungry or teach them make food themselves - I prefer the 2nd one - you the 1st one - no reason to get personal from wikipedia: A teacher is a person who helps others to acquire knowledge, competences

Re: aplay fails on amd64 laptop

2017-12-23 Thread deloptes
Pierre Frenkiel wrote: > It's a strange way to help people to say them "find yourself" > Generally, when people ask for help, it's that there are, like me, > too stupid to find themselves. > I suggest to avoid useless posts but I told you also about plughw - no? a brief look into man aplay

Re: aplay fails on amd64 laptop

2017-12-23 Thread Pierre Frenkiel
On Sat, 23 Dec 2017, deloptes wrote: Pierre Frenkiel wrote: aplay -D hw:1,0 this also gives aplay: set_params:1299: Sample format non available you could also set the sample format ;-) - I was hoping you try to find out the way yourself. 1/ I don't see why I should loose time with

Re: aplay fails on amd64 laptop

2017-12-23 Thread deloptes
Pierre Frenkiel wrote: >> aplay -D hw:1,0 > this also gives > aplay: set_params:1299: Sample format non available you could also set the sample format ;-) - I was hoping you try to find out the way yourself. regards

Re: aplay fails on amd64 laptop

2017-12-23 Thread Pierre Frenkiel
On Sat, 23 Dec 2017, deloptes wrote: man aplay the useful information is given by "aplay -L", which lists 19 devices, among which 2 are working: sysdefault:CARD=Generic plughw:CARD=Generic,DEV=0 aplay -D hw:1,0 this also gives aplay: set_params:1299: Sample format non

Re: aplay fails on amd64 laptop

2017-12-22 Thread deloptes
Pierre Frenkiel wrote: > On Fri, 22 Dec 2017, Tom Furie wrote: > >> Are the 1:0 and 1,0 above typos in the mail? If not, they should be 1.0. > >no: look at : http://www.alsa-project.org/main/index.php/Asoundrc >I checked with aplay -D hw:1.0 brahms.wav. >this gives : > Invalid

Re: aplay fails on amd64 laptop

2017-12-22 Thread deloptes
Pierre Frenkiel wrote: > thank you for your reply, but can you be a little more specific: > what do you mean exactly by "use hw:1.0" ? > where? in a config file, in the aplay command line ...? man aplay aplay -D hw:1,0 or -Dplughw:1,0 look also at alsa docs to understand how sound system in

Re: aplay fails on amd64 laptop

2017-12-22 Thread Pierre Frenkiel
On Fri, 22 Dec 2017, Tom Furie wrote: Are the 1:0 and 1,0 above typos in the mail? If not, they should be 1.0. no: look at : http://www.alsa-project.org/main/index.php/Asoundrc I checked with aplay -D hw:1.0 brahms.wav. this gives : Invalid value for card best regards, -- Pierre

Re: aplay fails on amd64 laptop

2017-12-22 Thread Tom Furie
On Fri, Dec 22, 2017 at 06:03:22PM +0100, Pierre Frenkiel wrote: > with hw:1:0, same result > ->aplay -D hw:1,0 file.wav >Playing WAVE 'file.wav' : Unsigned 8 bit, Rate 11025 Hz, Stereo >aplay: set_params:1299: Sample format non available >Available formats: >- S16_LE >-

Re: aplay fails on amd64 laptop

2017-12-22 Thread Pierre Frenkiel
On Fri, 22 Dec 2017, to...@tuxteam.de wrote: Either in the command line (option -D, i.e. "device", cf aplay man page) or in the config file (possibly ~/.asoundrc, don't know off the top of my head how you specify that there, but try http://www.alsa-project.org/main/index.php/Asoundrc) I

Re: aplay fails on amd64 laptop

2017-12-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Dec 22, 2017 at 02:21:42PM +0100, Pierre Frenkiel wrote: > On Thu, 21 Dec 2017, deloptes wrote: > > >you need to use hw:1.0 > >as you target your second card, or configure snd module to initialize the > >analog as first card > > thank you

Re: aplay fails on amd64 laptop

2017-12-22 Thread Pierre Frenkiel
On Thu, 21 Dec 2017, deloptes wrote: you need to use hw:1.0 as you target your second card, or configure snd module to initialize the analog as first card thank you for your reply, but can you be a little more specific: what do you mean exactly by "use hw:1.0" ? where? in a config file,

Re: aplay fails on amd64 laptop

2017-12-21 Thread deloptes
Pierre Frenkiel wrote: > card 1: Generic [HD-Audio Generic], device 0: ALC233 Analog [ALC233 > Analog] Subdevices: 1/1 > Subdevice #0: subdevice #0 you need to use hw:1.0 as you target your second card, or configure snd module to initialize the analog as first card regards