LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   A flac player for Slackware? (https://www.linuxquestions.org/questions/slackware-14/a-flac-player-for-slackware-906795/)

GazL 10-08-2011 06:02 AM

I just use ogg123 to play them. Normally through my "pick one CD at random from my collection and play it" bash function
Code:

function playcd ()
{
    local album_dir

    album_dir="$( find /local/music/ -type d -path "/local/music/*/*" -maxdepth 2 | shuf -n 1 )"

    find "$album_dir" -type f \( -name "*.flac" -o -name "*.ogg" \) -print \
    | sort \
    | ogg123 -d alsa -o dev:stmix -@ -
}

If the above ogg123 command looks overly complicated, it's because if you give ogg123 a directory to play it plays them in the order of their directory entries and not in alphanumeric order and can play a CD out of order without the sort.

I used to use mpc/mpd for my music playing needs. I keep meaning to go back to it as I liked it a lot, but for now the above does all I need.

stf92 10-08-2011 06:50 AM

Quote:

Originally Posted by andrew.46 (Post 4493003)
There is always this little player too:

http://slackbuilds.org/repository/13.37/audio/flac123/

I think I'll use that, because I like special purpose applications. Thanks for the link. I'll will now have mpg123, ogg123 and flac123.

Quote:

Originally Posted by GazL (Post 4493003)
I just use ogg123 to play them.

I tried ogg123. Somebody here suggested it. But the sound going away from the speakers was just cacophony (vorbis-tools-1.1.1). The function may look complicated but, for somebody in my level is very interesting.

Thank you, guys.

gargamel 10-08-2011 09:15 AM

Quote:

Originally Posted by stf92 (Post 4492946)
The sox package that comes with 12.0 does not know FLAC. Its sox-12.18.1. But I upgraded to sox-14.3.1. I did locate -r .*flac$ and the only thing I had in the hdd was Beethoven's 9th symphony by Otto Klemperer. I am just now listening to it and although the recording is 46 years old it sounds superb.

Yes, sox provides maximum sound fidelity. Most CLI tools I tried are good, though, whereas the differences between GUI players are bigger than I had expected. While it is more a question of what sound "characteristics" you prefer, if you like Kaffeine or MPlayer better, they are both one class up compared to VLC (but this holds only for FLAC, not for other formats, for which VLC is really good!).

As you now use one of the *123 programs, the info may not be relevant for you, but I use the tools from the sox package tools together with programs, such as faac etc. for conversion between formats. And sometimes I play a little with the many effects of play, which is really fun. ;)

But in the end it's the music that counts. And sometimes a 46 years old record can touch your heart, and that's the moment when I know, where the real value of all this technology lies. Music was my first love, and it will definitely be my last (*). ;)

gargamel



(*) John Miles (just mentioning it in order not to get sued by music industry lawyers, because of copyright violation.... ;) )

stf92 10-08-2011 01:14 PM

I have a Columbia record, recorded in 1955, one of the first microgroove records made. It has been played over a hundred times and it sounds as if I had bought it yesterday. As if instead of vinyl the record were made of steel. And the nature of the recorded material makes it easy to detect imperfections in the reproduced signal.

I only have downloaded flac123. I have not compiled it yet. And what you say about sox, combined with the great power it has, has definitely turned my mind towards play.

It is perfectly probable play 12.18.1 can play the flac file. It has to be passed the correct parameters, I think. Although the pertinent parameters, their values I mean, must be embedded in the file itself.


All times are GMT -5. The time now is 03:55 PM.