Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Examples

If any of the following examples are not obvious, paste them into the Faust Editor, or a file named test.dsp followed by ``faust2firefox test.dsp'' in a shell:

  process = _ : _;       // series combination (1 in, 1 out)
  process = _ , _;       // parallel combination (2 ins, 2 outs)
  process = +;           // summer (2 ins, 1 out)
  process = _,_ : +;     // same summer
  process = _,_ : + : _; // same summer
  process = -;           // signal subtractor
  process = *;           // pointwise signal multiplier (nonlinear)
  process = /;           // pointwise signal divider (nonlinear)
  process = mem;         // unit-sample delay
  process = _, 1 : @;    // unit-sample delay
  process = _,10 : @;    // ten-sample delay
  process = a ~ b;       // feedback thru b around a
  process = _ ~ _ ;      // feedback thru _ (generates 0)
  process = mem ~ _;     // two-sample closed loop (generates 0)
  process = + ~ _;       // digital integrator
  process = _ <: _ , _;  // mono to stereo
  process = _ <: _ , _, _, _;     // mono to quad
  process = _ , _ <: _ , _, _, _; // stereo to quad (see diagram)
  process = _ , _ :> _;           // stereo to mono [equiv to +]
  process = _, _ , _ , _ :> _ ;   // quad to mono [equiv to +,+:+]


Next  |  Prev  |  Up  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Download aspf.pdf
[Comment on this page via email]

``Audio Signal Processing in Faust'', by Julius O. Smith III
Copyright © 2023-08-16 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA