Main Page       Index


square-64.lsp


 square-64.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 64 partial square wave approximation.


var

*square-64*

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


View the Sourcecode :



;; square-64.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 64 partial square wave approximation.
;;

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


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

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


Main Page       Index