Current *working* lossless options?

Posted by: mbcouple

Current *working* lossless options? - 18/04/2006 13:06

I am curious, are there any working lossless options for the empeg? Is the newest version of the V3 alpha stable enough to run FLAC reliably?
Thanks
Hans
Posted by: wfaulk

Re: Current *working* lossless options? - 18/04/2006 13:28

The v2 software tree can do .wav files, but it supposedly keeps the disk spun up nonstop.
Posted by: tfabris

Re: Current *working* lossless options? - 18/04/2006 13:42

The V3 alpha is about as stable as you would expect alpha software to be. Also, it was built from an earlier branch of the code tree, so it contains some bugs that were fixed in V2 final.

FLAC also keeps the disk spun up a lot.

As neat as I think the concept of doing FLAC on the empeg is, I have to ask: Who needs lossless in their *car*? I could understand wanting high bitrate MP3s, but why lossless?
Posted by: petteri

Re: Current *working* lossless options? - 18/04/2006 14:01

Quote:
As neat as I think the concept of doing FLAC on the empeg is, I have to ask: Who needs lossless in their *car*? I could understand wanting high bitrate MP3s, but why lossless?


I'm guessing bragging rights..

The guy who installed my EMPEG at a local auto-stereo shop said that he'd never install a 'ipod', mp3 player, in his car, because he cares so much for audio quality. When I told him the EMPEG could playback lossless audio files, his jaw dropped! Now never mind the fact that I bet this guy couldn't "pass" a blind A/B audio test...
Posted by: peter

Re: Current *working* lossless options? - 18/04/2006 14:03

Quote:
it was built from an earlier branch of the code tree, so it contains some bugs that were fixed in V2 final

Is that still true in alpha 11? Did the merge miss something?

Peter
Posted by: sein

Re: Current *working* lossless options? - 18/04/2006 14:28

Quote:
Quote:
As neat as I think the concept of doing FLAC on the empeg is, I have to ask: Who needs lossless in their *car*? I could understand wanting high bitrate MP3s, but why lossless?

I'm guessing bragging rights..

As someone who has roughly 50% of my music as FLAC at home, I really don't care to have it in my car. MP3s sound great in amongst the road noise of London traffic. I suppose if you had a really quiet car, like a Lexus LS, BMW 7, Jag XJ, or S-Class... with the double glazing option ticked too, it *might* swing it!
Posted by: petteri

Re: Current *working* lossless options? - 18/04/2006 15:28

Quote:

As someone who has roughly 50% of my music as FLAC at home, I really don't care to have it in my car. MP3s sound great in amongst the road noise of London traffic. I suppose if you had a really quiet car, like a Lexus LS, BMW 7, Jag XJ, or S-Class... with the double glazing option ticked too, it *might* swing it!


I'm in the same boat, I've got 99% of my music encoded as FLAC, for my main listening at home. The MP3s reside on another computer for transfer to the EMPEG and what ever flavor of portable MP3 player is in fasion at the house. I've tried out the FLAC stuff in the car (a very noisy Toyota Prius, except at a stop! ) and its just not worth it in my case anyway.
Posted by: mbcouple

Re: Current *working* lossless options? - 18/04/2006 18:39

I will not be using the analog section of the empeg. I am installing the digital output card, and running i2s into a cusom processor i have modified. Sound quality is important in this installation. I have an iriver h120 modded and rockbox installed for FLAC payback over optical. I just want the much slicker interface of the empeg. Whereas you all are correct, with roadnoise it make litte difference FLAC vs LAME, but at a standstill when you are demoing your installation, that is when it matters. I am crazy. I spent over $2000 on servo controlled velodyne subwoofers, have LCY130 ribbons installed that play flat out to 60khz, and am using seas lotus midbass drivers and hybrid tube amps. I have even constructed my own cd transport for the car. I am simply trying to replace the iriver with the empeg.
Thanks
Hans
Posted by: sein

Re: Current *working* lossless options? - 18/04/2006 19:29

Dude, you definately justify FLAC for competitions and your setup - hope you get it working!
Posted by: andym

Re: Current *working* lossless options? - 18/04/2006 19:52

