Main Page       Index


square-16.lsp


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


var

*square-16*

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


View the Sourcecode :



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

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


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

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


Main Page       Index