rsc3/doc/help/ugen/noise/hasher.help.scrbl
2022-08-28 12:27:01 +02:00

17 lines
353 B
Racket

#lang scribble/manual
@(require (for-label racket))
@title{(hasher in)}
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.
@racketblock[
(audition (out 0 (mul (hasher (line ar 0 1 1 2)) 0.2)))
]