3,003 questions
Advice
0
votes
3
replies
143
views
How can I convert mp3/wav/m4a to aac using only vanilla JavaScript?
How can I do this without using any third party frameworks or libraries?
Thanks in advance for any help, with even just one of these (mp3, wav, m4a)
I am somewhat familiar with the Web audio API. I ...
Tooling
1
vote
2
replies
54
views
Bulk downsampling WAV files
I'm looking for a bulk solution (on Windows) to downsample over 1,500 WAV files from 48 kHz to 44.1 kHz, skipping any files that are already at the target sample rate of 44.1 kHz. Precise preservation ...
Advice
0
votes
6
replies
85
views
Decoding audio files with C++
I want to make audio analyzer in C++. This is quite complex project for me, that is why I want to learn more in depth in as many spheres as possible.
I want to know, whether it is worth the time and ...
Tooling
0
votes
9
replies
122
views
Audio processing libraries in C++
I want to make an audio analyzer. As first step I would want to take audio files, mainly focusing on WAV and MP3 at first. I want to access raw audio (or compressed version of it in MP3) from those ...
0
votes
1
answer
86
views
Error: "'utf-8' codec can't decode byte 0xd6 in position 4: invalid continuation byte" when trying to open .wav file
I am receiving my ".wav" file in a django view as an "InMemoryUploadedFile" then converting it to bytes:
views.py
import functions.bytes_to_wav_wave
if voice_value:
...
0
votes
0
answers
89
views
Is it possible to use media3 transformer to convert file to .wav file?
val transformer = Transformer.Builder(this)
.setAudioMimeType(MimeTypes.AUDIO_WAV)
.build()
Tried to build simple transformer but I get java.lang.IllegalStateException: ...
-5
votes
1
answer
117
views
Reading a wav file and then writing the wav file to another file [closed]
I have legacy code where a .wav file is read as follows into a string:
string ReadAllBytes()
{
var s = File.OpenRead("Alarm01.wav");
var reader = new StreamReader(s, Encoding.Default)...
-1
votes
1
answer
77
views
ESP32 records corrupt WAV file audio
I am using SeedStudio ESP32 Xiao Sense to record multiple samples of audio at once. I modified the sample code to do so. However, for some reason the header is corrupted(not sure for other parts) and ...
0
votes
1
answer
53
views
How to check in a bunch of .wav files for specific frequencies
I am an amateur in python, and I got an idea to help a colleague.
What we need is a program which will listen to a folder of .wav files, and tell me which present a specific range of frequencies (they ...
1
vote
1
answer
126
views
Calling Play method of DirectSoundBuffer object causes crash under address sanitizer
I'm getting my app crash when running my code under asan and executing Play method of the sound buffer object.
I have several classes related to sound creating. The first one is the struct that ...
1
vote
0
answers
49
views
How to run about 100 templates (training data) through test data using monitoR for bioacoustics
I am using monitoR to run training data (about 100 clips) through test data. I am following quick start guide to help me write the code: https://cran.r-project.org/web/packages/monitoR/vignettes/...
4
votes
0
answers
163
views
How to convert Opus file to wav using C#?
How can I correctly convert an OPUS file to a WAV file in C#?
I attempted to use the Concentus.OggFile and NAudio.Core libraries to convert an OPUS file to WAV, but the resulting file contains only ...
1
vote
1
answer
56
views
Problem reading wav header in zig, finding irrelevant values
Im trying to read the header of a wav file ( wav file that works with media players) in my program,
but i only find invalid values ( for sample rate, number of channels ect)
pub const WavObject = ...
1
vote
0
answers
71
views
How to calculate magnitude for a filter to specific dB level?
I'm using fir2 function (and then filter with basic settings filter(fir2,1,audio) ) to filter audio files to specific values in each spectrum band. I have two sets of dB values:
the original spectrum ...
0
votes
1
answer
94
views
How detect frequency and duration of beeps in wav files?
I have a some test.wav file, and I need to get the frequencies of sounds and their length from this file. To test my solution, I created a test.wav sound with these "beeps":
1500 Hz for 100 ...
