That is *exactly* what happened. Well done! It was some kind of confusion in the interface (a power cycle fixed it) that caused it to drop every second sample and replace it with a 0. The aliasing wasn't entirely obvious due to the audio I was using.
-
-
I noticed when I turned on spectrogram view for 'B' and saw the mirror image spectrum... which wasn't *completely* implausible given 'B' was chiptune stuff recorded digitally, but bizarre... then I zoomed in to the PCM and saw every other sample was 0.
1 reply 0 retweets 2 likes -
It wasn't strictly speaking up/downsampling since everything involved was nominally 48kHz (so I was getting aliased 24kHz audio), but same effect.
1 reply 0 retweets 1 like -
Replying to @marcan42
was I right that the recording had made the same error
1 reply 0 retweets 0 likes -
Replying to @11rcombs
Yeah, that was why 'B' was special like that. 'A' was just some random stuff from another source. And the (digital) level meter of the interface was before the point in the pipeline where the sample dropping happened, so it always showed activity.
1 reply 0 retweets 1 like -
This actually got me thinking of the DSP implications. I know how sampling and aliasing work in the frequency axis, but clearly phase matters too. Shifting the sampling phase shifts the phase at which the upper spectrum half folds over? I need to think about this.
1 reply 0 retweets 1 like -
Like, obviously when the downsampling aligns with the nonzero samples you get constructive aliasing interference, and when it aligns with the zeros you get destructive interference, but why?
1 reply 0 retweets 0 likes -
Paging
@xiphmont. Any pointers as to how to explain this time-domain phenomenon in the frequency domain? How does the phase of aliased downsampling affect the phase of the spectral components that get folded together?1 reply 0 retweets 1 like -
Honestly, never thought about aliasing in detail except how best to avoid it. In the early says of ADC/DAC, the imaging filters purposely allowed some aliasing to get perflectly 'flat' response to nyquist, but that fell out of favor. Possibly due to related question :-)
1 reply 0 retweets 1 like -
There's nothing *that* tricky about it I suppose--- it would be a fun excercise when I'm not busy. Can probably just graph it out and that would be enough.
1 reply 0 retweets 0 likes
I think the answer will be obvious by simply plotting the phase response of a pure time delay. Going to try that now.
-
-
"straight line", and I suppose it just folds at Nyquist like the magnitude.
2 replies 0 retweets 0 likes -
I can recommend playing around with audio in GNURadio. Really eye opening for some behaviour.
0 replies 0 retweets 0 likes
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.