pops when using umenu to change waveform type
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
----------begin_max5_patcher---------- 794.3oc0XsriaBCEcM4q.wxpzQ3G.gpto+.cS6tpQUDhmITA1Tvn4kl7sW6q IOlWLNDFBcQvxWC1m64d78ZmGl43sTbKq1y8Kt+x0w4gYNNfIsAm19NdEI2l lmTCulGmciX4e7laFRxtUBl+zFW+Khi2ZuLQltNie8uqXoRyzivnK7m6hhH5 FZr9I1+Be2Ka+FdSQFOmIg0Au2nnQt0Jp05UBtrN6dFXCqlIiYyaJuqjYVRu 5rq4I4d6VhxJVMiKSjYB9SfFfIzhE5F+1G69J8pwSJfI06aUYpYrcjrUfMEg 7YTfm11iyloeL+zXyz6RyYa5jLATFG.bYv4fKshUhGPR48kX33HfIPmQIlUz RTenkBljU0kn.a1gQPfiu.THZp30ceTmt+K7yqxEIx8t4ANS3.FiqY4J2QTs wk1k5OxDZo53hqIgxaGmCNew4dkSfc+pjzN27GY11axZQ2kC3Xj49uDr3doJ aJX7lt.qQFFAoVQ99cGqdcQI4HiUYbo2bWO32dEqjUzVoy66BNSO5b8iejcP mephj7qyOXzjajBgb8dC+sIohcjBAb3NotBlsvv8xgaiSoZ7MuepQzBngR5S XXT1xfnCX5jupKYDXAsD5OwKjhHCHsTtNoVTYibg.YXCnSWdAOf7hrJq67tl jXDfNngcSJjyHofFxRxI2zoRwrooUoPltm4B42KRooXIqpKQwBvwMIPB5U4M b+JusTUn5H4.5GBEPoF2ND++.GzqDo0ohxNuPFIvn7iWXNYZakDb+NUVZRdZ pngCSN50Nq1gNArBd4piw7raxC3Ta+odVsnoJcKQZNlp5Bu6v4JVsLiC2Q9f 2Qc5P0t7cuz5rUqX7CwbQ1pRgJrz8garERHavTvnBoXKPzyf8GMjrgjBmbHB jRiGjnV.o3QEQpCsXgThL4Xomg6ObZhXClnSOZBM8fj+nBIaBb3oWdoQEQ3P KqvMha37sDRD6gDVc4w.UY53PcCFCGSB5cpfEYIXw1CV8eOB.VnAiB106DAa jkXkZOVI9FFkDs8+BcauSkXsIgxoTBW04wY+CT0INzG -----------end_max5_patcher-----------
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!!
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.
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.
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. :-)