None of this has anything to do with the original post that kicked it off by one member mentioning graining and "a stair-step".
It is because we are mostly arguing technical semantics and scope/context.
What part don't you agree with in "Pulse width modulation modulates pulse width. Pulse density modulation modulates pulse density. Thus PWM is a subset of PDM with the constraint that all pulses related to one sample are contiguous. PCM (and DSD) is a fixed-frequency, fixed-pulse-width data stream (in the case of standard DSD, the data is 1 bit wide)."?
PCM: Pulse Code Modulation. A digital format, used for example in CD, whereby a digital signal is represented by an accurate representation (e.g., 16 bits, meaning that the range -1,+1 is subdivided in 65536 sub-intervals) of the wave form at equidistant points in time (for example, in CD 44100 times per second a 16-bit approximation of the wave form is stored).
Pulse Density Modulation: A form of pulse modulation where a large positive signal is represented by a long series of positive pulses; a zero signal is represented by alernating positive and negative pulses.
In other words they do not work the same from the pulse-train/binary code perspective and why all digital manufacturers differentiate between DSD and PCM, and why it is not called 1-bit PCM conversion to PCM conversion but DSD to PCM conversion, and require radically different signal processing.In a PDM signal, specific amplitude values are not encoded into pulses as they would be in PCM.
Instead it is the relative density of the pulses that corresponds to the analog signal's amplitude.
Julf a stair step does exist in both theory and sort of from alias artifacts, sorry but Monty actually accepted this when I debated this some time ago; we both agree it is not "the stairstep" but "a stair or step".
In fact to quote Philips from a paper discussing DSD and the other application note
What part don't you agree with in "Pulse width modulation modulates pulse width. Pulse density modulation modulates pulse density. Thus PWM is a subset of PDM with the constraint that all pulses related to one sample are contiguous. PCM (and DSD) is a fixed-frequency, fixed-pulse-width data stream (in the case of standard DSD, the data is 1 bit wide)."?
Going by what you say you would expect the bitstream output to be identical between DSD and PCM (talking of PCM NOT using a SDM DAC, and even if going through modern SDM one notes there is an internal conversion process).
You agree with that yourself yes?
As Julf and JJ mention SDM is integral to 1-bit stream in general (never disagreed with that, and more technical info has already been discussed in many threads here), however DSD by Sony utilises PDM encoding.
If you feel that strongly maybe you should correct Miska (I think involved in the development of HQPlayer) over on Computeraudiophile and his own thoughts on difference between PCM and DSD-PDM.
Orb
Again they are keeping PCM to the classical definition that I have mentioned earlier, due to the fact 1-bit must switch to PDM/PWM type of encoding rather than explicit defined binary code values for amplitude.Figure 1s hows a sine wave both in PCM format and DSD format.
The only visible resemblance between the two wave forms is that where the sine has a large positive value, the DSD stream has a relatively large number of ’+1’ values, whereas in the areas where the sine wave has a large negative value, a lot of ’-1’ values are present in the DSD stream.
The DSD signal is thus akin to a pulse density modulated version of the PCM signal.
Typically, DSD is generated with the use of a Sigma Delta Modulator (SDM - see Sec. 3).
However, this is not mandatory, since the Scarlet Book does not prescribe how a DSD bitstream should be generated [3]. This extreme freedom makes it possible to use other and future techniques for bit-stream generation, e.g., the techniques described in [4, 5, 6, 7].
Rather irrespective of the number of bits, high sample rates in the digital world are desirable because the larger the sample rate, the less the audio artefacts introduced
by the time quantization. We will review a few examples, which show that through the use of SA-CD and DSD, signal distortions due to the time quantization are virtually absent.
Yes it does Julf, it is integral to the transfer function with quantization.I admire your debating skills, but the stair step does not exist "in theory". What you have are discrete time points.
OK I just managed to find one of the other Philips papers I own on the net.
Page 2 has the graph representing both PCM and DSD (bear in mind this is written by engineers involved with DSD).
...
The DSD signal is thus akin to a pulse density modulated version of the PCM signal.
...
due to the fact 1-bit must switch to PDM/PWM type of encoding rather than explicit defined binary code values for amplitude.
Yes it does Julf, it is integral to the transfer function with quantization.
As JJ pointed out, there really is no stair step. There is a collection of regularly spaced impulses.
Could you please stop quoting papers and actually answer my questions?
Note the word "akin". Do you think there perhaps is a reason why they specifically use that word?
1-bit "must" not switch into anything. 1-bit is a special case of multi-bit. Nothing magic.
OK I just managed to find one of the other Philips papers I own on the net.
And btw remember I said it exists in technical theory not physical representation as such, this is why dither is required you know as that theoritical step is what causes the quantization error-distortion
...
But of course that is a perfect sinewave rather than with flat "steps" [sarcasm], however this cannot be computed by some because digital must never be shown how a natural signal looks before a further artificial noise source is added.
I really don't have anything to add to that wonderfully articulate posting.
The second case illustrates the affect of quantizing resulting in a stair case like transfer function. In this case the quantization error is from 0 LSB to 1 LSB. The last graph illustrates an ADC model that shifts the transfer function to center the quantizing error over the conversion intervals. In this case, the quantization error is +/- ½ LSB. In both cases the quantizing error is 1 LSB, but the relationship of the conversion value to the input voltage is shifted by ½ LSB.
Not linking the various degree engineering couse notes I have just to "win" (seems that is how you are approaching this thread to me) an argument as that would be naughty, but it is very easy to find relevant papers on the web.
In fact to help you out just done that and look:
http://www.eecs.umich.edu/eecs/courses/eecs373/labsW14/lab7/index.html
Before you respond remember I am stating a) transfer function "stair" is a theoritical step, b) the alias artifacts "looks like" a step or stair especially with NOS DACs due to no reconstruction filter, c) a non-dithered very low 16-bit signal will also "look" like a step structure, try it again at 24-bit and it will be smooth as shown by Stereophile HOWEVER in reality an additional artificial noise source (dither) is added to the original signal so this is not an issue.
I have a very simple a basic test to prove or disprove this argument.
Take a dsd 128 of a really good recording and down sample the recording to different levels . 24/192'. 24 /176. Down to 16/44. And see at what point it matters to the sound. I have some ref class music I use. It's only 16/44. But it is more then enough to show a systems good and bad. For me anything above 24/96 I really cannot discern accurately . I am willing to bet most all here cannot either.