Hi, I’m completely new to Nyquist and fairly inexperienced with Audacity so please pardon if this question is too basic. I’m trying to demonstrate aliasing to my students and I thought Audacity would be an ideal platform for the students to play around with this and many other aspects of signals and systems. I can do that somewhat using the bandlimited resampling under the Tracks menu if I switch off High Quality Sinc interpolation. I’d like to do a naive resampling with linear interpolation using force-srate.
So here is an example of what I get, although this particular example would not show aliasing:
I generate a 400 Hz sine wave for 30 sec sampled at 44100 Hz.
I select all of the signal.
I pull up a Nyquist prompt and enter (force-srate 22050 s).
Nyquist then spits out a signal that is only 15 sec duration.
I had expected the duration would remain the same and the signal would only have half the number of points.
TIA for any suggestions that set me straight on this.
David
ETA: OK I found the answer here. Nyquist and Audacity do not share the sampling rate parameter. https://forum.audacityteam.org/t/track-sampling-rate-question/9347/1
Thanks much to steve.
Live and Learn. Should be a very good demo for the students to play around with.