Help - Search - Members - Calendar
Full Version: Audio on Linux
Hydrogenaudio Forums > Hydrogenaudio Forum > General Audio
neomoe
hey guys!

I migrated to linux (Debian Sid[Kanotix] or rather Debian sarge) few months ago and I really love it! biggrin.gif The only thing why I would boot up W2K is to rip an Audio-CD (because of EAC) or to do some transcoding (f2k u know wink.gif). Don't get me wrong, I like W2K - it's the most stable from M$ - but I don't like the "$" ... so, I would like to substitute W2K totally for Debian. But Linux really suxx* when it comes to Media, I guess, so I wondered why there are so few people who are able to circumvent this and do something for it here on this board? huh.gif
I am not able to code or something, so I depend on competent people like you!
any approaches to explain that? blink.gif

Please read TOS #10 carefully before posting again - moderation


edit: *please substitute suxx with any word or phrase you like, which matches the same meaning but sounds political more correct wink.gif
cabbagerat
I don't agree with you. As far as sound goes there are many excellent players (amarok, rhythmbox, xmms and more), rippers (grip, abcde, etc), taggers (easytag, etc) and editors. What specifically are you doing on Windows that you have been unable to do on Debian?
damaki
QUOTE(neomoe @ Dec 31 2004, 12:57 PM)
transcoding (f2k u know wink.gif)
*

I still cannot figure out how to make EAC work with Wine, but foobar2000 works quite flawlessly.
xmixahlx
QUOTE
Audio on Linux, Why is it apparently impossible?


you sound like a noob who hasn't searched yet
cabbagerat
QUOTE(damaki @ Dec 31 2004, 06:06 AM)
I still cannot figure out how to make EAC work with Wine, but foobar2000 works quite flawlessly.
*

I haven't had any luck either, but have seen some configs where it works. However on my drive libcdparanoia (and hence abcde) produces bit identical output to EAC, so it doesn't concern me much.
frodoontop
For emulating Exact Audio Copy in wine you have to configure your kernel with the SCSI emulation CDROM option instead of ATAPI. After that it works fine for me, except that it is a bit unstable. Though once it starts it always does finish.
damaki
QUOTE(frodoontop @ Jan 1 2005, 06:27 PM)
For emulating Exact Audio Copy in wine you have to configure your kernel with the SCSI emulation CDROM option instead of ATAPI. After that it works fine for me, except that it is a bit unstable. Though once it starts it always does finish.
*

Yeah, I'm aware of that. But EAC ui freezes immediately on startup with lastest non cvs wine... So I haven't tried the atapi/scsi trick yet.
frodoontop
Without SCSI emulation enabled in my kernel, EAC won't even start up here. With it, it takes about 10 seconds here, but it basically works.

<edit> This is working for at least a few months now, so I don't think it's dependant on the latest wine source </edit>
Dr. ROX
Try Agnula Project

There are RedHat and Debian based distributions, developed for multimedia, mostly for musicians. Debian based one is more popular.

Good luck.
neomoe
QUOTE
I don't agree with you. As far as sound goes there are many excellent players (amarok, rhythmbox, xmms and more), rippers (grip, abcde, etc), taggers (easytag, etc) and editors. What specifically are you doing on Windows that you have been unable to do on Debian?

surely there are players, but is there any of them which can compare to foobar? blink.gif
of course I know all the gstreamer-based players, but I am not very satisfied with them..
the question is not what I am doing, rather how I am doing...

QUOTE
you sound like a noob who hasn't searched yet


nop - I've done a lot of that. i think you misread the irony in my posting. I know grip, abcde etc., thank you.


QUOTE
Try Agnula Project
There are RedHat and Debian based distributions, developed for multimedia, mostly for musicians. Debian based one is more popular. Good luck.


thank you for the advise!

but still there is no answer, why the guys here on that board are sticking to windows?
xmixahlx
...ok, i'm assuming you want this answered:
QUOTE
But Linux really suxx when it comes to Media, I guess, so I wondered why there are so few people who are able to circumvent this and do something for it here on this board?

so you'll need to provide more information that it "really suxx" because i don't have that personal opinion

the only things i miss in *Nix that are available in M$ (minus wine) are EAC + FOOBAR2K, and advanced DVD Copy

i get this things in linux using k3b from cvs, grip, xmms, lamip, dvdbackup (single layer) etc.

