rsc3/doc/help/ugen/unary-ops/db-amp.help.scrbl

17 lines
234 B
Text
Raw Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(db-amp a)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Convert decibels to linear amplitude.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition
(out 0 (mul (f-sin-osc ar 800 0.0)
(db-amp (line kr -3 -40 10 remove-synth)))))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00