27.11.2012 Views

programming with max/msp - Virtual Sound

programming with max/msp - Virtual Sound

programming with max/msp - Virtual Sound

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1.1<br />

6<br />

Theory<br />

������<br />

�������������<br />

��������<br />

���������<br />

Paragraph 1.1 - <strong>Sound</strong> synthesis and signal processing<br />

��������<br />

���������<br />

Fig. 1.4 Example of realtime sound processing on pre-existing sound<br />

Naturally, in this case also, the program can record the processed sound as an<br />

audio file, as shown in Figure 1.5.<br />

����������������<br />

���������������<br />

�������<br />

���������<br />

������<br />

�������������<br />

�������<br />

���������<br />

Fig. 1.5 Example of realtime sound processing on live sound<br />

We define a DSP system as an integrated hardware and software system<br />

(computer, audio interface, <strong>programming</strong> language.) that enables the<br />

processing and/or synthesis of sound. The term DSP is an acronym for digital<br />

signal processing.<br />

REALTIME VERSUS OFFLINE PROCESSING<br />

����������<br />

����������<br />

We have seen that both synthesis and signal processing can occur either in<br />

realtime or offline. At first glance, the more valuable approach would seem<br />

to be realtime, because this method provides immediate feedback and an<br />

opportunity to weigh the appropriateness of the algorithm being evaluated,<br />

as well as to tune and tweak the code if necessary.<br />

What cause is served, then, by deferring processing to offline status?<br />

The first reason is simple: to implement algorithms that the computer cannot<br />

execute in realtime, due to their complexity. If, for example, the computer<br />

needs two minutes of time in order to synthesize or to process one minute<br />

from “Electronic Music and <strong>Sound</strong> Design” Vol. 1 by Alessandro Cipriani and Maurizio Giri<br />

© ConTempoNet 2010 - All rights reserved<br />

��������<br />

����������<br />

����������<br />

��������

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!