The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [audio]

Audio, or in terms of signal processing, an audio signal is an analog or digital representation of sound, typically as an electrical voltage.

Filter by
Sorted by
Tagged with
2
votes
3answers
351 views

Noise reduction using multiple recordings of the same signal

I have two (audio) recordings of one analog signal, I used two separate devices (smart-phones) recording from two different locations. Each recording device is pretty crappy, lot's of electrical hum ...
1
vote
1answer
309 views

audio signal reconstruction from MFCC

Transforming an audio signal to Mel Frequency Cepstral Coefficients is broadly used in tasks involving learning on audio. I was wondering, is this transform invertible with some good approximability ...
0
votes
1answer
41 views

How To Find The Lowest Note of a Chord Being Played

The goal of my project is to find the lowest note in a signal coming from a guitar being played. I would like to do this programmatically and have sourced the equipment (raspberry pi, USB interface, ...
0
votes
1answer
34 views

How to synchronize audio and video streaming for not fixed FPS streaming?

It's a 3-stage process. In the first stage, a video (with audio) is recorded at a fixed 25 FPS rate. In the second stage, it's demuxed in two different channels and the video is processed. In the ...
14
votes
4answers
26k views

Feature extraction for sound classification

I'm trying to extract features from a sound file and classify the sound as belonging to a particular category (eg : dog bark, vehicle engine e.t.c). I'd like some clarity on the following things : 1) ...
0
votes
1answer
27 views

Feature Extraction of Insect Sounds

First of all, forgive me if I sound stupid. I am still learning Audio Processing. So I am trying to make a machine learning model for detecting a specific insect through sound. Here is a sample raw ...
0
votes
1answer
57 views

How to compute key of a song?

I'm looking for a precise way to compute the key of a song. BPM would be cool too. Analog is ok. I tried to approach it from the DFT angle, but got stuck and can't really put a finger on what's the ...
0
votes
3answers
385 views

What is the proper way to implement a real time spectrogram?

I am trying to implement a real time spectrogram and I am not sure that I am implementing it the right way. First I decided to use Matlab, I was taking a short recording of lets say 0.1 seconds and ...
0
votes
1answer
15 views

Generating spectrogram for band-pass filtered wav file python

I have some .wav files of heart sounds. I want to apply band-pass filter [20Hx 100 Hz]. Then generating PCG images size of 560x420 pixels and RGB format. How could i do this? Any help will be highly ...
0
votes
1answer
74 views

Biquad high-pass filter not working as expected

