mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-23 06:22:54 -05:00
13 lines
278 B
JavaScript
13 lines
278 B
JavaScript
class AudioParamMock {
|
|
setTargetAtTime (value /* , start, stop */) {
|
|
this.value = value;
|
|
}
|
|
setValueAtTime (value) {
|
|
this.value = value;
|
|
}
|
|
linearRampToValueAtTime (value) {
|
|
this.value = value;
|
|
}
|
|
}
|
|
|
|
module.exports = AudioParamMock;
|