Wow! You've got to post some pictures of that setup.
Posted by: CrackersMcCheese

Re: Current *working* lossless options? - 18/04/2006 20:11

Don't mean to make the empeg sound bad but... its old old technology (relatively speaking). Given that its the weak point in the setup will it be capable of delivering what true audiophiles want?
Posted by: rob

Re: Current *working* lossless options? - 18/04/2006 20:20

Quote:
Don't mean to make the empeg sound bad but... its old old technology (relatively speaking). Given that its the weak point in the setup will it be capable of delivering what true audiophiles want?

I fail to see how an empeg playing FLAC via SPDIF can deliver anything other than perfect data..?

Even the analogue outputs are a hell of a lot cleaner than most head units, including some of the high end ones.

Finally, how many other head units out there have a 20 band fully parametric EQ?

Rob
Posted by: Gleep

Re: Current *working* lossless options? - 19/04/2006 01:45

Quote:
I fail to see how an empeg playing FLAC via SPDIF can deliver anything other than perfect data..?

Rob


Then you must have yours setup different than mine. Mine has SPDIF, V3Alpha11, extra memory using the stacked chips method and it glitches every few minutes when it goes to fill the buffer. It is perfect for those few minutes. Ogg and Mp3 glitch only once and a while but not everytime it fills the buffer like FLAC does.
Posted by: sein

Re: Current *working* lossless options? - 19/04/2006 04:20

Quote:
Don't mean to make the empeg sound bad but... its old old technology (relatively speaking).

old != bad
Posted by: Roger

Re: Current *working* lossless options? - 19/04/2006 07:29

Quote:
extra memory ... it glitches


That's because the player glitches when filling that extra memory. I believe that there might be a workaround for this in a recent Hijack.
Posted by: Gleep

Re: Current *working* lossless options? - 19/04/2006 10:00

Quote:
That's because the player glitches when filling that extra memory. I believe that there might be a workaround for this in a recent Hijack.


If you mean the ReserveCache setting, I've played with that setting alot, but so far, no joy : ( Do you know the Magic number to set it to? The only extra app I am running is Hijack.
Posted by: Robotic

Re: Current *working* lossless options? - 19/04/2006 12:50

For those who use FLAC- how can I translate it to mp3? I just got a bunch of FLAC for the first time and have no idea what to do with it...

Thanks!
Posted by: tonyc

Re: Current *working* lossless options? - 19/04/2006 13:07

flac -d -c file.flac | lame - file.mp3

The | is a pipe character. Add any other LAME options you normally use for MP3 encoding.
Posted by: CrackersMcCheese

Re: Current *working* lossless options? - 19/04/2006 13:50

More just a question of general interest as I genuinly didn't know the answer. It was never designed with the intention of digital soundcards being added, or playing FLAC. Was intererested to see how it stood up
Posted by: Robotic

Re: Current *working* lossless options? - 19/04/2006 18:23

Quote:
flac -d -c file.flac | lame - file.mp3

The | is a pipe character. Add any other LAME options you normally use for MP3 encoding.

Whups- sorry, me no espeak da g33k. Is that some BASH prompt command?
I was hoping for a freebie windoze application recommendation.
Posted by: Roger

Re: Current *working* lossless options? - 19/04/2006 18:36

Quote:
I was hoping for a freebie windoze application recommendation.


That'll work just fine on Windows as well. It, too, has pipes.

Or, it you prefer, you can download the simple command-line application that I wrote for converting music. It needs the LAME and FLAC binaries, but basically does the pipe for you, and also copies your tags across (well, the tags I use, anyway).

Or, probably even better for you, is to look at dBPowerAmp, which is reputedly very good at this kind of thing. I've never used it, however.
Posted by: wfaulk

Re: Current *working* lossless options? - 19/04/2006 19:07

I realize that it defeats the purpose of having installed that extra memory, but would a process that just malloc()ed all of that extra memory help in this situation?
Posted by: Robotic

Re: Current *working* lossless options? - 19/04/2006 21:50

