odd harmonics only, from buzz
Date | 2016-10-18 02:10 |
From | Michael Saunders |
Subject | odd harmonics only, from buzz |
I've gotten around to trying this with buzz (it didn't work with gbuzz). I'm surprised to find that it doesn't work with buzz either. Apparently, after a second or two, the two signals go a little out of phase and ae doesn't properly cancel out ao. Notice how, by the end of the note, the impulses of the two don't align. Here is my minimal example: instr 1 icps=2000 knho=int(.5*(44000)/icps) knhe=int(.25*(44000)/icps) ao buzz 1, icps, knho, giSine ae buzz 1, icps*2, knhe, giSine outs ao,ae endin giSine ftgen 0, 0, 2^10+1, 10, 1 i1 0 30 |
Date | 2016-10-18 06:35 |
From | Victor Lazzarini |
Subject | Re: odd harmonics only, from buzz |
yes, buzz can drift slightly out of phase, and this effect needs a phase lock. If you derive the phase from a single source (phasor) and use table lookup, it will work.
With gbuzz, the issue is that the spectra are not flat, so you only get partial cancellation. and it will drift as well.
Victor Lazzarini Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|