3,005 questions
0 votes
1 answer
59 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
49 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
115 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
58 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
46 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
115 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 ...
0 votes
0 answers
29 views
How can I properly read the total frame count of a converted MP3 file with Wave?
I am trying to set up audio transcription using VOLK and Wave in Python. The final issue i have is that when I try to read the total frames in my audio file, the number is much higher than the actual ...
0 votes
0 answers
39 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
118 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
48 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
62 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
0 answers
49 views
Generating WAV files with a MaryTTS generated audio
I try to record a WAV file with a MaryTTS generated audio. The code I am using is: package org.marytts; import marytts.LocalMaryInterface; import java.security.CodeSource; import java.net.URL; import ...
0 votes
1 answer
67 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 ...
-1 votes
1 answer
50 views
something strange is happening with the WAV sound recording
I want to make my own analogue for SSTV and I ran into a problem: when I start recording fast-changing beeps (which are 5 milliseconds long), very strange extra sounds appear For creating beeps i used ...
0 votes
1 answer
152 views
playing midi files in a react website or converting midi to wav before playing
I have a next.js react website that uses an api to generate continuations for MIDI files. the api gets a MIDI file, processes it and uploads the processed MIDI file to cloud and returns the URL to the ...