saw-table - last parameters?

Using Nyquist scripts in Audacity.
Post and download new plug-ins.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Mac OS X
GNU/Linux and Unix-like
Post Reply
Posts: 20
Joined: Sat Feb 25, 2017 9:15 pm
Operating System: Linux *buntu

saw-table - last parameters?

Post by dmonty » Mon Mar 20, 2017 12:28 am

There are some pre-built tables - at the end of the list there are 2 parameters which I'm not sure what they do:
1) (hz-to-step 1)
2) T

(setf *saw-table* (pwlvr -1 1 1))
(setf *saw-table* (list *saw-table* (hz-to-step 1) T))


Site Admin
Posts: 49001
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: saw-table - last parameters?

Post by steve » Mon Mar 20, 2017 10:33 am

A wavetable is a list of the form
(sound pitch-number periodic) ... l#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)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply