mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-12 14:18:31 +00:00
fix: .wave
This commit is contained in:
parent
fc9a9e33d2
commit
0d1e7f5c17
@ -39,7 +39,7 @@ Pattern.prototype._wave = function (type) {
|
||||
const f = getFrequency(e);
|
||||
osc.frequency.value = f; // expects frequency..
|
||||
const begin = t ?? e.whole.begin.valueOf() + lookahead;
|
||||
const end = begin + e.valueOf();
|
||||
const end = begin + e.duration.valueOf();
|
||||
osc.start(begin);
|
||||
osc.stop(end); // release?
|
||||
return osc;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user