Posts by Gabriel Lavoura • 117 points
4 posts
-
1
votes1
answer76
viewsQ: How to save samples before and after an event in a circular buffer?
Hello, I’m processing a 17-hour audio dataset. wav (16-bit PCM, 192khz), to simulate a "real-time" processing that will be embedded in an ESP32, Arduino DUE or a RASP, depends on the results. How…
-
1
votes1
answer170
viewsQ: Algorithm to traverse an array
So I’m having a simple logic problem but I can’t find a good solution. Problem: I’m looking to go through a registry file (a .csv whose I have to solve a RMS - Root Mean Square calculation). But I…
-
4
votes1
answer232
viewsQ: fread(); problem in implementation
I have a simple problem. I can use the function fread normally to work with audio processing in C. In case I have 2 codes. The first reads a file . WAV (with fread) and saved in a .CSV. file This…
-
5
votes1
answer239
viewsQ: Problem with file reading . WAV
Hi, I’m trying to read a file. 5s wav filled with "silence" to test the code in C. I was able to read the header but while trying to extract the date field where it contains the content itself (…