OLD | NEW |
1 /** | 1 /** |
2 * High-fidelity audio programming in the browser. | 2 * High-fidelity audio programming in the browser. |
3 */ | 3 */ |
4 library dart.dom.web_audio; | 4 library dart.dom.web_audio; |
5 | 5 |
6 import 'dart:async'; | 6 import 'dart:async'; |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 import 'dart:_collection-dev' hide deprecated; | 8 import 'dart:_collection-dev' hide deprecated; |
9 import 'dart:html'; | 9 import 'dart:html'; |
10 import 'dart:html_common'; | 10 import 'dart:html_common'; |
(...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
949 @DocsEditable() | 949 @DocsEditable() |
950 void noteOn(num when) native; | 950 void noteOn(num when) native; |
951 | 951 |
952 @DomName('OscillatorNode.setPeriodicWave') | 952 @DomName('OscillatorNode.setPeriodicWave') |
953 @DocsEditable() | 953 @DocsEditable() |
954 @Experimental() // untriaged | 954 @Experimental() // untriaged |
955 void setPeriodicWave(PeriodicWave periodicWave) native; | 955 void setPeriodicWave(PeriodicWave periodicWave) native; |
956 | 956 |
957 @DomName('OscillatorNode.start') | 957 @DomName('OscillatorNode.start') |
958 @DocsEditable() | 958 @DocsEditable() |
959 void start(num when) native; | 959 void start([num when]) native; |
960 | 960 |
961 @DomName('OscillatorNode.stop') | 961 @DomName('OscillatorNode.stop') |
962 @DocsEditable() | 962 @DocsEditable() |
963 void stop(num when) native; | 963 void stop([num when]) native; |
964 | 964 |
965 /// Stream of `ended` events handled by this [OscillatorNode]. | 965 /// Stream of `ended` events handled by this [OscillatorNode]. |
966 @DomName('OscillatorNode.onended') | 966 @DomName('OscillatorNode.onended') |
967 @DocsEditable() | 967 @DocsEditable() |
968 @Experimental() // untriaged | 968 @Experimental() // untriaged |
969 Stream<Event> get onEnded => endedEvent.forTarget(this); | 969 Stream<Event> get onEnded => endedEvent.forTarget(this); |
970 } | 970 } |
971 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 971 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
972 // for details. All rights reserved. Use of this source code is governed by a | 972 // for details. All rights reserved. Use of this source code is governed by a |
973 // BSD-style license that can be found in the LICENSE file. | 973 // BSD-style license that can be found in the LICENSE file. |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1092 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } | 1092 factory WaveShaperNode._() { throw new UnsupportedError("Not supported"); } |
1093 | 1093 |
1094 @DomName('WaveShaperNode.curve') | 1094 @DomName('WaveShaperNode.curve') |
1095 @DocsEditable() | 1095 @DocsEditable() |
1096 Float32List curve; | 1096 Float32List curve; |
1097 | 1097 |
1098 @DomName('WaveShaperNode.oversample') | 1098 @DomName('WaveShaperNode.oversample') |
1099 @DocsEditable() | 1099 @DocsEditable() |
1100 String oversample; | 1100 String oversample; |
1101 } | 1101 } |
OLD | NEW |