so you'll need to add some more info into the conversation, please


later
JEN
i thought I'd give linux a try today, so I set it up using microsoft virtual pc 2004!

I installed mandrake (as its supposed to be the easiest to use) unsure.gif

But I have been unsuccessful in getting the audio to work, it says something like, unable to find an audio device?

I'm using it with gnome, because I wanted to try getting rhythmbox to work, and I think rhythmbox only works with gnome?

and ideas?
neomoe
I'd give Kanotix a try. it is a debian-based (so you can take advantage of apt-get) linux-distro, which you can get as a live-cd, so it has fantastic hardware-detection. at least it works for me (terratec aureon space-soundcard).
you don't have to install it, it runs from your cd-rom, but if you like to it should be really easy.
i don't know mandrake, but you can type "alsaconf" as root in the console. if
you don't have alsa, try to install it. but you should take a look at kanotix. it is a grate distro.

QUOTE
so you'll need to provide more information that it "really suxx" because i don't have that personal opinion


the only things i miss in *Nix that are available in M$ (minus wine) are EAC + FOOBAR2K, and advanced DVD Copy

i get this things in linux using k3b from cvs, grip, xmms, lamip, dvdbackup (single layer) etc.

so you'll need to add some more info into the conversation, please


that's exactly the point. of course you can do almost everything in *nix, but you need - one moment, I am counting... 4 applications (talking 'bout audio). for the same stuff I'd need 1 app with windows, namely foobar. (foobar is awesome, when it comes to tagging with it's masstagger)
and, surely I can do all things like tagging, ripping, listening, burning, etc., but nothing works that nice for me. I am still quite new to linux, so I havn't that knowledge to get around every little problem that easy.
few examples:

abcde: it ripps, yes, but flac-encoding doesn't work. edit: -finally, I got it working! congratulations!
k3b: burning is just as root possible (kernel 2.6.8)
lamip: could not get it work here. I had problems building it from source, but lamip seems to be promising!
xmms: I don't like it. I am using rhythmbox.

at least, listening is possible. and that's the most important thing.

and please, don't get me wrong, I didn't want to start a flame-war `a la "*nix vs. MS - clash of the titans" or something.
xmixahlx
QUOTE
that's exactly the point. of course you can do almost everything in *nix, but you need - one moment, I am counting... 4 applications (talking 'bout audio). for the same stuff I'd need 1 app with windows, namely foobar. (foobar is awesome, when it comes to tagging with it's masstagger)

ok so wtf did you do before foobar showed up?
i'm tired of that analogy, i realize foobar is a great app.

and anyways, that is the unix approach, make small apps that do one thing and one thing well. most programs are CLI, and programs like K3B are around to bridge the gap.

QUOTE
and please, don't get me wrong, I didn't want to start a flame-war `a la "*nix vs. MS - clash of the titans" or something.

it doesn't appear that way...

this isn't the forum to vent your feelings about linux just because you don't understand it

and wtf are you doing using kernel 2.6.8?


later
frodoontop
On latest kernel 2.6.10 burning as a user is fixed again.
cartman
QUOTE(frodoontop @ Jan 6 2005, 02:02 AM)
On latest kernel 2.6.10 burning as a user is fixed again.
*


