fix: .wave
This commit is contained in:
parent
fc9a9e33d2
commit
0d1e7f5c17
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue