Formulas 1.6. Formulas in settings windows

Into numeric fields in settings windows you usually simply type a number. However, you can use any numeric expression instead.

For instance, suppose you want to create a Sound that contains exactly 10000 samples. If the sampling frequency is 44100 Hz, the duration will be 10000/44100 seconds. You can create such a Sound by choosing Create Sound from formula... from the New menu, then typing

10000/44100

into the End time field.

Into text fields in settings windows, you can only type text directly; there is no way to use string expressions (except if you use scripts; see Formulas 1.9. Formulas in scripts).

Links to this page


© ppgb, February 25, 2007