[sdiy] Generating a large number of CV outputs
Tom Wiltshire
tom at electricdruid.net
Thu Dec 14 23:36:48 CET 2023
> On 14 Dec 2023, at 21:27, Gordonjcp <gordonjcp at gjcp.net> wrote:
>
> On Thu, Dec 14, 2023 at 03:53:39PM +0000, Mike Bryant wrote:
>> If by 'continuous' you mean DC, then there is an image before filtering - at the sampling rate :-)
>>
>
> No. If you've got a DC output from a DAC, it's just that - DC. There's no change in level. You're writing the same value to it over and over, and it does not change.
>
> The output from a DAC is continuous. It does not have steps. It has steep slopes, but not steps. Even then, that's not going to allow the sample rate to leak out particularly. If you pick a pathological case where your DAC is swinging fully positive for one sample time and fully negative the next, you'll get a signal at half the sample rate. Even though that's a squarewave right at Nyquist, it still won't alias, because the harmonics are being generated *after* the discrete-time part.
>
> So I'm having a hard time seeing where these images could come from, or how you'd ever detect them. You definitely couldn't hear them.
The basic principle is that a given set of DAC output samples don't have a single interpretation, but many. Yes, the samples *could* represent a waveform below Nyquist, and they'd all be exactly where we expect them to be. But they *could equally well* represent a waveform *above* Nyquist and they'd *still* all be exactly where we expect them to be. Here's a little diagram demonstrating the idea - which of these two sinewaves was the intended output?
This can be extended indefinitely to higher and higher frequencies. If we want to limit the DAC's output to signals within a certain band, we *actually have to do that*, we can't assume it is already done for us. Maybe we can't *hear* them, but that doesn't mean we didn't just create a ton of ultrasonic noises, because we most likely did.
At least, that's how I understand it. If that's not right, perhaps someone else can correct me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://synth-diy.org/pipermail/synth-diy/attachments/20231214/ce75a153/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Digital-Audio-Basics-Aliasing-Explained.jpg
Type: image/jpeg
Size: 18637 bytes
Desc: not available
URL: <http://synth-diy.org/pipermail/synth-diy/attachments/20231214/ce75a153/attachment.jpg>
More information about the Synth-diy
mailing list