SawTable(order=10, size=8192)
Sawtooth waveform generator.
Generates sawtooth waveforms made up of fixed number of harmonics.
Parent class : PyoTableObject
Parameters:
order : int, optional Number of harmonics sawtooth is made of. Defaults to 10. size : int, optional Table size in samples. Defaults to 8192.
Methods:
setOrder(x) : Change the `order` attribute and redraw the waveform. setSize(size) : Change the size of the table. This will erase the previously drawn waveform.
Attributes:
order : int, optional Number of harmonics sawtooth is made of. size : int, optional Table size in samples.
Examples:
>>> s = Server().boot() >>> s.start() >>> t = SawTable() >>> a = Osc(table=t, freq=200, mul=.5).out()
Methods details:
SawTable.setOrder(x): Change the `order` attribute and redraw the waveform. Parameters: x : int New number of harmonics SawTable.setSize(size): Change the size of the table. This will erase the previously drawn waveform. Parameters: size : int New table size in samples.