zynaddsubfx

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

commit 60eeb73cbcdfab069dc7f6a634e7858aff6cfc74
parent 94d4ae6a0586970ea4d2a3a8c8f002686241ed9c
Author: fundamental <[email protected]>
Date:   Sun, 30 May 2010 12:13:22 -0400

Doc: adding more block diagrams

Diffstat:
Mdoc/gen/Makefile | 25+++++++++++--------------
Adoc/gen/chorus.tex | 37+++++++++++++++++++++++++++++++++++++
Adoc/gen/dynamic.tex | 45+++++++++++++++++++++++++++++++++++++++++++++
Adoc/gen/reverb.tex | 38++++++++++++++++++++++++++++++++++++++
4 files changed, 131 insertions(+), 14 deletions(-)

diff --git a/doc/gen/Makefile b/doc/gen/Makefile @@ -1,17 +1,14 @@ -all:echo.png ad-note.png distort.png +SOURCES=ad-note.tex echo.tex distort.tex dynamic.tex reverb.tex chorus.tex +OBJECTS=$(SOURCES:.tex=.png) -ad-note.png: ad-note.tex - pslatex ad-note.tex - convert ad-note.dvi -trim ad-note.png - rm ad-note.dvi ad-note.log ad-note.aux +all:$(OBJECTS) -echo.png: echo.tex - pslatex echo.tex - convert echo.dvi -trim echo.png - rm echo.dvi echo.log echo.aux +%.png: %.tex + pslatex $< + convert $(<:.tex=.dvi) -resize 200% -trim $@ + rm $(<:.tex=.dvi) $(<:.tex=.log) $(<:.tex=.aux) + +.PHONY +clean: + rm -f *.png *~ -#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/chorus.tex b/doc/gen/chorus.tex @@ -0,0 +1,37 @@ +\documentclass[12pt]{report} +\pagestyle{empty} +\usepackage{pst-sigsys} +\begin{document} +\begin{pspicture}[showgrid=false](0,-1)(8,2) + %Style + \psset{framesize=1 .65} + \psset{style=Arrow} + + %In/Out + \rput(0,0){\rnode{in}{$x[n]$}} + \rput(8,0){\rnode{out}{$y[n]$}} + + %Crossover + \psfblock[framesize=2 .65](1.5,0){cross}{Crossover} + + %Feedback over fractional delay + \pscircleop(3,0){comb} + \psfblock[framesize=1.2 .65](4.5,0){delay}{$z^{-n.m}$} + \pnode(5.5,0){decoration} + \pscircleop[operation=times](4,1){fb} + \rput(4,1.5){Feedback} + \ncangle[angleA=90]{decoration}{fb} + \ncangle[angleA=180,angleB=90]{fb}{comb} + + %subtract? + \pscircleop[operation=times] (6,0){sub} + \rput(6,-0.5){Subtract} + + %Panning + \pscircleop[operation=times] (7,0){pan} + \rput(7,0.5){Panning} + + %Connections + \nclist{ncline}{in,cross,comb,delay,sub,pan,out} +\end{pspicture} +\end{document} diff --git a/doc/gen/dynamic.tex b/doc/gen/dynamic.tex @@ -0,0 +1,45 @@ +\documentclass[11pt]{report} +\pagestyle{empty} +\usepackage{pst-sigsys} +\begin{document} +\begin{pspicture}[showgrid=false](0,0)(8,2) + %Style + \psset{framesize=1 .65} + \psset{style=Arrow} + + %In/Out + \rput(0,0){\rnode{in}{$x[n]$}} + \rput(8,0){\rnode{out}{$y[n]$}} + + %Smoothing + \psfblock(1,1){smooth}{LPF} + \rput(1,1.6){smooth} + + %Sensing + \pscircleop[operation=times](2.5,1){sense} + \rput(2.5,1.5){sense} + + %Combine + \pscircleop(4,1){comb} + + %Depth + \pscircleop[operation=times](5.5,1){depth} + \rput(5.5,1.5){depth} + + %LFO + \psfblock(7,1){lfo}{LFO} + + %Filter + \psfblock(4,0){fil}{Filter} + + %Panning + \pscircleop[operation=times] (5.5,0){pan} + \rput(5.5,-0.5){Panning} + + %Connections + \pnode(1,0){decoration} + \nclist{ncline}{in,fil,pan,out} + \nclist{ncline}{decoration,smooth,sense,comb,fil} + \nclist{ncline}{lfo,depth,comb} +\end{pspicture} +\end{document} diff --git a/doc/gen/reverb.tex b/doc/gen/reverb.tex @@ -0,0 +1,38 @@ +\documentclass[11pt]{report} +\pagestyle{empty} +\usepackage{pst-sigsys} +\begin{document} +\begin{pspicture}[showgrid=false](0,-1)(11,2) + %Style + \psset{framesize=1 .65} + \psset{style=Arrow} + + %In/Out + \rput(0,0){\rnode{in}{$x[n]$}} + \rput(11,0){\rnode{out}{$y[n]$}} + + %feedback loop + \pscircleop(1,0){fbcomb} + \pnode(2.5,0){decoration} + \psfblock(2.5,1){delay}{$z^{-n}$} + \rput(2.5,1.5){delaylen} + \pscircleop[operation=times](1,1){fb} + \rput(1,1.55){feedback} + \nclist{ncline}{decoration,delay,fb,fbcomb} + + %Filter + \psfblock(4,0){fil}{Filter} + \rput(4,.5){LP/HP} + + %Magic (aka, I am not sure if I read the code right) + \psfblock[framesize=1.9 .65](6,0){comb}{Comb Filter} + \psfblock[framesize=1.9 .65](8.5,0){pass}{All Passr} + + %Panning + \pscircleop[operation=times] (10,0){pan} + \rput(10,0.5){Panning} + + %Connections + \nclist{ncline}{in,fbcomb,fil,comb,pass,pan,out} +\end{pspicture} +\end{document}