mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-22 22:12:48 -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;
|