I'm trying to implement a high-pass filter using the the coefficients described in RBJ's well-known EQ cookbook (see https://www.w3.org/2011/audio/audio-eq-cookbook.html). However, when I run white ...
0
votes
2answers
260 views

can MFCC coefficients alone be used to do voice detection?

Aim of my project is to differentiate between cases of silence, single active speaker and multiple ( simultaneous ) active speakers using as basic ( but effective ) logic as possible. Is it possible ...
0
votes
0answers
21 views

Using a Multirate FFT system to analyse audio

I am trying to implement a multirate fft system to try and achieve frequency windowed analysis of audio. Say I have managed to get an impulse response of a system. This impulse may be say one ...
4
votes
1answer
618 views

$1/n$ octave complex smoothing

An excellent answer to this post explains how to do $1/n$ octave energy smoothing and mentions complex smoothing can be done as well, but it's tricky business because of phase wrapping. How is phase ...
0
votes
0answers
16 views

Is it possible to restore audio that has been tonally modified by a phase vocoder?

My objective is to apply some process to the modified audio that allows me to obtain the original audio. I think it can be solved through machine learning techniques. I don't know if there is any ...
1
vote
1answer
65 views

Preprocess sound for voice recognition in Pocket Sphinx on Raspberry Pi 3

I want to improve my voice recognition system on a Raspberry Pi 3 running Pocket Spinx. It's pretty accurate (limited recognition vocabulary) but is terrible when other noise is around. Is there any ...
0
votes
2answers
20 views

Sudden loudness changes producing unwanted noises?

What's that effect called? Is that one of the reasons for having attack and release parameters when implementing synths? And is there a generic method to avoid such sound artifacts? Example: I have ...
0
votes
3answers
171 views

Low-Pass Filtering on Small Chunks of Audio

I've got a script (Python) that chops 44.1 kHz realtime audio into 10 ms chunks, processes each chunk, and stitches the chunks back together with no added artifacts. I'm trying to create a low-pass ...
0
votes
1answer
427 views

Best algorithm for time-scaling

what is the best algorithm for time_scaling of a speech signal in which I've seen two of them and I don't know which one to use : Psola:Pitch synchronous overlap and add. time scaling modification ...
-1
votes
2answers
58 views

how to remove noise from heart sounds?

i have .wav files acquired through putting android cell phone MIC directly on chest of person.For feature extraction, i have to made them noise free. These recordings were taken in rooms with no noise ...
0
votes
0answers
24 views

Finding frequencies(and bandwidth) that works best audio in a certain medium

Complete DSP and coding newbie(learning python). I am trying to find frequencies that can pass through well in a musical instrument tube. I am trying to find audio frequencies(audible and inaudible ...
1
vote
2answers
2k views

Decibels conversion into amplitude ratio

I want to convert db into amplitude ratio. I did some research but I only found online convertor, and I don't understand what's on Wikipedia very well... Here is a little of backstory : I am a ...
0
votes
2answers
108 views

How to graph magnitude plots for basic 4-pole filters?

I have developed magnitude plots for basic one-pole and two-pole filters derived from various Physics PDF's and tutorials I have found online and calculated from: https://www.desmos.com/calculator/...
0
votes
1answer
35 views

Cone of Confusion

In sound perception, humans adapt by tilting the head or relying on other location cues such as visual input when the source of the sound lies on the cone of confusion. On this cone, no time and level ...
0
votes
1answer
775 views

Bandpass filter for audio wav file

How do I apply a bandpass filter on an audio file which is in wav format? And write back the filtered data in a new wav file for further analysis.
0
votes
1answer
33 views

What determines peaks in FFT?

I ran FFT on three audio files and found that the results for some have more peaks than the other. Could anyone give me any conceptual explanation as to what determines these peaks? Below are plots of ...
0
votes
2answers
59 views

Parallel equalizer, working for boosts but not cuts

I am trying to replicate the behaviour of a parallel equalizer. The approach is to use a parallel sum of bandpass filters like so: $Response = 1 + bandpass1 * (gain1 - 1) + bandpass2 * (gain2 - 1) + ...
1
vote
1answer
212 views

Change durration/tempo of a .Wav file without introducing pops or pitch shift?

I am attempting to develop a similar function as Audacity's Effects>Change Tempo effect. Or more specifically: I am in need of a way to create a funciton in my ...
1
vote
1answer
556 views

Detection of regions of voice in music

I want to detect the regions of voice in a song. Currently, I am using the fact that the vocals in the song are recorded as center panned. So, I am removing all center panned audio from the song. ...
0
votes
3answers
642 views

Distribution of energy in frequency bands

On my wav-file (music), I do a short-time Fourier transform (STFT). I have spectrum, which spans from $0\textrm{ Hz}$ to $f_s/2$. I took out the range between $1$ and $1000\textrm{ Hz}$, which I ...
0
votes
0answers
14 views

Hardware that Mixes Two Digital Audio Source into One

Is there any off-the-shelf hardware that extracts two digital audio streaming source from two digital audio stream(like USB+SPDIF), mixes, and transmits in single digital stream real-time(if the ...
0
votes
4answers
127 views

What are some alternatives to Spectrogram charts? [closed]

Spectrogram renders of audio are limited in their representation of audio. For example, one could not use a Spectrogram to re-render the original audio. What are some alternatives to Spectrogram ...
0
votes
0answers
12 views

How to use DTW for keyword spotting in human speech?

I am trying to use Dynamic Time Wrapping (DTW) + KNN to detect word occurrences in human speech audio. I am to implement the same approach suggested in this DSP StackExchange post, but I am seeing ...
1
vote
3answers
131 views

Resample audio signal with a low factors

Currently, we need to handle a piece of an audio signal. We want to resample it with different factor rate (p/q) starting with 1.0002 to 0.9998 with a decrement of 0.000005. But Matlab function cannot ...
2
votes
1answer
87 views

Introductory resources to mathematical properties of “dynamically recalculable” filters in audio/musical equalizers?

Introductory resources to mathematical properties of "dynamically recalculable" filters in audio/musical equalizers? Particularly, I want to understand What mathematical features (e.g. monotonicity ...
0
votes
1answer
93 views

Audio texture analysis for visualization

I'm making a complex music visualizer as a personal project. I've already determined that I will be using a series of modified Goertzel algorithms for frequency detection to place the frequencies on a ...
0
votes
2answers
169 views

What Is the Meaning of the Term "Frequency Response'' When We Design a Pitch Detector

This is from Klapuri 2003. What is the "frequency response" and why do we model is as multiplied with the vibrating system we want to get the frequency from?
0
votes
0answers
37 views

audio processing for audio files quick listening

I need to speed the listening task. I want to listen only 1 second every three seconds. Could you give me some advice? Many thanks! Best regards, Sergio
4
votes
2answers
2k views

Understanding audio downsampling code (JavaScript) and adapting to a different ratio

I inherited responsibility for some audio downsampling code that I don't fully understand: ...
1
vote
1answer
37 views

Similarity in signal plots but dissimilarity in sensed content

I have two audio signals that look incredibly similar when plotted. However, when I play them, they sound quite different. The only difference I can even see in their plots is that one signal looks ...
0
votes
1answer
355 views

Machine Learning - any suggestions to solve Python rounding errors?

I am working with Python to isolate voiced segments from music using the Jamendo corpus for singing detection. Training a model, I break my audio into frames, and have a label (0,1) for each frame. ...
0
votes
1answer
787 views

Verification of all steps needed to extract MFCCs from raw audio data

I need some verification on steps required to extract MFCCs from raw audio as I'm finding that some sources outline them slightly differently. Get raw audio frame Run window function (eg Blackman) on ...
0
votes
1answer
302 views

Dynamic Time Warp through SPTK tool

I'm an IT student and got an assignment to do about Dynamic Time Warping(DTW) using the Speech Signal Processing Toolkit (SPTK) and comparing some words spoken by 2 speakers and finding the ...
2
votes
1answer
608 views

Applying DTW on MFCC frames

I want to use MFCC (Mel-frequency cepstral coefficients) and DTW (dynamic time warping) algorithms to make a speech comparison script. I calculated MFCC and got 13 coefficients for each frame. How ...
5
votes
4answers
860 views

Monotonic, symmetrical soft-clipping polynomial

Okay, I intend to answer this question myself, but I would like other folks to pipe in on it. The issues or requirements are this: Input to soft-clipper is $x(t)$, output is $y(t)$. Output $y(t)$ ...
18
votes
4answers
25k views

Libraries for Voice Activity Detection (Not Speech Recognition)

As follow up to my previous question I was wondering if there are any speech detection libraries in existence. By speech detection I mean passing in an audio buffer and getting back an index of where ...
1
vote
1answer
1k views

Are there any signal processing libraries that implement TD-PSOLA?

For such a popular and old algorithm, I've had surprisingly little luck finding implementations. I've got it working in MATLAB, but am curious if any other languages have libraries containing it (...
4
votes
1answer
4k views

Demodulating FSK audio in Python

I am trying to write a Python script that can demodulate an FSK modulated audio file and return the data encoded in the audio. The data being transmitted is GPS NMEA strings which are embedded as the ...
1
vote
1answer
271 views

audio for VOIP - filter and resample or viceversa?

I am a noob to signal processing, but I need to create some audio files for IVR for Asterisk VOIP. So my lady friend with a nice voice records her message on a Windows machine and sends me a 44KHz, ...
0
votes
1answer
219 views

extracting MPEG-7 low-level audio descriptors using essentia

According to https://www.ntnu.edu/documents/1001201110/1266017954/DAFx-15_submission_43_v2.pdf, the audio processing toolbox Essentia includes the 100% of MPEG-7 low-level audio descriptors. However I ...
0
votes
1answer
143 views

Normalize speech features per dimensions or across dimensions

I am working on pipelines for audio processing (audio features that will go into a neural net to create some embeddings). We are using two features : Filter banks, or MFCC. I was wondering what was ...