Thanks, Roger- I'll have to wait to play around with it, though.
I'll be away from home for about three weeks on a business trip- to England, as it happens.
Anyone near Earby, Lancs is welcome to swing by and see my robots play with laser beams at our UK facility. Pints are my treat- in the evening, that is!
Posted by: hybrid8

Re: Current *working* lossless options? - 22/04/2006 11:31

You won't be able to tell the difference between a really well encoded MP3 and the same song as FLAC. Not on the equipment you list, unless it's doing something to alter/color one of the tests. It doesn't really matter if it's in a car, on a bus, on a plane or on a train. Or in a home or in a studio. With Dr. Seuss or with a moose. Unless you or the people you're demoing for have some super golden ear... And a large percentage of those claiming they do are either lying or delusional.

It might be easier for some people to do a straight lossless FLAC encode than to set options to get a nice MP3. But if your rip introduced the noise, it doesn't matter what you encode with anyway.

But anyone using tubes for amplification obviously doesn't care about reproducing the true sound of the recording.

Bruno
Posted by: mbcouple

Re: Current *working* lossless options? - 22/04/2006 17:24

I agree and disagree. It is possible to do a good mp3. But a flac file will always be better. As to your comment on tubes, you may be correct, but they are only used as preamps on the units i have chosen. They are well implemented, and have over a 200v supply, not just being used as a noise filter. They do offer some coloration, but total thd is well below 1%. If a car is in motion, you will not be able to hear the difference, but in the correct setting, mp3 is decernable from flac. The setup i have is only limited to the recording, it is capable of prodcing beyond the spectrum of hearing in both directions, but you can detect upper and lower end roll-ffs. Early mp3 rolled off way to early to compress the files. When your ribbons dont start rolling off till 40k and have usable responce to 60k, you want the recording to hold up. Dont forget, the audio itself is only half the battle. We are all after some degree of bragging rights, or we wouldnt have adopted the empeg. BTW, with car audio, measured system response and accuracy is part of the judging, not just subjective listening tests.
Hans
Posted by: CrackersMcCheese

Re: Current *working* lossless options? - 22/04/2006 18:39

Quote:
it is capable of prodcing beyond the spectrum of hearing in both directions


The local bats, dogs and dolphins will be impressed
Posted by: Mataglap

Re: Current *working* lossless options? - 22/04/2006 18:49

Hans,

Interesting setup you've got. How do you do a double-blind test to remove the placebo effect when comparing flac vs. mp3? Do you guys do both perceptional tests as well as pure analytical comparisions?

Analytically, no question mp3 is going to be different from flac or the original source, and it's going to be a lot easier to quantify those differences. And since mp3 (and lossy compression in general) is about perception, it's going to fail pure analytical comparisions.

Almost everyone can't tell the difference between original souce and mp3's encoded by lame using the --preset standard settings. There =are= a few people who have repeatedly demonstrated the ability to distinguish lossy encoded files.

But all of those test setups have only been done via software on pcs, and not on very high-end equipment. And the few times I've been able to listen to music on crazy high-end gear, I do believe it makes a difference.

I wonder if reliable and repeatable ABX testing on very high end audio equipment would increase the numbers of people who distinguish compressed music from the original, or change the qualtity level that it can be distinguished at?

--Nathan
Posted by: tfabris

Re: Current *working* lossless options? - 22/04/2006 18:50

Quote:
It is possible to do a good mp3. But a flac file will always be better.

But not SO MUCH better that it's worth the trouble, worth disk space, worth keeping the drive spun up all the time, worth dealing with the unstable alpha software, etc.

I figure, if I really want the highest quality output, I'll do 320kbps MP3s and be able to use all the current and well-proven tools without hassle.
Posted by: canuckInOR

Re: Current *working* lossless options? - 22/04/2006 20:46

Quote:
We are all after some degree of bragging rights, or we wouldnt have adopted the empeg.

No. Bragging had nothing to do with it, either then, or now. I've made no attempt to make a fantastic sounding system -- I use a flat EQ, stock speakers, and a pair (my truck had a sub installed in it when I bought it) of way-less-than high end amps required because the empeg is my sole head unit.

