[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] UGen.exprange
in UGen.sc
exprange { arg lo = 0.01, hi = 1.0;
var rate = if(this.rate == \audio) { \audio } { \control };
^if (this.signalRange == \bipolar) {
this.linexp(-1, 1, lo, hi)
} {
this.linexp(0, 1, lo, hi)
};
}
what's the first line in this method doing? the var rate=... one.
looks superfluous to me.
_f
#|
fredrikolofsson.com klippav.org musicalfieldsforever.com
|#
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/