I works fine in 2.6.9 too you just need to remove suid root bit of cdrecord.
neomoe
QUOTE
[ok so wtf did you do before foobar showed up?

nothing different. my life just was not that nice as it is today?!

QUOTE
that is the unix approach, make small apps that do one thing and one thing well

is it? you seem to know exactly what linux "wants"...

QUOTE
it doesn't appear that way...

same here...

QUOTE
wtf are you doing using kernel 2.6.8?

man, that kernel was used by the kanotix-version, I installed...

QUOTE
On latest kernel 2.6.10 burning as a user is fixed again.

thank you for that information!

QUOTE
I works fine in 2.6.9 too you just need to remove suid root bit of cdrecord.

well, using 2.6.8. here, but I'll bake a newer one, as early as I'm able to do that..

substitute

...but, that dialogue is leading us in the wrong direction, I guess... I just wanted to show my opinion towards linux compared to windows and I wanted to animate some guys to use their energy for linux instead of windows, because I think, that it is the better choice.. not because I like windows that much! and, yeah, I like it easy.. I like it, if I just have to use 1 app, presumed that that app is good. I don't like M$ because of the "$", as I said already, and linux is more than just another OS, in my opinion. so why not use the power to make linux, unix, bsd, the best OS's around?
PoisonDan
There is one particular feature of foobar2000 that I use a lot and that I miss from the Linux apps I tried: the incredibly flexible diskwriter.

Before I used foobar2000 I used several other transcoding tools (especially Frontah).

So I'd like to know what the Linux users can recommend me for converting audio formats (lossless -> lossy).

It would be nice if the application has these features:

* Support for APL files
* Ability to apply replaygain or DSP effects before reencoding
* Copy the tags from the source files to the destination files
* Flexible configuration of destination directory (it should at least work properly with various artists albums)

I use these features a lot in foobar2000 and I would love to be able to use them in Linux.
neomoe
QUOTE
So I'd like to know what the Linux users can recommend me for converting audio formats


that is one of the crucial things, I miss in linux, too.

I've heard of gmerlin, but sadly could not get it working on my box. you can give it a try and then give a feedback, if it works..
frodoontop
Kaudiocreator, included in kde (kdemultimedia to be precise) is able to convert between formats. I never used it though.
neomoe
I just installed kaudiocreator, but I do not think that is what PoisonDan was looking for.
it seems as if kaudiocreator is mainly a ripper, but PoisonDan and me are looking for a transcoding-tool. kaudiocreator seems to be capable to encode into several formats, though, but only if you have WAV as source.
Phreakazoid
QUOTE(PoisonDan @ Jan 6 2005, 02:34 AM)
There is one particular feature of foobar2000 that I use a lot and that I miss from the Linux apps I tried: the incredibly flexible diskwriter.

Before I used foobar2000 I used several other transcoding tools (especially Frontah).

So I'd like to know what the Linux users can recommend me for converting audio formats (lossless -> lossy).

It would be nice if the application has these features:

* Support for APL files
* Ability to apply replaygain or DSP effects before reencoding
* Copy the tags from the source files to the destination files
* Flexible configuration of destination directory (it should at least work properly with various artists albums)

I use these features a lot in foobar2000 and I would love to be able to use them in Linux.
*


For transcoding from flac to vorbis (one album), I run the following command in the album's directory:
CODE
oggenc -q5 *.flac && vorbisgain *.ogg


This keeps the flac tags, and recalculates the replaygain, so the resulting files are all tagged perfectly (provided the flacs were tagged correctly).

I can't comment on how to transcode from other formats, or to other formats as I have never tried.
cabbagerat
QUOTE(neomoe @ Jan 6 2005, 02:11 AM)
[i]...but, that dialogue is leading us in the wrong direction, I guess...
*

So what your original post should have said is not "Audio on Linux Really Suxxxx" but "Somebody Else (ie not me) needs to write/port Foobar for Linux".
neomoe
QUOTE
So what your original post should have said is not "Audio on Linux Really Suxxxx" but "Somebody Else (ie not me) needs to write/port Foobar for Linux".


that would be very much appreciated not only by me. but the topic should have covered more then just foobar. it's rather a general question, why ppl are sticking to windows, when it comes to media. the "somebody needs to port foobar"-thread we already had several times, IIRC.

edit: now that I got abcde working, I am a bit closer to be satisfied with linux. abcde is fantastic!

QUOTE
For transcoding from flac to vorbis (one album), I run the following command in the album's directory:
CODE
oggenc -q5 *.flac && vorbisgain *.ogg


This keeps the flac tags, and recalculates the replaygain, so the resulting files are all tagged perfectly (provided the flacs were tagged correctly).


that's awesome! I hope this works for other codecs like mp3 and aac, too.
znode
QUOTE(PoisonDan @ Jan 6 2005, 02:34 AM)
For transcoding from flac to vorbis (one album), I run the following command in the album's directory:
CODE
oggenc -q5 *.flac && vorbisgain *.ogg

*


The above code only works under csh, tcsh, and their variants. For bash/ksh and other "default" shells, replace the "&&" with ";", as in
CODE
oggenc -q5 *.flac; vorbisgain *.ogg
.

And yes, lame should automatically copy tags as well, when run from console.

The above command only works for encoding .flac's in the current directory and only the entirety of it to quality 5 ogg, but it should be sufficient for most uses. A few more useful commands:

Encoding and vorbisgaining the flacs in the entire dirtree from current position (every flac in the current folder + every single subfolder + their subfolders, ad infinitum):
CODE
oggenc -q5 `find . -name "*.flac"`; vorbisgain `find . -name "*.flac"`


Encoding and vorbisgaining all songs with "gblargh" in their name in the current dir ONLY:
CODE
oggenc -q5 `ls | grep "*gblargh*.flac"`; vorbisgain `ls | grep "*gblargh*.flac"`


Encoding and vorbisgaining all songs with "gblargh" in name in dirtree from current position (again, all subdirs):
CODE
oggenc -q5 `find . -name "*gblargh*.flac"`; vorbisgain `find . -name "*gblargh*.flac"`


For .wav's, replace all occurances of ".flac" with ".wav". Use the wildcard "*" in the right positions. "|" dumps the contents of the command before it into the one after. "``" makes everything produced by the command(s) in them to be used as filenames.

In most shells, typing the first few letters of a file and pressing Tab will automatically complete the file name for you; or if there are many files with the same starting letters, it will list all of them.

And don't forget, if a file has spaces, you need to escape them with a \, or use quotes. Double quotes and single quotes are both fine for mainstream shells, others might have more draconian rules.

Hope this helps.
Phreakazoid
QUOTE(znode @ Jan 7 2005, 05:51 PM)
QUOTE(PoisonDan @ Jan 6 2005, 02:34 AM)
For transcoding from flac to vorbis (one album), I run the following command in the album's directory:
CODE
oggenc -q5 *.flac && vorbisgain *.ogg

*


The above code only works under csh, tcsh, and their variants. For bash/ksh and other "default" shells, replace the "&&" with ";", as in
CODE
oggenc -q5 *.flac; vorbisgain *.ogg
.


Incorrect, the above DOES work in bash. Using ";" will work as well, but using "&&" ensures that if oggenc somehow fails, then vorbisgain will never be executed. When you use ";", vorbisgain will be executed regardless.
hyperbole
QUOTE(JEN @ Jan 3 2005, 10:57 PM)
i thought I'd give linux a try today, so I set it up using microsoft virtual pc 2004!

I installed mandrake (as its supposed to be the easiest to use)  unsure.gif

But I have been unsuccessful in getting the audio to work, it says something like, unable to find an audio device?

I'm using it with gnome, because I wanted to try getting rhythmbox to work, and I think rhythmbox only works with gnome?

and ideas?
*



ok.... so I guess you are using a mac?
In that case, you should try & install a PPC version of linux, 'cause running a x86 inside VPC is just silly :-)

Plus, you can't really expect to have a x86 version of linux that supports mac audiocards...
But if there is, you should try modprobe (audiocard-module)
neomoe
in that thread kritip talks about SoX - a transcoding-tool. never used it myself, though.



edit: okay, though certain guys think this thrad is useless, I'd like to provide a link to a page, where one makes use of various (shell+SoX-)commads to get multiple file-formats converted into others.
it's located here: http://www.oreillynet.com/pub/wlg/5894
jokull
I have been looking around for replacement tools on the GNU/Linux platform which could ease the pain of retiring win32 tools such as Foobar2k, EAC and FLACattack.
So far no media player seems to come close to Foobar2000 in terms of features / extensions (components). What I found out however, is that many cool scripts exist which tie smaller applications together to provide a certain automation to a particular process.

cdparanoia looks like a fine replacement for EAC and provides similar functionality. Many media players are still undergoing heavy developement and frequent updates. In fact, I am very pleased with the direction most of them are going in. FLACattack has various replacements that do very similar things. The best one I found so far is Flac-archive 2 which also offers transcoding capabilities (MP3).

It is not fair to expect the open source community to provide an application that replicates the functionality of each and every win32 app. Most of the functionality Foobar2000 offers exists in one form or another on GNU/Linux.
xmixahlx
this thread is useless and any actual redeeming value would be off-topic

for a linux-support (etc) thread, this thread should be split up /hint: moderation


later
neomoe
CODE
for i in *.flac; do filename=`echo $i | sed 's/\.flac/\.aac/g'`; flac -sdc $i | faac -q100 - -o $filename; done



with the command-line mentioned above it is possible to convert nearly any format to another, as long as piping is supported.

sadly, the latest faac for linux doesn't support m4a/mp4 output as far as I remember, or does it?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.