DEV Community

Ten Zhi Yang
Ten Zhi Yang

Posted on • Originally published at tenzhiyang.com

Ways to play sounds on browser

Here are some lightweight code for playing sounds on browser

Audio element:

Audio buffer

Media stream

Oscillator

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs