onFrameRecord obtains real-time pcm audio stream and implements audio playback and uploading

Background: To realize audio recording, audio upload and playback on the mobile terminal, use the recording API provided by the native app (native h5 getUserMedia, which is limited by the app’s kernel browser and does not support the getUserMedia method, and the popular plug-ins js-audio-record and record-core Debugging is supported on PC but not on […]

Processing of audio files: audio information, reading content, obtaining duration, cutting audio, converting pcm and wav

A relatively simple code found in audio processing. The original author’s code is on github: GitHub – silencesmile/python_wav: Processing of audio files: audio information, reading content, obtaining duration, cutting audio, and converting pcm and wav Code batches can be called with a given start and end time, example: This is the information of the original […]

C language audio, 32-bit Linux system, convert file pcm to wav, provide PCM audio files for code experiments

This website details the header information URL of the WAV file I tried other people’s open source code, but there were problems with the actual operation and the code comments were incomplete, so I tried to write it myself Operating platform: embedded 32-bit linux operating system First you need to know some basic knowledge: One […]

C# encapsulates audio PCM data into wav files

Article directory Preface 1. How to achieve it? 1. Define the header structure 2. Reserve head space 3.Write PCM data 4. Write header information 2. Complete code 3. Usage examples Summarize Foreword Previously, “C++ encapsulates audio PCM data into wav files” was implemented, and it was recently changed to a C# version. When using C# […]

STM32H750 usb sound card, SAI driver PCM5102

PCM5102 Introduction: 1. This module works in the I2S protocol and supports 32bit audio data, which is simple and crude. 2. Comes with 4 mode controls, namely 1, 2, 3, and 4 IOs on the left side of the picture, respectively FLT (filter mode, low level = low-latency filtering, high level = high-quality filtering), 44.1Khz […]

[Voice Compression] Speech signal compression and decompression based on adpcm with Matlab implementation

?About the author: A Matlab simulation developer who loves scientific research. He cultivates his mind and improves his technology simultaneously. For cooperation on MATLAB projects, please send a private message. Personal homepage: Matlab Research Studio Personal credo: Investigate things to gain knowledge. For more complete Matlab code and simulation customization content, click Intelligent optimization algorithm […]

[Voice Compression] Speech signal compression and decompression based on adpcm with Matlab implementation

?About the author: A Matlab simulation developer who loves scientific research. He cultivates his mind and improves his technology simultaneously. For cooperation on MATLAB projects, please send a private message. Personal homepage: Matlab Research Studio Personal credo: Investigate things to gain knowledge. For more complete Matlab code and simulation customization content, click Intelligent optimization algorithm […]

Android pcm player: has progress bar synchronization, fast forward, fast rewind, and double speed functions

PCM (Pulse Code Modulation) is a common digital audio encoding format that represents a lossless encoding of original audio data. Here is some important information about the PCM format: Definition: PCM is a pulse code modulation technique that converts analog audio signals into digital form by sampling and quantizing the analog signal and then representing […]

[Voice Compression] Speech signal compression and decompression based on adpcm with Matlab implementation

?About the author: A Matlab simulation developer who loves scientific research. He cultivates his mind and improves his technology simultaneously. For cooperation on MATLAB projects, please send a private message. Personal homepage: Matlab Research Studio Personal credo: Investigate things to gain knowledge. For more complete Matlab code and simulation customization content, click Intelligent optimization algorithm […]

Linux audio processing: MP3 decoding, PCM, PCM playback, ALSA (Advanced Linux Sound Architecture), MPEG (Moving Picture Experts Group)

MP3 decoding: The process of converting the digital audio data in an MP3 audio file into an audio signal that can be played or processed. MP3 (MPEG-1 Audio Layer 3) is a common audio compression format used to compress audio files to a smaller file size while maintaining relatively high sound quality. Here are the […]