Main Page       Index


square-32.lsp


 square-32.lsp
 Version 1.00 	29 April 2005
 Author Steven Jones

 Contact jones57@swbell.net include the word "nyquist" in subject line  
 The contents of this file are released under the terms of the GNU General
 Public License. See the file LICENSE.txt

 A 32 partial square wave approximation.


var

*square-32*

 Wave table, a band limited, 32 partial, square wave approximation.


View the Sourcecode :



;; square-32.lsp
;; Version 1.00 	29 April 2005
;; Author Steven Jones
;;
;; Contact jones57@swbell.net include the word "nyquist" in subject line  
;; The contents of this file are released under the terms of the GNU General
;; Public License. See the file LICENSE.txt
;;
;; A 32 partial square wave approximation.
;;

(require 'wtab)
(provide 'square-32)


;; @doc var *square-32*
;; Wave table, a band limited, 32 partial, square wave approximation.
;;

(setq *square-32* (wtab:make 
		   (wtab:scale
		    (wtab:make-plist 32 
				     :frqfn #'(lambda (n)(- (* n 2) 1)))
		    0.60 )))


Main Page       Index