Frequencies past Nyquist folding.
-
I have created a simple saw wave here.
When the saw wave happens to produce frequencies above half the sample rate the frequencies fold so all the higher notes sound very ugly. Is there anyway I can create a fix for this in Faust?// xander import("stdfaust.lib"); // midi controls freq = hslider("freq", 440, 1, 16000, 1); t = button("gate"); // simple phasor phasor(f) = (+(freq / ma.SR)) ~ ma.frac; // subtle smoothing saw(f) = sin(phasor(f) * 2.0 - 1.0); // signal signal = saw(freq) * en.adsr(0.01, 1.5, 0.5, 1, t); // subtle harmonics tape(x) = x + aa.sine2(x^3) / 3; // process process = tape(signal), tape(signal);
-
Search up videos on bandlimiting oscillators / antialiasing oscillators
-
@griffinboy Will do! If you have any resources you could point me towards, it'd be a big help
-
I've never used faust, so IDK what the method would be like to do this in faust. But I'm sure people have done bandlimited / antialiased oscillators for faust before so you should be able to find something.
-
@xander try asking on the faust discord channel
Discord - Group Chat That’s All Fun & Games
Discord is great for playing games and chilling with friends, or even building a worldwide community. Customize your own space to talk, play, and hang out.
Discord (discord.com)