Main Page       Index


square-02.lsp


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


var

*square-02*

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


View the Sourcecode :



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

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


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

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


Main Page       Index