Recherche Google
OMChroma User ManualUser-fun > Replace data
page précédentepage suivante

Replace data

Tutorial User-fun 01 - Replace data

The user patch shows the program flow of the user-fun. For more details on this topic see program flow in Tutorial User-fun 02 - Read modify and replace

Patch description

The user patch shows the programming flow of the user-fun. See the comments inside the lambda patch.

The user-fun assign to every field "freq" the value "200". Now follow these steps :

  • select "nil" via the single-item-list,
  • evaluate the textfile,
  • double click on the textfile to see the file .sco,
  • notice that the frequencies have been replaced by the value "200".

To call the Csound synthesis select "t" via the single-item-list

Double click on ADD-1 to open the editor. There are still the data passed by the inlet freq (440 660 880).

Reminder

The lambda function will perform the computation required by the data inside the OMChroma class writing the score file for the Csound synthesis, without changing the matrix. So if you wish to control the resulting data of the user-fun you can't see it in the OMChroma class but you must read the .sco file.

page précédentepage suivante
A propos...Réalisé avec Scenari