I'm looking for a way to turn a sine wave into a square wave, working with tables instead of audio objects. This is how you do it with audio objects:
[clip~ -0.99 0.99]
Is there a way to do the same with tables (take a table with one period of a sine wave and turn it into a square)?
I guess my question is how to edit a wavetable,making it possible to multiply or trim all its values. Something similar to this:
Thanks a lot!