zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 8f8e8b701c2a452fa08fceb8a5bc8f2577be9e57
parent 3b9d775f543101831273efe79df527e124d8e4e2
Author: fundamental <[email protected]>
Date:   Sat, 29 May 2010 22:54:24 -0400

Doc: adding diagram

Diffstat:
Mdoc/gen/Makefile | 8+++++++-
Adoc/gen/distort.tex | 43+++++++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+), 1 deletion(-)

diff --git a/doc/gen/Makefile b/doc/gen/Makefile @@ -1,4 +1,4 @@ -all:echo.png ad-note.png +all:echo.png ad-note.png distort.png ad-note.png: ad-note.tex pslatex ad-note.tex @@ -9,3 +9,9 @@ echo.png: echo.tex pslatex echo.tex convert echo.dvi -trim echo.png rm echo.dvi echo.log echo.aux + +#ought to figure out the right way for this +distort.png: distort.tex + pslatex distort.tex + convert distort.dvi -trim distort.png + rm distort.dvi distort.log distort.aux diff --git a/doc/gen/distort.tex b/doc/gen/distort.tex @@ -0,0 +1,43 @@ +\documentclass[11pt]{report} +\pagestyle{empty} +\usepackage{pst-sigsys} +\begin{document} +\begin{pspicture}[showgrid=false](0,-2)(10,2) + %Style + \psset{framesize=1 .65} + \psset{style=Arrow} + + %In/Out + \rput(0,0){\rnode{in}{$x[n]$}} + \rput(9.5,0){\rnode{out}{$y[n]$}} + + %Panning + \rput(1,0.5){Panning} + \pscircleop[operation=times] (1,0){pan} + \ncline{in}{pan} + + %Preamp + \rput(2,-0.5){Preamp} + \pscircleop[operation=times] (2,0){preamp} + \ncline{pan}{preamp} + + %Filtering + \psfblock(3,0){fil1}{Filter} + \ncline{preamp}{fil1} + + %Distortion + \psfblock(4.5,0){shape}{$H(n)$} + \ncline{fil1}{shape} + + %Filtering + \psfblock(6,0){fil2}{Filter} + \ncline{shape}{fil2} + + %Crossover + \psfblock[framesize=1.8 .65](8,0){cross}{Crossover} + \ncline{fil2}{cross} + \ncline{cross}{out} + + +\end{pspicture} +\end{document}