Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions files/en-us/web/api/audiobuffersourcenode/start/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ start(when, offset, duration)
current playback rate, so even if the sound is playing at twice its normal speed, the
midway point through a 10-second audio buffer is still 5.
- `duration` {{optional_inline}}
- : The duration of the sound to be played, specified in seconds. If this parameter
isn't specified, the sound plays until it reaches its natural conclusion or is stopped
using the {{domxref("AudioScheduledSourceNode.stop", "stop()")}} method. Using this
parameter is functionally identical to calling `start(when, offset)` and
then calling `stop(when+duration)`.
- : The duration of the audio data to be played, specified as seconds of total buffer content.
If this parameter isn't specified, the sound plays until it reaches its natural conclusion or
is stopped using the {{domxref("AudioScheduledSourceNode.stop", "stop()")}} method. The
value is independent of the {{domxref("AudioBufferSourceNode.playbackRate")}}, so e.g., a
`duration` of 2 seconds with a `playbackRate` of `2` will play 2 seconds of the source,
producing a 1 second audio output.

### Return value

Expand Down