pops when using umenu to change waveform type

    Jul 27 2011 | 5:58 pm
    Hi everyone, its my first ever post so go easy!
    just starting a synth patch and when i switch between oscillators I get a pops and clicks. looked at using line but not sure if its suitable.
    also each oscillator gives out a different level, Im thinking this is due to the properties that make up each wave.....but maybe not. so any advice on gettting a fixed amplitude for each would also be great!
    square wave sounds a little odd aswell?!
    any comment and suggestions on improving very welcome
    Thanks Oli

    • Jul 27 2011 | 6:32 pm
      change a playing waveform while it is being read = sure recipe for clicks!! yesy, imagine what happens when the wave is playing the last part of a square wave, and the 'voltage'/level is either positive max or negative max, and it then jumps to some point in a sine wave: in most cases a discontinuity in the wave is generated, and in digital signals as well as analog signals a discontinuity = a CLICK!
      You might consider re-writing to fade over to selected wave a simple switch over will almost *always* produce a click!!
    • Jul 27 2011 | 7:05 pm
      Look at the helpfile for [matrix~] (not [matrix]); the patch you're looking for is in there. How are you generating a square wave? AFAIK there is no square-wave generator, but you can use either [rect~] or [phasor~] to approximate a square wave, with pulsewidth control.
    • Aug 03 2011 | 8:03 pm
      Hi sorry for the late replys.
      both very helpful and solved my problem so thanks!
      also for the square wave i'd got it a similar/same way as you described.
      would it not make sense to have a square wave generator??
      i will post patch for others to see soon, my mac has not net atm.
      Thanks Oli
    • Aug 03 2011 | 8:29 pm
      Another tried-and-true method for generating more-or-less square waves involves multiplying the output of a cycle~ object by some arbitrary and high number, and then using the clip~ object to constrain the restulting waveform to the -1.0 > 1.0 range. Believe it or not, some people actually like the way it sounds better. :-)