Would this kind of conversion keep my files lossless? or is this akin to converting mp3s to wavs??
They're lossless. WAV is lossless (when encoded as Linear PCM). No loss.
But wouldn't going from Apple lossless to wav cause similar issues as mp3-wav? Taking a compressed file and 'uncompressing' it causes artifacts.
But wouldn't going from Apple lossless to wav cause similar issues as mp3-wav? Taking a compressed file and 'uncompressing' it causes artifacts.
What exactly does lossless remove?
What is added again when converting to wav?
Is there changes in bit rates?
So do lossless codecs effectively get decoded back to PCM during playback?
Effectively, EVERYTHING gets decoded back to PCM during playback, which is then converted into an analog signal which drives your speakers.
So PCM is the best suited to A/D and D/A conversion, but is inefficient at storing data as bits?
Mp3 and other lossy codecs were just messy stop-gaps until we got lossless. Plus, for those who don't care about quality, take up less space.
And presumably in the future we will be recording directly to more efficient lossless codecs [such as Apple lossless]?
The easiest way to think of it is like this.
If there is a large part of the waveform for your music which contains no information (ie, it is silent), PCM would look like '000000000000000000000000000000' (very very very VERY simplified).
Apple Lossless would store it as '0 x 30', 30 being the number of 0s.
This isn't technically 'correct', but it gives you a vague understanding of how it works.
BMP vs PNG is exactly the same, they both produce exactly the same image, but PNG is much smaller than BMP.
FLAC uses linear prediction to convert the audio samples to a series of small, uncorrelated numbers (known as the residual), which are stored efficiently using Golomb-Rice coding. It also uses run-length encoding for blocks of identical samples, such as silent passages. The technical strengths of FLAC compared to other lossless codecs lie in its ability to be streamed and in a fast decode time, which is independent of compression level.
Run-length encoding (a very basic and specific sort of encoding) is what Killyp described above. See the linked bits in the original article for explanations of linear prediction and Golomb-Rice encoding. Hope you like math!
I hate maths even more now!!!! haha!
And from reading up through those wiki's I'm even more confused as to what it's doing! But thanks for the link. At least now I know not to get into coding or too deep into compression techniques!
Sorry to the O/P for half hijacking your thread!