E-Book Content
Excerpt from
Designing Sound Practical synthetic sound design for film, games and interactive media using dataflow
Andy Farnell
ASP Applied Scientific Press Ltd.
c 2006, 2008 Andrew James Farnell. All rights reserved
Published by Applied Scientific Press, London, England. Printed in England. The right of Andrew James Farnell to be identified as the author of this work is asserted in accordance with the Copyright, Designs and Patents Act 1988. Notes to abridged version This excerpt may be freely copied and distributed solely for purposes of teaching and promotion of the full textbook, provided this notice is not removed. For all other other uses please contact the publisher. For more information on “Designing Sound” visit the website at http://aspress.co.uk/ds/
This textbook is typeset using LATEXon a Debian 12 11 10 09 08 Online tutorial series: First printed edition: Abridged Pure Data notes:
GNU/Linux system. 54321 February 2006 September 2008 October 2008
iii
Contents 1 2
Introduction . . . . . . . . Starting with Pure Data . . . . 2.1 Pure Data . . . . . . . . . . . . Installing and running Pure Data Testing Pure Data . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . .
. . . . .
. . . . . . . .
. . . . .
. . . . . . . . . . . . .
2.2
How does Pure Data work? . Objects . . . . . . . . . . . . . . Connections . . . . . . . . . . . Data . . . . . . . . . . . . . . . Patches . . . . . . . . . . . . . . A deeper look at Pd . . . . . . Pure Data software architecture Your first patch . . . . . . . . . Creating a canvas . . . . . . . . New object placement . . . . . Edit mode and wiring . . . . . . Initial parameters . . . . . . . . Modifying objects . . . . . . . . Number input and output . . . Toggling edit mode . . . . . . . More edit operations . . . . . . Patch files . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
7 8 8 8 8 9 9 9 9 10 11 11 12 12 12 12 13
2.3
Message data and GUI boxes Selectors . . . . . . . . . . . . . Bang message . . . . . . . . . . Bang box . . . . . . . . . . . . . Float messages . . . . . . . . . Number box . . . . . . . . . . . Toggle box . . . . . . . . . . . . Sliders and other numerical GUI General messages . . . . . . . . Message box . . . . . . . . . . . Symbolic messages . . . . . . . Symbol box . . . . . . . . . . . Lists . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . . . . . . . . .
. . . . . .