cents->scaler
(list (note 60) (rhythm 'h.))
number
number | boolean
Braces { } and brackets [ ] are sometimes used to associate or group the enclosed terms and are not part of actual code.
{number | boolean}
describes single value that is either a number or a boolean.
prob is a required argument that may be followed by up to two optional values. Thus, each of the following calls is correct:
(oddsprob [trueval] [falseval])
(odds .5) (odds 1 'win) (odds .2 "Yup" "Nope")
means that any number of keyword and value pairs, including none, may follow the required class argument. Each of the following calls is correct:
(newclass {keyword value}*)
(new midi)
(new midi :time 10)
(new midi :keynum 22 :duration 3)
A plus + after a brace means that the enclosed terms may be specified one or more times.
means that any number of additional values, including none, may follow arg.
(pickarg ...)
Evaluation is indicated using the right arrow:
⇒
keyword string special comment :music"Hello, world"loop;; bug!