Analog or Digital for your tunes

A place where you can chat about anything that isn't to do with games!

So which one?

Analog
6
27%
Digital
11
50%
Like Women I can't choose one
5
23%
 
Total votes: 22

The Expanding Man
Posts: 96
Joined: Fri Apr 16, 2010 11:59 pm

Re: Analog or Digital for your tunes

Post by The Expanding Man »

Ex-Cyber wrote:
louisg wrote: so realistically a CD is never going to faithfully reproduce sound all the way up to 22KHz
In fact, at 22khz, all redbook can reproduce is a square wave. That's a major loss of resolution (it can't get much worse!!).
The Expanding Man
Posts: 96
Joined: Fri Apr 16, 2010 11:59 pm

Re: Analog or Digital for your tunes

Post by The Expanding Man »

thegreathopper wrote:Vinyl sounds awful unless you love distortion

One of these, or a combination of these, is your culprit:

Worn out stylus
Bad Cartridge alignment
Incorrect tonearm balancing / weight
Dust (on the stylus and/or vinyl)
A poor RIIA correction in your phonostage.

Vinyl is quite laborious. It's a lifestyle decision :lol:
User avatar
mesh control
Posts: 2496
Joined: Mon Dec 21, 2009 1:10 am
Location: internet

Re: Analog or Digital for your tunes

Post by mesh control »

Image
lol
Ex-Cyber
Posts: 1401
Joined: Thu Oct 25, 2007 12:43 am

Re: Analog or Digital for your tunes

Post by Ex-Cyber »

The Expanding Man wrote:
Ex-Cyber wrote:
louisg wrote: so realistically a CD is never going to faithfully reproduce sound all the way up to 22KHz
In fact, at 22khz, all redbook can reproduce is a square wave. That's a major loss of resolution (it can't get much worse!!).
A standard feature of digital playback/reproduction systems is a reconstruction filter. Basically, this is a low-pass filter on the output with a cutoff frequency near the Nyquist frequency. It's there precisely to get rid of the higher harmonics of the raw digital signal. In short, even if the raw samples on the disc look like a square wave, that's not what you'll hear (actually you would never hear a true square wave since something would attenuate some of the higher harmonics).
louisg wrote:Yeah, it seems like logically that the reduced resolution-per-wavecycle close to nyquist should result in some amount of (potential?) distortion for very high frequencies. It seems though like a lot of that would be the responsibilities of the ADC (when recording) and the DAC (when playing back).
Antialiasing (recording) and reconstruction (playback) filters are generally considered standard parts of the sampling and reproduction processes, and are often integrated into ADC and DAC chips, but they're not strictly part of the digital domain. They still have limitations, though (some theoretical, some practical). I'm not an expert on audio applications, so I don't really know what kinds of things have been done in that field to minimize distortion.
I'm not sure what difference a signal being synthesized in the digital domain would have: Fourier's theorem says that any sound, recorded or otherwise, can be precisely decomposed into sinewaves.
A discrete-time signal can't really represent a frequency component higher than the Nyquist frequency (aka "folding frequency" aka fs/2). When sampling an analog source, frequencies higher than the Nyquist frequency don't just disappear, though, they get "reflected" and show up as frequencies below it. For example, if you sample a 23KHz component with a sampling rate of 44KHz, it will produce a 21KHz component in the digital signal. Likewise e.g. a 43KHz component would produce a 1KHz component. Thus a recording system must have a low-pass filter on the input to attenuate higher frequency components. The difference is that a digitally synthesized signal (assuming it's synthesized at or below the sampling rate at which it will be recorded) isn't being sampled and thus won't have higher frequency components and won't require an antialiasing filter.
User avatar
cools
Posts: 2057
Joined: Mon Nov 26, 2007 4:57 pm
Location: South Wales
Contact:

Re: Analog or Digital for your tunes

Post by cools »

Square waves make me wet.
Image
User avatar
Domino
Posts: 1346
Joined: Sat Feb 16, 2008 11:35 pm
Location: Florida

Re: Analog or Digital for your tunes

Post by Domino »

That picture reminds me that I need to pick up Blue Train (Coltrane) one of these days.
User avatar
thegreathopper
Posts: 212
Joined: Mon May 16, 2005 6:15 pm
Location: London England

Re: Analog or Digital for your tunes

Post by thegreathopper »

kernow wrote:Don't bin the michell! I'll have it! :D

My dad used to have a michell hydraulic reference, the same one used in clockwork orange.
Unfortunately it is not a michell hydraulic reference, Mine is a Focus one with red mat. I was just about to say you could have it but maybe I should ebay it instead. 8)
http://www.avforums.com/forums/hi-fi-sy ... eeded.html
Fight war not wars
User avatar
kernow
Posts: 1225
Joined: Mon May 26, 2008 8:26 pm
Location: Plymouth, Devon, UK

