There are some pre-built tables - at the end of the list there are 2 parameters which I’m not sure what they do:
- (hz-to-step 1)
- T
nyquist.lsp:
(setf saw-table (pwlvr -1 1 1))
(setf saw-table (list saw-table (hz-to-step 1) T))
Thanks.
There are some pre-built tables - at the end of the list there are 2 parameters which I’m not sure what they do:
nyquist.lsp:
(setf saw-table (pwlvr -1 1 1))
(setf saw-table (list saw-table (hz-to-step 1) T))
Thanks.
A wavetable is a list of the form
(sound pitch-number periodic)
http://www.cs.cmu.edu/~rbd/doc/nyquist/part8.html#index359
(hz-to-step 1) gives the MIDI note number for a frequency of 1 Hz.
“T” means “true” (in this context, the wavetable is periodic)