From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/audioprocessingevent/index.html | 147 +++++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 files/ja/web/api/audioprocessingevent/index.html (limited to 'files/ja/web/api/audioprocessingevent') diff --git a/files/ja/web/api/audioprocessingevent/index.html b/files/ja/web/api/audioprocessingevent/index.html new file mode 100644 index 0000000000..aaa4e16c98 --- /dev/null +++ b/files/ja/web/api/audioprocessingevent/index.html @@ -0,0 +1,147 @@ +--- +title: AudioProcessingEvent +slug: Web/API/AudioProcessingEvent +translation_of: Web/API/AudioProcessingEvent +--- +

{{APIRef("Web Audio API")}}

+ +
+

The Web Audio API AudioProcessingEvent represents events that occur when a {{domxref("ScriptProcessorNode")}} input buffer is ready to be processed.

+ +
+

Note: As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and is soon to be replaced by Audio Workers.

+
+
+ +

プロパティ

+ +

The list below includes the properties inherited from its parent, {{domxref("Event")}}.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
プロパティ説明
target {{ReadOnlyInline}}{{domxref("EventTarget")}}The event target (the topmost target in the DOM tree).
type {{ReadOnlyInline}}{{domxref("DOMString")}}The type of event.
bubbles {{ReadOnlyInline}}booleanDoes the event normally bubble?
cancelable {{ReadOnlyInline}}booleanIs it possible to cancel the event?
playbackTime {{ReadOnlyInline}}doubleThe time when the audio will be played, as defined by the time of {{domxref("AudioContext.currentTime")}}
inputBuffer {{ReadOnlyInline}}{{domxref("AudioBuffer")}}The buffer containing the input audio data to be processed. The number of channels is defined as a parameter, numberOfInputChannels, of the factory method {{domxref("AudioContext.createScriptProcessor()")}}. Note the the returned AudioBuffer is only valid in the scope of the onaudioprocess function.
outputBuffer {{ReadOnlyInline}}{{domxref("AudioBuffer")}}The buffer where the output audio data should be written. The number of channels is defined as a parameter, numberOfOutputChannels, of the factory method {{domxref("AudioContext.createScriptProcessor()")}}. Note the the returned AudioBuffer is only valid in the scope of the onaudioprocess function.
+ +

Example

+ +

{{page("/en-US/docs/Web/API/AudioContext.createScriptProcessor","Example")}}

+ +

Specifications

+ + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('Web Audio API', '#the-audioprocessingevent-interface---deprecated', 'AudioProcessingEvent')}}{{Spec2('Web Audio API')}} 
+ +

Browser compatibility

+ +
{{CompatibilityTable}}
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatChrome(10.0)}}{{property_prefix("webkit")}}{{CompatGeckoDesktop(25.0)}} {{CompatNo}}15.0{{property_prefix("webkit")}}
+ 22 (unprefixed)
6.0{{property_prefix("webkit")}}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FeatureAndroidFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari MobileChrome for Android
Basic support{{CompatUnknown}}26.01.2{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}33.0
+
+ +

See also

+ + -- cgit v1.2.3-54-g00ecf