Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. BaseAudioContext
  4. createConstantSource()

BaseAudioContext: createConstantSource() method

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2021.

ThecreateConstantSource()property of theBaseAudioContext interface creates aConstantSourceNode object, which is an audio source that continuouslyoutputs a monaural (one-channel) sound signal whose samples all have the samevalue.

Note:TheConstantSourceNode()constructor is the recommended way to create aConstantSourceNode; seeCreating an AudioNode.

Syntax

js
createConstantSource()

Parameters

None.

Return value

AConstantSourceNode instance.

Specifications

Specification
Web Audio API
# dom-baseaudiocontext-createconstantsource

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp