fix: .wave
This commit is contained in:
parent
d2ec9768f1
commit
4b49c95e73
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