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/fr/web/api/audioprocessingevent/index.html | 150 +++++++++++++++++++++++ 1 file changed, 150 insertions(+) create mode 100644 files/fr/web/api/audioprocessingevent/index.html (limited to 'files/fr/web/api/audioprocessingevent/index.html') diff --git a/files/fr/web/api/audioprocessingevent/index.html b/files/fr/web/api/audioprocessingevent/index.html new file mode 100644 index 0000000000..baad6beb8d --- /dev/null +++ b/files/fr/web/api/audioprocessingevent/index.html @@ -0,0 +1,150 @@ +--- +title: AudioProcessingEvent +slug: Web/API/AudioProcessingEvent +tags: + - API + - Experimental + - Reference + - Web Audio API +translation_of: Web/API/AudioProcessingEvent +--- +

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

+ +

AudioProcessingEvent représente l'évènement qui est passé lorsqu'un tampon {{domxref ("ScriptProcessorNode")}} est prêt à être traité.

+ +
+

Note: Cette fonctionnalité est dépréciée à partir de la version du 29 Août 2014 de la spécification Web Audio API, elle sera remplacée par les Audio Workers.

+
+ +

Propriétés

+ +

La liste ci-dessous inclut les propriétés héritées de son parent, {{domxref("Event")}}.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropriétéTypeDescription
target {{ReadOnlyInline}}{{domxref("EventTarget")}}La cible de l'évènement (la plus haute dans le DOM).
type {{ReadOnlyInline}}{{domxref("DOMString")}}Le type d'évènement.
bubbles {{ReadOnlyInline}}booleanIndique si l'évènement se propage normalement.
cancelable {{ReadOnlyInline}}booleanIndique s'il est possible d'annuler l'évènement.
playbackTime {{ReadOnlyInline}}doubleMoment auquel le son sera joué, tel que défini par {{domxref("AudioContext.currentTime")}}
inputBuffer {{ReadOnlyInline}}{{domxref("AudioBuffer")}}Tampon contenant les données audio à traiter en entrée. Le nombre de canaux est défini comme paramètre, numberOfInputChannels, de la méthode constructeur {{domxref("AudioContext.createScriptProcessor()")}}. L'AudioBuffer renvoyé est valide uniquement dans la portée de la fonction onaudioprocess.
outputBuffer {{ReadOnlyInline}}{{domxref("AudioBuffer")}}Tampon dans lequel les données doivent être écrites en sortie. Le nombre de canaux est défini comme paramètre, numberOfOutputChannels, de la méthode constructeur {{domxref("AudioContext.createScriptProcessor()")}}. L'AudioBuffer renvoyé est valide uniquement dans la portée de la fonction onaudioprocess.
+ +

Spécification

+ + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('Web Audio API', '#AudioProcessingEvent-section', 'AudioProcessingEvent')}}{{Spec2('Web Audio API')}} 
+ +

Compatibilité navigateurs

+ +
{{CompatibilityTable}}
+ +
+ + + + + + + + + + + + + + + + + + + + + +
FonctionnalitéChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Support basique{{CompatChrome(10.0)}}{{property_prefix("webkit")}}{{CompatVersionUnknown}}{{CompatGeckoDesktop(25.0)}} {{CompatNo}}15.0{{property_prefix("webkit")}}
+ 22 (unprefixed)
6.0{{property_prefix("webkit")}}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
FonctionnalitéAndroidEdgeFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari MobileChrome for Android
Support basique{{CompatUnknown}}{{CompatVersionUnknown}}26.01.2{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}33.0
+
+ +

Voir aussi

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