STM32F4 I2S Audio Interface: Protocol Timing and Master Clock Generation
The Inter-IC Sound (I2S) bus defines a serial link standard for streaming digital audio between integrated circuits. By routing clock and data on independent conductors, the protocol prevents timing-skew distortion, removing the need for dedicated jitter-compensation hardware in many designs.
A minimal half-duplex I2S link uses three signals. T ...
Posted on Fri, 12 Jun 2026 17:50:30 +0000 by shaneH
Implementing Text-to-Speech and Background Music Playback in Vue3
Text-to-Speech Functionality
A button is created to trigger the text-to-speech functionality. The click event handleSpeakTest() initiates the process.
const handleSpeakTest = ((text) => {
handleSpeak("China");
});
const handleSpeak = ((text) => {
speech.text = text;
speech.lang = "zh-CN";
speech.volume = 1;
...
Posted on Sat, 16 May 2026 17:51:38 +0000 by khayll
Converting and Playing AMR Audio Files in Web Browsers with PHP and FFmpeg
Overview
This solutino involves three main components:
Install FFmpeg on the server
Use FFmpeg to convert AMR files to MP3 format (executed via PHP)
Play the MP3 files using HTML5 audio elements in the browser
Server Setup: Installling FFmpeg on CentOS
Prerequisites
Install the required build tools:
yum install -y automake autoconf libtool gc ...
Posted on Wed, 13 May 2026 17:45:12 +0000 by Pha
Introduction to ALSA Architecture in Linux
1. Overview
ALSA stands for Advanced Linux Sound Architecture, which has become the mainstream audio architecture in Linux.
In the Linux kernel device driver layer, ALSA provides alsa-driver, and in the user space, it provides alsa-lib. Therefore, Linux applications can control the underlying audio hardware by simply calling the API provided by ...
Posted on Fri, 08 May 2026 07:20:15 +0000 by PlagueInfected
Using HTML5 Audio and Video Elements
HTML5 introduced native <audio> and <video> elements, replacing reliance on Flash and other plugins for embedding media.
Video Element (<video>)
The <video> element supports multiple formats. MP4 has the broadest browser compatibility.
Browser
MP4
WebM
Ogg
Internet Explorer
Yes
No
No
Chrome
Yes
Yes
Yes
Firefox ...
Posted on Fri, 08 May 2026 00:27:35 +0000 by lillyapps