saw-table - last parameters?

Using Nyquist scripts in Audacity.
Post and download new plug-ins.

If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like

saw-table - last parameters?

Permanent link to this post Posted 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

nyquist.lsp:
(setf *saw-table* (pwlvr -1 1 1))
(setf *saw-table* (list *saw-table* (hz-to-step 1) T))

Thanks.
dmonty
 
Posts: 20
Joined: Sat Feb 25, 2017 9:15 pm
Operating System: Linux *buntu

Re: saw-table - last parameters?

Permanent link to this post Posted by steve » Mon Mar 20, 2017 10:33 am

A wavetable is a list of the form
(sound pitch-number periodic)
http://www.cs.cmu.edu/~rbd/doc/nyquist/ ... 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)
steve
Site Admin
 
Posts: 45373
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu


Return to Nyquist



Who is online

Users browsing this forum: No registered users and 3 guests