gain

From TidalCycles userbase
Revision as of 00:08, 10 December 2018 by Yaxu (talk | contribs) (Yaxu moved page Gain to gain)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Type: gain :: Pattern Double -> ControlPattern

gain turns a number pattern into a control pattern that specifies volume. Values less than 1 make the sound quieter. Values greater than 1 make the sound louder.

d1 $ gain "1 0.5 1.25" # sound "feel"

d1 $ sound "bd*16" # gain (slow 3 $ sine)