Bombaywalla, Adjusted analog quantity is duty cycle. For instance, when you adjust oscillator's frequency by turning knob it doesn't matter if output signal is square, triangle or sinewave - your adjustment is still analog. The fact that voltage jumps between two level's doesn't make it digital if adjusted quantity is duty cycle. Also, amplifier doesn't make any use of these levels other than converting to output voltage by taking average value (filtering).
what you wrote about osc freq adjustment being analog is correct but.........
when it comes to a class-D amplifier, it is well-known & well-documented that this amplifier is a discrete-time system. You cannot analyze a class-D amplifier using pure analog techniques. The switcher portion of the class-D amplifier is treated as a digital/discrete-time system & discrete-time + analog analysis techniques are jointly used to analyze the entire system.
Pick up any book on SMPS & you will see what I mean. Basics of DSP that you would learn from a text like Rabiner & Gold are used in the analysis of class-D/SMPS systems.
Even tho' the switcher's main function is PWM (which might be a analog quantity of duty cycle variation), this part of the class-D amplifier IS digital. Make no mistake about it. What I'm gathering from your comments is that I do not think that you have ever analyzed or designed a SMPS or class-D amplifier hence you are so vehement with your comments.
Open up a SMPS text book & read a bit of the analysis of the system. You'll quickly find out that it's a discrete-time system - part digital & part analog.
Distorted electric guitar (square wave) dosn't make it digital. FM radio is not digital in spite of voltage moving between two levels.
these were bad examples. Of course, a distorted electric guitar wave is not digital 'cuz there are stable operating points at the flat tops, flat bottoms & all points connecting the flat top to the flat bottom. This is way different from the class-D switcher output that is stable at only 2 points: logic 1 or logic 0 & nothing in between.
And, FM is phase modulation - a very analog concept. Today it is digitized in HD radio for more noise immune over-the-air transmission. So, while the over-the-air transmission is digital or discrete-time, FM radio is still analog.
we understand this.......