And "data" is what?
Information.
Data is data whether it exists as a discrete magnetic state on a disc or a penciled tic mark on a sheet of paper.
Correct - but a class-D amplifier pulse train IS NOT DISCRETE.
It's voltage level is discrete - but it's pulse width is analog... and pulse width is what is encoding the data.
If you had a limited number of pulse widths (say the pulsewidth could be from 0-256 uS wide, in 1uS discrete steps) it would be digital. You could have a pulsewidth of 0,1,2, etc uS but not 1.275 uS.
...but in most class-D amps the pulsewidth can take on an infinite (non-discrete) set of values. It CAN be 1.2785678uS wide. It's an analog signal.
If there aren't a discrete number of states, it ain't digital.
Once again, class D uses MOSFET binary switches with discrete on and off states. By definition that is digital.
No, it isn't.
It uses discrete on/off states - but it doesn't keep it on or off for discrete values of time.
Just because a class D amp facilitates pulse width values instead of digital data flow, does not mean it is not digital in function.![]()
Correct.
If there are a discrete number of possible pulse widths - it IS digital... and there ARE class-D amplifiers built this way, although a tiny minority.
If there are an infinite number of possible pulse widths - it isn't digital... because the data is encoded in time, not voltage - and the encoding scheme IS NOT DISCRETE.
It is because of this digital state of functioning (rather than facilitating digital data flow) that blurs the lines between analog/digital conversion.
Most class-D amps don't do an A/D conversion. It's a really inefficient way to generate a PWM stream.
This is a good thing as digital technology evolves to more perfectly represent the pure analog nature of a vibrating bass string.
A pulse train run through a low pass filter is purely analog - or at least as purely analog as something can be.