View previous topic :: View next topic |
Author |
Message |
ts1971 n00b
Joined: 06 Oct 2012 Posts: 52
|
Posted: Wed Dec 05, 2012 12:20 am Post subject: What do I need to playback wav / mp3 (Solved) |
|
|
Hi,
I am brand new to gentoo and linux (at least as a desktop). I have most of what I need for my pretty humble requirements working at this point but there is still no sound. My only audio requirements are that I need to be able to listen to wav / mp3 files. I know nothing about this stuff but from googling around it looks like the first step is ALSA. Is that also a user application or is it just a set of low level libraries and I'll have to install something on top of it? Can someone point me in the right direction to the simplest solution?
Here's my card info:
Code: |
t430i jason # lspci | grep -i 'audio'
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
t430i jason #
|
Thanks.
Last edited by ts1971 on Mon Dec 10, 2012 7:46 pm; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Wed Dec 05, 2012 12:42 am Post subject: |
|
|
Jaglover wrote: | [...] there is lots of them in portage, like media-sound/audacious. |
You have to have the "mp3" USE flag set. More on USE flags here. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
ts1971 n00b
Joined: 06 Oct 2012 Posts: 52
|
Posted: Wed Dec 05, 2012 2:54 am Post subject: |
|
|
Thanks for taking the time to reply. So I worked my way through the ALSA stuff and then installed audacity. But when I try to play a simple wave file I get an error box with the following:
Code: |
No decoder found for file:///home/jason/flotsa01.wav.
|
I still haven't actually heard any sounds coming from my speakers so I don't know where I stand. Suggestions?
Thanks. |
|
Back to top |
|
|
Hypnos Advocate
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Wed Dec 05, 2012 3:03 am Post subject: |
|
|
My approach would be:
* emerge alsa-utils (if you haven't already)
* run 'amixer', make sure you see sound devices and that they not muted
* run 'aplay -f cd flotsa01.wav' to test your audio (assuming it's in CD WAV format) _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
|
ts1971 n00b
Joined: 06 Oct 2012 Posts: 52
|
Posted: Wed Dec 05, 2012 3:50 am Post subject: |
|
|
Hypnos wrote: | My approach would be:
* emerge alsa-utils (if you haven't already)
* run 'amixer', make sure you see sound devices and that they not muted
* run 'aplay -f cd flotsa01.wav' to test your audio (assuming it's in CD WAV format) |
So I'm able to play it with that aplay command which is encouraging. I guess that at least I know that my kernel is all set. I'm not sure where this leaves me with audacity though ...
Thanks again. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Dec 05, 2012 3:58 am Post subject: |
|
|
'audacity'!='audacious'
If we are talking about audacious, post 'emerge -1pv media-plugins/audacious-plugins'. |
|
Back to top |
|
|
ts1971 n00b
Joined: 06 Oct 2012 Posts: 52
|
Posted: Wed Dec 05, 2012 4:05 am Post subject: |
|
|
VoidMage wrote: | 'audacity'!='audacious'
If we are talking about audacious, post 'emerge -1pv media-plugins/audacious-plugins'. |
Yes, you're completely right. I meant 'audacious.' Small brain cramp there. Anyway, here you go:
Code: |
t430i jason # emerge -1pv media-plugins/audacious-plugins
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] media-plugins/audacious-plugins-3.2.2-r1 USE="aac alsa cdda flac gnome gtk ipv6 libnotify mp3 nls sdl vorbis -adplug -bs2b -cue -ffmpeg -fluidsynth -gtk3 -jack -lame -libsamplerate -midi -mms -mtp -oss -pulseaudio -scrobbler -sid -sndfile -wavpack" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
* IMPORTANT: 9 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
t430i jason #
|
Thanks. |
|
Back to top |
|
|
jrussia Tux's lil' helper
Joined: 29 Aug 2012 Posts: 89 Location: Chicago
|
Posted: Wed Dec 05, 2012 4:21 am Post subject: |
|
|
The sndfile USE flag adds support for libsndfile, which is a library for WAV (and some other) files. Modify /etc/portage/package.use by adding
media-plugins/audacious-plugins sndfile
and let us know if that works.
Edit: oh, sorry, and then emerge audacious-plugins again. |
|
Back to top |
|
|
ts1971 n00b
Joined: 06 Oct 2012 Posts: 52
|
Posted: Mon Dec 10, 2012 7:46 pm Post subject: |
|
|
jrussia wrote: | The sndfile USE flag adds support for libsndfile, which is a library for WAV (and some other) files. Modify /etc/portage/package.use by adding
media-plugins/audacious-plugins sndfile
and let us know if that works.
Edit: oh, sorry, and then emerge audacious-plugins again. |
After having been away from this issue for a while I finally had a chance to try and that worked like a charm.
Thanks! |
|
Back to top |
|
|
|