varying the frequency by omitting half waves