Re: Analog or Digital for your tunes

Post by kernow »

nahhh

:P

Is our friendship not worth £300-350

:o :(
User avatar
louisg
Posts: 2897
Joined: Wed Jul 20, 2005 7:27 pm
Location: outer richmond
Contact:

Re: Analog or Digital for your tunes

Post by louisg »

Ex-Cyber wrote:
I'm not sure what difference a signal being synthesized in the digital domain would have: Fourier's theorem says that any sound, recorded or otherwise, can be precisely decomposed into sinewaves.
A discrete-time signal can't really represent a frequency component higher than the Nyquist frequency (aka "folding frequency" aka fs/2). When sampling an analog source, frequencies higher than the Nyquist frequency don't just disappear, though, they get "reflected" and show up as frequencies below it. For example, if you sample a 23KHz component with a sampling rate of 44KHz, it will produce a 21KHz component in the digital signal. Likewise e.g. a 43KHz component would produce a 1KHz component. Thus a recording system must have a low-pass filter on the input to attenuate higher frequency components. The difference is that a digitally synthesized signal (assuming it's synthesized at or below the sampling rate at which it will be recorded) isn't being sampled and thus won't have higher frequency components and won't require an antialiasing filter.
Right, but the point is that you're brickwalling out those >22khz frequencies so they don't alias. Normal humans can't hear that high anyway, so even a little bit of rolloff isn't going to hurt much.

Digitally synthesized sounds also have to deal with aliasing: you can try this if you generate a sine wave above the nyquist rate. That's one thing that makes even simple synthesis so processor-intensive: A lot of applications will oversample like crazy or use non-naive non-table-driven bandlimited synthesis to avoid those nasties. So, even if everything is generated digitally, you will have a little bit of rolloff as you get near nyquist.

I'd even argue that recordings have an advantage in that you can use expensive non-realtime algorithms to downsample from a high rate (where nyquist is twice human hearing's limit) instead of having to settle for a cheaper on-the-fly method.

BTW, to The Expanding Man, if CD players generated a squarewave near nyquist, you'd know pretty fast! :D I think phase shifts manifest as a loss of amplitude around that pitch.
Humans, think about what you have done
User avatar
subcons
Posts: 627
Joined: Mon Feb 28, 2005 5:27 am
Location: Baltimore, MD

Re: Analog or Digital for your tunes

Post by subcons »

Digital certainly dominates my listening time for the sake of convenience. But I do love my modest vinyl collection. Nothing really compares to vinyl as far as the type of sound you get from it compared to an MP3.
User avatar
Ed Oscuro
Posts: 18654
Joined: Thu Dec 08, 2005 4:13 pm
Location: uoıʇɐɹnƃıɟuoɔ ɯǝʇsʎs

Re: Analog or Digital for your tunes

Post by Ed Oscuro »

louisg wrote:Vinyl is often perceived as warm and punchy. Warm is generally a lack of high frequencies, and punchy is often the consequence of non-linear distortion.
Also, LULZ @ people who say "warm" and "cool" in terms of audio.

I actually do enjoy listening to stuff on tape now and then, but good digital masters are simply cleaner and more of the frequencies come through. (I never have listened to vinyl, but that typical cassette noise hiss has its charm sometimes.)
Ahh, lovely aliasing on the cover; vinyl strikes again!
User avatar
Alec
Posts: 410
Joined: Wed Dec 06, 2006 11:08 pm

Re: Analog or Digital for your tunes

Post by Alec »

Jockel wrote:
GaijinPunch wrote:Uncompressed Digital
Ex-Cyber
Posts: 1401
Joined: Thu Oct 25, 2007 12:43 am

Re: Analog or Digital for your tunes

Post by Ex-Cyber »

louisg wrote:Digitally synthesized sounds also have to deal with aliasing: you can try this if you generate a sine wave above the nyquist rate. That's one thing that makes even simple synthesis so processor-intensive: A lot of applications will oversample like crazy or use non-naive non-table-driven bandlimited synthesis to avoid those nasties.
Simple synthesis is not especially intensive compared to its sample rate. Early sound chips mostly just had counters and/or sine ROMs hooked up to a DAC, and there are a bunch of other applications where you pretty much just use a phase accumulator indexing a sine table or other sampled waveform (IIRC this is the basis for Yamaha's "FM" chips as well as the SID, but it's been a while since I've read up on them so I could be getting mixed up). Anyway, my point was that if you're doing direct digital synthesis at the target sample rate, you can't really get "aliasing" in the conventional sense, because those higher frequencies just don't exist. As for oversampling, that's typically done for the sake of making it easier to digitally filter the signal (because analog filters tend to be pretty finicky and unreliable compared to digital ones). For example, I've heard that CD players commonly interpolate to something like 176KHz (I don't recall the exact number) for digital reconstruction filtering.
User avatar
louisg
Posts: 2897
Joined: Wed Jul 20, 2005 7:27 pm
Location: outer richmond
Contact:

Re: Analog or Digital for your tunes

Post by louisg »

Ex-Cyber wrote:Simple synthesis is not especially intensive compared to its sample rate. Early sound chips mostly just had counters and/or sine ROMs hooked up to a DAC, and there are a bunch of other applications where you pretty much just use a phase accumulator indexing a sine table or other sampled waveform (IIRC this is the basis for Yamaha's "FM" chips as well as the SID, but it's been a while since I've read up on them so I could be getting mixed up). Anyway, my point was that if you're doing direct digital synthesis at the target sample rate, you can't really get "aliasing" in the conventional sense, because those higher frequencies just don't exist.
That's just not true; here are a couple audio examples:
http://www.gorenfeld.net/lou/alias1.wav
This is a simple sinewave steadily climbing, going above nyquist (22khz), until it settles at 43800hz. But, what you hear is not a sinewave at 43800hz but a sinewave at 300hz since it's aliased. This happens because the rate at which the audio "snapshots" are taken of the sinewave are not fast enough to capture the rate-- it's kind of how if you shine a strobelight on a wheel, and spin the wheel fast enough, the wheel will appear to be going backwards even though it's actually traveling forwards.

http://www.gorenfeld.net/lou/alias1.wav
This is the exact same thing but with a simple/naive sawwave (ramp up). In this, you hear aliasing *well before nyquist* because the frequency components which make up the signal have already folded over the top! You can probably hear this in many cheap digital synthesizers (sid, gameboy, whatever) unless they are running at a very high rate (which they might be.. I haven't played with them too much).

Yamaha FM does alias quite a bit since it's not oversampled like modern digital synthesizers are. To hear this, make a really busy patch with a high modulation index and play high notes. It's especially audible if you use the pitch wheel. A lot of other digital synths have this problem too, like the MT-32 for instance.

Here is a popular method people use to avoid this problem:
http://www.experimentalscene.com/articles/minbleps.php

So, I won't argue that a not-so-good synth will go to this trouble, but on the topic of audio quality it's a huge issue in digital synthesis.
As for oversampling, that's typically done for the sake of making it easier to digitally filter the signal (because analog filters tend to be pretty finicky and unreliable compared to digital ones). For example, I've heard that CD players commonly interpolate to something like 176KHz (I don't recall the exact number) for digital reconstruction filtering.
Yeah, you get fewer problems with filters too IIRC at high rates. If you oversample before output, you can go with a filter with a gentler slope.. I'm not 100% clear on the details there.
Humans, think about what you have done
User avatar
greg
Posts: 1854
Joined: Wed Jan 26, 2005 4:10 am
Location: Gunma-ken, Japan
Contact:

Re: Analog or Digital for your tunes

Post by greg »

Minidisc! I'm the only person who has a car MD player, it seems. Like my dear friend Specineff, I still love MDs. I prefer to own music on CD because of the tangibility issue, but I do have a subscription to emusic.com and I download a lot of stuff from there each month. For making compilations and such, MD is the best format. A month or so ago a friend of mine gave me a SANSA Clip 2gb, so now I finally own an official mp3 player that isn't an MD player. It's great to stick something onto it that may or may not be worthy of having its own MD, but I still get more use out of my MDs.
Image
Undamned is the leading English-speaking expert on the consolized UD-CPS2 because he's the one who made it.
Ex-Cyber
Posts: 1401
Joined: Thu Oct 25, 2007 12:43 am

Re: Analog or Digital for your tunes

Post by Ex-Cyber »

louisg wrote:That's just not true; here are a couple audio examples:
http://www.gorenfeld.net/lou/alias1.wav
This is a simple sinewave steadily climbing, going above nyquist (22khz), until it settles at 43800hz. But, what you hear is not a sinewave at 43800hz but a sinewave at 300hz since it's aliased. This happens because the rate at which the audio "snapshots" are taken of the sinewave are not fast enough to capture the rate-- it's kind of how if you shine a strobelight on a wheel, and spin the wheel fast enough, the wheel will appear to be going backwards even though it's actually traveling forwards.
That's the kind of scenario I intend to exclude when I say "synthesis at the target sampling rate". Naturally, you can generate aliasing by doing what amounts to decimation in your synthesis process. Maybe I'm mangling the terminology or something, but the crucial issue is that you are calculating the samples, not sampling a physical wave that actually exists independently of your system and thus must be filtered.
User avatar
Warp_Rattler
Posts: 383
Joined: Fri Feb 15, 2008 5:48 am
Location: OR, US

Re: Analog or Digital for your tunes

Post by Warp_Rattler »

greg wrote:I do have a subscription to emusic.com
I love eMusic so very much; it's the supplier for probably 90% of my digital listening right now. I just hate the terrible realization that there's a lot of stuff out there, and just the albums I've got in my saved list will take me about a year and a half to acquire on my current plan.
greg wrote:SANSA Clip 2gb
Clip or Clip+? Either way, they're terrific little players. My wife's got the 2GB Clip and I've got a 4GB Clip+ with 4GB microSD card, which makes for more portable listening options than I can exhaust in one go. Gotta love that something so tiny has FLAC and OGG support, something a good amount of higher-profile portables lack.
User avatar
louisg
Posts: 2897
Joined: Wed Jul 20, 2005 7:27 pm
Location: outer richmond
Contact:

Re: Analog or Digital for your tunes

Post by louisg »

Ex-Cyber wrote:
louisg wrote:That's just not true; here are a couple audio examples:
http://www.gorenfeld.net/lou/alias1.wav
This is a simple sinewave steadily climbing....
That's the kind of scenario I intend to exclude when I say "synthesis at the target sampling rate". Naturally, you can generate aliasing by doing what amounts to decimation in your synthesis process. Maybe I'm mangling the terminology or something, but the crucial issue is that you are calculating the samples, not sampling a physical wave that actually exists independently of your system and thus must be filtered.
I'd argue that it's equivalent: the sinewave generated digitally above nyquist is a discrete representation of a continuous function just as a digital recording of audio is a discrete representation of a continuous waveform. As such, the aliasing can be dealt with in either case in a similar way: If you generate that sinewave at a higher sampling rate and just filter out the frequencies you don't want, they will no longer appear in the 44khz wave when decimated/downsampled. This is similar to an ADC oversampling and slicing out frequencies before the signal is passed onto whatever processes/plays it. In both cases, the digital signal is attempting to represent frequencies above its limit and, consequently, they are aliasing.
Humans, think about what you have done
User avatar
drunkninja24
Posts: 1802
Joined: Thu Oct 01, 2009 3:27 am
Location: MO

Re: Analog or Digital for your tunes

Post by drunkninja24 »

Pffft, Vinyl has nothing over the ultimate analog recording format......WATER! [/dethklok]

But seriously, for albums I really enjoy, I try to track down the Vinyl for simply because I really feel like I am purchasing something tangible. But I have a huge digital library for putting on my portable players or making big playlists when I just want to chill for a while. I'll whip out the Vinyl if I want to listen to a specific album for a while though.
User avatar
GaijinPunch
Posts: 15850
Joined: Mon Jan 31, 2005 11:22 pm
Location: San Fransicso

Re: Analog or Digital for your tunes

Post by GaijinPunch »

http://www.wired.co.uk/news/archive/201 ... and-vinyly

Vinyl +1

EDIT: Totally unrelated but years ago I used to bump elbows w/ one of the members of Subhead, but apparently he's not involved in this project.

EDIT 2: He's apparently passed away now, a few clicks away from the original link has taught me.
RegalSin wrote:New PowerPuff Girls. They all have evil pornstart eyelashes.
Post Reply