rsc3/doc/help/ugen/noise/hasher.help.scrbl

18 lines
353 B
Text
Raw Permalink Normal View History

2022-08-24 13:53:18 +00:00
#lang scribble/manual
@(require (for-label racket))
@title{(hasher in)}
2022-08-28 10:27:01 +00:00
2022-08-24 13:53:18 +00:00
Returns a unique output value from zero to one for each input value
according to a hash function. The same input value will always
produce the same output value. The input need not be from zero to
one.
2022-08-28 10:27:01 +00:00
@racketblock[
2022-08-24 13:53:18 +00:00
(audition (out 0 (mul (hasher (line ar 0 1 1 2)) 0.2)))
2022-08-28 10:27:01 +00:00
]
2022-08-24 13:53:18 +00:00