fix: location

This commit is contained in:
cha0s 2021-02-16 00:01:57 -06:00
parent 5993a02c5e
commit dc8e5202b2

View File

@ -45,7 +45,7 @@ export default () => ({
const lfo = get(traits, 'Evolving.params.lfo', {});
lfo.y = {
frequency,
location: ((i % length) / length),
location: frequency * ((i % length) / length),
magnitude,
median: 0,
modulators: [modulator],