#audio

Subscribe
In the context of JavaScript, 'audio' refers to audio data that can be manipulated using JavaScript code. This includes playing audio files, recording audio, and manipulating sound in real-time. Audio data can be stored as a file or streamed from a server, and JavaScript code can be used to manipulate the audio data, such as changing its volume, pitch, or frequency.
MIDI in the Browser... Let's Rock the Web!
JSNation 2022JSNation 2022
28 min
MIDI in the Browser... Let's Rock the Web!
MIDI is a versatile communication protocol that extends beyond music and opens up exciting possibilities. The Web MIDI API allows remote access to synths and sound modules from web browsers, enabling various projects like music education systems and web audio-based instruments. Developers can connect and use MIDI devices easily, and the Web MIDI API provides raw MIDI messages without semantics. The WebMidi.js library simplifies working with the Web MIDI API and offers a user-friendly interface for musicians and web developers. MIDI on the web has generated significant interest, with potential for commercial growth and endless possibilities for web developers.
Visualize your music with React, a sound design experiment
React Advanced Conference 2021React Advanced Conference 2021
9 min
Visualize your music with React, a sound design experiment
Claudia Bressi, a senior front-end and mobile developer, combines music and computer science in her sound design project using React and the Web Audio API. The project supports different audio file formats and utilizes powerful methods for analyzing and visualizing sounds. Custom hooks are used for modularity and code reuse. The project is divided into four areas: shape, color, animation, and playback. Future improvements include making it a progressive web app, adding ML algorithms, server-side rendering, and optimizing performance with workers.