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

Naming Input Signals

Input signals can be given a name by including them as formal function parameters. The previous example can be modified to do this as follows:

  foo(x,y) = x,y : faust_expression : _,_;
This option is important to remember when the explicit names are easier to work with than unnamed ``incoming wires'':
  foo(x,y) = faust_expression_with_x_and_y_appearing_in_the_middle_somewhere;


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 © 2022-05-05 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University
CCRMA