I adopted the Empeg because, after a few months of research, I decided that it was (and still is) the best solution for not having to carry piles of CDs around in my truck.

Cheers,
Posted by: Robotic

Re: Current *working* lossless options? - 22/04/2006 22:16

Quote:
I adopted the Empeg because, after a few months of research, I decided that it was (and still is) the best solution for not having to carry piles of CDs around in my truck.

Amen to that!
All the extra doo-dads are just for fun, in my world.
Posted by: mbcouple

Re: Current *working* lossless options? - 22/04/2006 23:17

I will do some testing at the next competition i attend with some of the trained judges if i can get them to comply. Lame was a great advancement for lossy formats, and i use it on my portable players. I know this topic is a can of worms, and there is argument for both cases. I guess the best thing to do would be admit i want lossless whether i need it or not, and would like to know if the empeg can do it, or if i should stick to the rockbox modded i-river h120 for now.
Thanks
Hans
Posted by: TigerJimmy

Re: Current *working* lossless options? - 23/04/2006 01:43

Quote:
When your ribbons dont start rolling off till 40k and have usable responce to 60k, you want the recording to hold up.


I think this is extremely misguided, and suggests a lack of understanding of how digital music works. The original CD that you get your "lossless" files from has a sampling rate of 44kHz. As such, it can only reasonably represent frequencies in the original recording up to about 22kHz (google the Nyquist theorem). Even at 22kHz, it won't have much fidelity. In other words, your speakers do NOT have "reasonable response" to 60kHz, because they are limited by other parts of the system (the source). Its silly to have speakers that are flat out to 60kHz because the source is only good up to something less than 22kHz. In fact, you could argue that you may even want to filter anything above the Nyquist rate, as it is probably extremely noisy. This is OK, however, because human hearing is typically considered to extend only to 20kHz. For that matter, any sampling noise is probably inaudible too.

If you want to acoustically represent something that comes out of a signal generator (rather than a CD), and is considerably beyond the range of human hearing, then fine. But it ain't about the music. In fact, it ain't about the "sound" either, because "sound" is the human perception of air resonating up to about 20kHz. Oh, and if you're going to do that with the idea that you are going for accuracy, then you don't have tubes in the circuit. "Color" is another word for "distortion".

That's why I'm an engineer, I suppose. I think those practical considerations are the whole point. If you want to rub money on it for the sake of "bragging rights", that's cool. I guess we have different world views, is all

Jim
Posted by: tanstaafl.

Re: Current *working* lossless options? - 24/04/2006 03:11

You won't be able to tell the difference between a really well encoded MP3 and the same song as FLAC.

Agreed.

I have a reasonably high-end system installed in my car, and when people deride me for playing those awful-sounding lossy MP3 files, I sit them in the car and play a special demo file I have prepared: a track from one of the IASCA competition disks, repeated six times, three times as a .wav file, three times as an MP3, random shuffled.

So far NOBODY has been able to reliably tell which was which.

tanstaafl.

ooops, sorry Bitt -- nobody has been able to tell reliably which was which.
Posted by: tfabris

Re: Current *working* lossless options? - 24/04/2006 03:56

You Bitted yourself. I've heard you can go blind doing that.
Posted by: wfaulk

Re: Current *working* lossless options? - 24/04/2006 13:52

Quote:
Early mp3 rolled off way to early to compress the files.

Well, yeah, the highend rolloff was set by certain encoders to be kinda low. But that has nothing to do with mp3 itself. That's like complaining that Jimi Hendrix is a terrible guitarist because he can't produce a good sound on that guitar you found in your attic that's been sitting there since 1943 when your great-grandfather bought it from the Sears catalog for 99¢.

In addition, it was only the default setting, at least for LAME. You could always change it, at least as far back as I can remember.
Posted by: tanstaafl.

Re: Current *working* lossless options? - 24/04/2006 22:26

You Bitted yourself. I've heard you can go blind doing that.


Naahh, I'll just do it until I need glasses.

tanstaafl.
Posted by: schofiel

Re: Current *working* lossless options? - 25/04/2006 07:20

I thought you already had glasses?
Posted by: canuckInOR

Re: Current *working* lossless options? - 26/04/2006 02:32

'til he needs thicker glasses?
Posted by: jv8

Re: Current *working* lossless options? - 25/05/2006 13:02

Quote:
You won't be able to tell the difference between a really well encoded MP3 and the same song as FLAC.


Maybe so... but it sure is a hassle trying to figure out how to create a "really well encoded MP3". I've encoded my music library 3 times now and I can still tell the difference between a CD and my 320kbps EAC/LAME encoding. I use empeg w/ SPDIF out into a fairly high-end system. With FLAC I'd just be done with it once and for all... storage is cheap these days. Plus I could use the same files for home and car.

Regarding the "noisy" car environment where everybody seems to think mp3 distortion should be tolerated... here's my problem: road noise tends to be lower frequency. Audio compression artifacts tend to be very high frequency. My car audio system response is flat to 20KHz. I can be driving 80mph with the windows open and the music bass will disappear but I will still hear the high freq mp3 errors!

So to me they are compounded errors - I now hear road noise PLUS compression artifacts. I choose to fight both as much as possible.
Posted by: mbcouple

Re: Current *working* lossless options? - 25/05/2006 13:10

If you look a couple posts down, i did get flac to playback. It took some small changes to the config file forcing the drives to stay spinning at all times. Playback quality was excellent. Playing FLAC files made with EAC was as good as my reference transport for the car.
Thanks
Hans
Posted by: Roger

Re: Current *working* lossless options? - 25/05/2006 13:20

Quote:
I've encoded my music library 3 times now and I can still tell the difference between a CD and my 320kbps EAC/LAME encoding.


Well, then, you've got good ears. My first suggestion is to follow mbcouple's tips for getting FLAC to work properly on the empeg. My alternative suggestion is simply to turn the volume up. After a couple of months, you'll no longer be able to spot the difference. It worked for me
Posted by: jv8

Re: Current *working* lossless options? - 25/05/2006 13:37

Quote:
Quote:
I've encoded my music library 3 times now and I can still tell the difference between a CD and my 320kbps EAC/LAME encoding.


Well, then, you've got good ears.


Don't get me wrong... 320kbps EAC/LAME sounds very good! In fact, probably good enough. But if I quit now, what would I tinker with? It's an obsession.

Another thing that drives my car audio obsession is the fact that my commute is about the only chance I get to listen to music. Once our first child arrived, life at home became too hectic.
Posted by: tfabris

Re: Current *working* lossless options? - 25/05/2006 17:44

Quote:
Regarding the "noisy" car environment where everybody seems to think mp3 distortion should be tolerated... here's my problem: road noise tends to be lower frequency. Audio compression artifacts tend to be very high frequency. (...) So to me they are compounded errors - I now hear road noise PLUS compression artifacts. I choose to fight both as much as possible.

Well spoken, sir. Agreed.

Quote:
but it sure is a hassle trying to figure out how to create a "really well encoded MP3".

Not as much of a hassle as trying to get FLAC to work reliably under alpha firmware on a player that was designed from the beginning to tolerate the data rate of MP3s.

Just use EAC/LAME and set LAME to its highest possible VBR and quality settings. Or heck, just do 320k CBR MP3s. You'll still use significantly less disk space and cache RAM than FLAC would.
Posted by: Gleep

Re: Current *working* lossless options? - 06/01/2007 19:10

Quote:
If you look a couple posts down, i did get flac to playback. It took some small changes to the config file forcing the drives to stay spinning at all times.


Instead of having the drives spin all the time would it be possible to have a third party app (HiJack for example) monitor the music application buffer and spin up the drives just before the music app needs them? I assume the problem is something like this: the music app waits till the buffer get down to x% and then refills it, but with flac using up the buffer so much faster it gets exhausted before the drives can spin up and refill the buffer. If x were say 5%, if something spun up the drives at say 7%, by the time the music app tried to read from the drives to refill the buffer, the drives would already be spinning and yet could still be spun down as much as possible.
Posted by: tfabris

Re: Current *working* lossless options? - 06/01/2007 20:13

In theory, that's what the V3 alpha code is supposed to do all by itself with no outside help.