<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Audio on The Coders Blog</title><link>https://thecodersblog.com/tag/audio/</link><description>Recent content in Audio on The Coders Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 07 Feb 2024 11:14:12 +0000</lastBuildDate><atom:link href="https://thecodersblog.com/tag/audio/index.xml" rel="self" type="application/rss+xml"/><item><title>Audio Control in JavaScript: Manipulating Volume with Oscillators</title><link>https://thecodersblog.com/audio-control-javascript-manipulating-volume-oscillators/</link><pubDate>Wed, 07 Feb 2024 10:00:44 +0000</pubDate><guid>https://thecodersblog.com/audio-control-javascript-manipulating-volume-oscillators/</guid><description>&lt;p&gt;JavaScript&amp;rsquo;s Web Audio API empowers developers to create immersive audio experiences directly within web applications. One fundamental aspect of audio manipulation is controlling the volume of sound sources, such as oscillators. In this article, we&amp;rsquo;ll explore how to harness the power of JavaScript to manipulate the volume of oscillators, enabling dynamic and expressive audio compositions.&lt;/p&gt;
&lt;p&gt;Understanding Oscillators and Gain Nodes:
Before delving into volume control, let&amp;rsquo;s grasp the basic components involved. Oscillators are sound sources that generate periodic waveforms at a specified frequency. Gain nodes, on the other hand, regulate the amplitude or volume of audio signals. By combining oscillators with gain nodes, we can precisely control the volume of generated sound.&lt;/p&gt;</description></item></channel></rss>