| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 /// @domName Oscillator |
| 8 interface Oscillator extends AudioSourceNode { |
| 9 |
| 10 static final int CUSTOM = 4; |
| 11 |
| 12 static final int FINISHED_STATE = 3; |
| 13 |
| 14 static final int PLAYING_STATE = 2; |
| 15 |
| 16 static final int SAWTOOTH = 2; |
| 17 |
| 18 static final int SCHEDULED_STATE = 1; |
| 19 |
| 20 static final int SINE = 0; |
| 21 |
| 22 static final int SQUARE = 1; |
| 23 |
| 24 static final int TRIANGLE = 3; |
| 25 |
| 26 static final int UNSCHEDULED_STATE = 0; |
| 27 |
| 28 /** @domName Oscillator.detune */ |
| 29 final AudioParam detune; |
| 30 |
| 31 /** @domName Oscillator.frequency */ |
| 32 final AudioParam frequency; |
| 33 |
| 34 /** @domName Oscillator.playbackState */ |
| 35 final int playbackState; |
| 36 |
| 37 /** @domName Oscillator.type */ |
| 38 int type; |
| 39 |
| 40 /** @domName Oscillator.noteOff */ |
| 41 void noteOff(num when); |
| 42 |
| 43 /** @domName Oscillator.noteOn */ |
| 44 void noteOn(num when); |
| 45 |
| 46 /** @domName Oscillator.setWaveTable */ |
| 47 void setWaveTable(WaveTable waveTable); |
| 48 } |
| OLD | NEW |