Bruno Ruviaro edited More Patterns.tex  almost 10 years ago

Commit id: bdbf842b6f809511f96128843ce754f38966e53b

deletions | additions      

       

Practice using these Patterns---you can do a lot with them. \texttt{Pbind}s are like a recipe for a musical score, with the advantage that you are not limited to writing fixed sequences of notes and rhythms: you can describe processes of ever changing musical parameters, like a guided improvisation, and SuperCollider will play it all for you (this is also called ``algorithmic composition''). And this is just one aspect of the powerful capabilities of the Pattern family.  In the future, when you feel the need for more pattern objects, the best place to go is James Harkins' ``A Practical Guide to Patterns,'' available in the built-in Help files.\footnote{Also files and also  online at \url{http://doc.sccode.org/Tutorials/A-Practical-Guide/PG_02_Basic_Vocabulary.html}} \url{http://doc.sccode.org/Tutorials/A-Practical-Guide/PG_02_Basic_Vocabulary.html}.  We'll finish this subsection with a simple example adapted from that tutorial:   \begin{lstlisting}[style=SuperCollider-IDE, basicstyle=\scttfamily\footnotesize]