{"json_modified": "2016-03-28T08:37:57.587642", "uuid": "286acb98-eb62-4df4-85e6-4a60302b784e", "title": "OfflineAudioContext.oncomplete", "url": "/en-US/docs/Web/API/OfflineAudioContext/oncomplete", "tags": ["API", "OfflineAudioContext", "oncomplete", "Reference", "Property", "R\u00e9f\u00e9rence", "Web Audio API"], "translations": [], "modified": "2015-02-22T10:07:50", "label": "OfflineAudioContext.oncomplete", "localization_tags": [], "locale": "en-US", "id": 127139, "last_edit": "2015-02-22T10:06:17", "summary": "In this simple example, we declare both an AudioContext and an OfflineAudioContext object. We use the AudioContext to load an audio track via XHR (AudioContext.decodeAudioData), then the OfflineAudioContext to render the audio into an AudioBufferSourceNode and play the track through. After the offline audio graph is set up, you need to render it to an AudioBuffer using OfflineAudioContext.startRendering.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/OfflineAudioContext/oncomplete", "review_tags": ["technical"]}