Skip to content

OscillatorNode intro: listing more waveform types would help readers unfamiliar with "sine" #43925

Description

@petrakuhnle

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API

What specific section or headline is this issue about?

Defining audio sources - OscillatorNode

What information was incorrect, unhelpful, or incomplete?

The OscillatorNode entry reads: "represents a periodic waveform, such as a sine or triangle wave."

Readers unfamiliar with these terms have only two shapes to anchor to. OscillatorNode's type property supports sine, square, sawtooth, triangle, and custom — listing all the standard shapes in the intro gives readers a better chance one rings a bell, and matches the set documented on the type page.

What did you expect to see?

"The OscillatorNode interface represents a periodic waveform, such as a sine, square, sawtooth, triangle, or custom wave."

Happy to open a PR.

Do you have any supporting links, references, or citations?

OscillatorNode type property (lists all waveforms): https://developer.mozilla.org/en-US/docs/Web/API/OscillatorNode/type

Do you have anything more you want to share?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions