Creating PWM wavetables
for loop syntax
The for loop syntax is a way to loop through the array elements in order. By iterating, multiple files can be generated in sequence. This can be used to generate multiple single-cycle waveforms.
The above code loops through the numbers 1 through 5. When executed, it generates five sine waves from the base note to the fifth overtone in sequential numbers.
Learn how to use Octave to create Wavetables.
I will show you how to create a Wavetable in Octave, a numerical calculation software. The waveforms you create can be used with Serum, Ableton Wavetable, or any other audio-importable wavetable synth or sampler.
Check the updated contents of each sample pack here.
Additional files can be downloaded for free.