ramp cut audio node
This commit is contained in:
parent
8962e5a4f0
commit
6f9bcc53dc
5 changed files with 51 additions and 32 deletions
|
|
@ -212,6 +212,7 @@ export function webAudioTimeout(audioContext, onComplete, startTime, stopTime) {
|
|||
constantNode.onended = () => {
|
||||
onComplete();
|
||||
};
|
||||
return constantNode
|
||||
}
|
||||
const mod = (freq, range = 1, type = 'sine') => {
|
||||
const ctx = getAudioContext();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue