LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-12-2011, 02:10 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Anyone knows a FLAC player for Slack <= 12.0?


kernel 2.6.21.5, slackaware 12.0

Hi:
What's said.
 
Old 09-12-2011, 03:33 AM   #2
alekow
Member
 
Registered: Sep 2009
Distribution: Slackware
Posts: 230

Rep: Reputation: 75
Do you mean audio player that supports FLAC? For X or for command line? For cli you could use moc. If you use kde just try amarok.

Anyway - is there a reason for still using slackware 12.0?

Last edited by alekow; 09-12-2011 at 03:34 AM.
 
Old 09-12-2011, 11:47 AM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
The stock Slackware 12.0 came with audacious, xine, gxine, and KDE, which came with amarok, juk, noatun, kaboodle, ksCD (CD player). Read the PACKAGES.TXT file to find a complete list of apps.

If I recall correctly from other threads, you are running 12.0 to learn Slackware while using older hardware. KDE apps therefore might not seem like a palatable option. Yet I run Slackware 12.2 with KDE 3.5.10 installed on both a spare Pentium I and II computer. KDE 3.5.10 is a bit sluggish with respect to starting apps but the apps run fine when started. Of course, KDE apps can be run without running the entire K desktop environment.

Out of curiosity, on the Pentium I machine I just now successfully tested playing a flac file with amarok, juk, noatun, kaboodle, xine, gxine, and audacious. The flac file is located on an NFS mount from another computer and yet played on that older hardware with all of the X multimedia apps without skipping or related issues.

I also tested on the same machine with no problems an audio CD using KsCD.

This testing was with 12.2 but I don't think 12.0 will be much different.

If you are willing to build non stock apps for Slackware, there is mplayer, kaffeine (KDE), and others as well. Check slackbuilds.org for those apps.

Others will have to help for listing CLI multimedia apps.
 
Old 09-12-2011, 12:41 PM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by alekow View Post
Do you mean audio player that supports FLAC? For X or for command line? For cli you could use moc. If you use kde just try amarok.

Anyway - is there a reason for still using slackware 12.0?
Cli always preferable. The reason is old hardware/improperly tuned OS.

Quote:
Originally Posted by Woodsman
The stock Slackware 12.0 came with audacious, xine, gxine, and KDE, which came with amarok, juk, noatun, kaboodle, ksCD (CD player). Read the PACKAGES.TXT file to find a complete list of apps.
I've read PACKAGES.TXT a hundred an one times by now. And /var/log/packages/* too. Something must be very badly set in my box, for appls such as gxine, amarok, noatun do not work well in it. But that's the price for using Slack. One must know.

With gxine I went to the extreme of erasing the appl starter, so in aboutlugins I have it no longer. I was always meddling in the way. And mplayer, the movie player, I'm tired of it. Such a monster, taking hours and hours to compile and not being able to play a simple CD without skipping, while ksCD has no problem at all. So I keep it for the rare instances where I want to watch a picture.


You remember well. I run Slack 12.0 in an old machine, Pentium III. And also have a Pentium I, my first machine beyond 80486.

As for my question, I already found the answer. The powerful sox. It plays just about anything, inclusive of FLAC. But my new philosophy is, for every audio format, to stick to the simplest program. E.g., for MPEG, mpg123 or mpg321. My only concern is CDDA. If I do not want to start X, I must fall back on poorly tested programs, not included by Slackware in its distros.

Thanks very much for your feedback.
 
Old 09-12-2011, 01:05 PM   #5
easuter
Member
 
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 538

Rep: Reputation: 62
I'd recommend MOC (I use it myself for mp3/FLAC every day): http://moc.daper.net/
 
Old 09-12-2011, 03:34 PM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
It's curious. In my system moc is
Quote:

moc(1)

NAME
moc - generate Qt meta object support code
Thanks for the link.
 
Old 09-12-2011, 03:55 PM   #7
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,242

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
That's a different moc .

The player that has been recommended (which is great and which was a heavy influence on my own) has an executable filename of mocp.
 
Old 09-12-2011, 04:32 PM   #8
hoodooman
Member
 
Registered: Oct 2006
Location: Stirling in Scotland
Distribution: Slackware 13.37 64 bit
Posts: 297

Rep: Reputation: 42
As mentioned moc will play them or there is flac123 which is a flac only command line player.
 
Old 09-12-2011, 04:39 PM   #9
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
I would recommend cmus instead of moc for ultimate vi keybind power.
Much better, developed & complete overall too.
 
Old 09-13-2011, 03:21 AM   #10
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Compressed music rules, seems to be the motto. For I can't find a single cli program for the playing of a humble CDDA. There still is workbone, but for some reason it is difficult to make it run. I mean a special purpose program.

As for the thread matter, the modest 'play' command, belonging to the sox package, is good enough for me, for the time being. Although moc's property of using a separate thread, thus avoiding underflows, seems an excellent thing. As well as avoiding the omnipresent playlists. Just consider listening Mozart's requiem, over 60m of music. What do you need the playlist for? Perhaps to listen Beethoven's nine symphonies one after the other?

Thanks a lot for the suggestions.
 
Old 09-13-2011, 04:59 AM   #11
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,242

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
Quote:
Originally Posted by stf92 View Post
CFor I can't find a single cli program for the playing of a humble CDDA. There still is workbone, but for some reason it is difficult to make it run. I mean a special purpose program.
A text-mode cd player?

adcd
cdcd

Mplayer works too (mplayer cdda://...)
 
Old 09-13-2011, 06:56 AM   #12
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,906

Rep: Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026Reputation: 5026
"Workbone" belongs to a different era. Back in the old days, cdrom drives would have audio circuits and an audio cable that ran directly to your sound card. (I still have one in my spares box with a volume dial and headphone jack on the front of it). 'workbone' was designed to work with those types of drives. Effectively all it does is issue play,pause,next,previous,stop commands to the drive and doesn't get involved with the audio data side of it at all. In fact, if your shutdown command just did a halt and didn't power-off the PC (which was the case in the pre APM days), you could issue a shutdown -h and it would even keep playing after the system had halted.

Modern drives don't have these features (probably dropped to cut costs), and you need a cd player app that can extract the data digitally and then send it to the kernels sound system in software.

In short, unless you're running ancient hardware, there's absolutely no use for workbone.
 
Old 09-13-2011, 05:40 PM   #13
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thank God, I have two of these "ancient" drives, because I'm writing a program to play from t1 to t2, any two instants within a track, and to add subtleties when I wish. Digital extraction would complicate the program. By the way, I can extirpate the useless freedb-server thing.

Of course, digital extraction might be better than analog from the viewpoint of hi-fi, but I'm not sure how digital signals inside a computer can interfere with the very low audio frequencies. Of course they generate a lot of electromagnetic noise but can the ear detect it?

I recently bought a Philips optical drive and, to my surprise, it says on the top of the case: NO AUDIO OUTPUT. I thought, What a cheap product I got. How naive.

A drive with analog output can be used, hobbyist thing, to make a stand-alone player with only a microcontroller attached to its bus. But one had to trust the quality of the builtin audio stages.

Anyway, workbone comes with slack 12.0 (I knew it in a slack with kernel 2.2.16) and it is the only tool for listening CDDA in that version. I think I'll give it a new try.

You mentioned APM. When I boot, a quater of the messages have to do with ACPI. And all settings are made for a portable computer. I remember once I disposed of it, but now I don't remember how. Good bye.
 
Old 09-13-2011, 09:12 PM   #14
veeall
Member
 
Registered: May 2007
Location: Estonia
Distribution: Slackware64-current
Posts: 298

Rep: Reputation: 56
Sadly, MOC 2.5.0-alpha4 crashes here with some mp3-s saved from internet radios. MOC 2.4.4 runs more stable, though still hangs when played continously, like over a night or so, its development seems stalled. Still using it, because cmus is better for large music collections, which i don't have.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Direct burn of FLAC vs. FLAC-->cdda. stf92 Linux - Newbie 2 03-19-2010 10:05 PM
LXer: The $20 Centon Craze audio player also plays WAV and Ogg but not FLAC formats LXer Syndicated Linux News 0 01-07-2010 03:50 PM
Media player with gapless playback of FLAC/SHN? MheAd Linux - Software 3 06-15-2007 09:01 PM
Best Audio Player for FLAC soxplayer Linux - Software 6 04-20-2005 06:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration