Browse Source

Audio: Update TS file

Mugen87 6 years ago
parent
commit
6fd2041c44
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/audio/Audio.d.ts

+ 3 - 0
src/audio/Audio.d.ts

@@ -12,6 +12,7 @@ export class Audio extends Object3D {
   gain: GainNode;
   gain: GainNode;
   autoplay: boolean;
   autoplay: boolean;
   buffer: null | Audio;
   buffer: null | Audio;
+  detune: number;
   loop: boolean;
   loop: boolean;
   startTime: number;
   startTime: number;
   offset: number;
   offset: number;
@@ -32,6 +33,8 @@ export class Audio extends Object3D {
   stop(): this;
   stop(): this;
   connect(): this;
   connect(): this;
   disconnect(): this;
   disconnect(): this;
+  setDetune(value: number): this;
+  getDetune(): number;
   getFilters(): any[];
   getFilters(): any[];
   setFilter(value: any[]): this;
   setFilter(value: any[]): this;
   getFilter(): any;
   getFilter(): any;