redirt icon indicating copy to clipboard operation
redirt copied to clipboard

`gain` doesn't work with `stut`

Open tgirod opened this issue 5 years ago • 1 comments

The gain function is writing in pattern pF "velocity" after scaling from [0,1] to [0,127]. Unfortunately, functions such as stut are writing directly into pF "gain", so my trick won't work there.

I think I should leave pF "gain" alone, and have another pF "velocity" pattern that is generated from pF "velocity"

tgirod avatar Nov 12 '20 14:11 tgirod

Something to try, after reinstalling tidal from git repo:

pI "velocity" = extractF "gain" . linlin 0 1 0 127

that would extract a Pattern Double from the gain pattern, rescale it to [0,127] and store it into pattern velocity?

tgirod avatar Nov 12 '20 14:11 tgirod