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
4
votes
2answers
188 views

Processing signals with phantom fundamentals

Is there a formula to calculate the frequency of a phantom fundamental based on the harmonics, and would this formula be applied directly to the energy bins of an FFT?
4
votes
3answers
319 views

Harmonic errors in acoustic instruments

If a note has a fundamental frequency of 100Hz, then its second harmonic is located at 200Hz and its tenth harmonic is located at 1000Hz. But for acoustic instruments, the harmonics will not occur at ...
4
votes
2answers
899 views

differences in fundamental frequency/pitch between music and speech

I am developping a program, that extracts very expressive frames from a video (meaning: frames, which could summarize a video) for a university seminar. One of my ideas was, to analyze the audio data (...
4
votes
2answers
279 views

Estimating effect of filter on headroom

I am working with beamforming algorithms for speaker arrays. One of the problems we face is that we need to estimate the maximum amplitude of our test signals after we applied FIR/IIR filters to them. ...
4
votes
1answer
8k views

Taking audio frequency and picking out peaks (Peak Detection)

So I have a unique challenge. I want to take an audio file, and pick out the peaks in the samples and plot that onto a graph. Each point based on the amplitude/pitch(?) will be represented as either a ...
4
votes
2answers
3k views

Audio time stretching, without pitch shifting

This might be a Sound Design question, or a StackOverflow question since I am attempting to do this with Java. I would like to play back a sound at the same pitch, but stretched out in time. My ...
4
votes
1answer
223 views

Are there other filter models besides IIR and FIR for processing digital signals?

I am very familiar with IIR and FIR filters for processing digital signals (audio is my main interest). I am keen to know if there are alternative filters based on different mathematical models to IIR ...
4
votes
2answers
3k views

How to know if a audio file is real lossless using its spectrogram?

I need to know if a certain audio file is real lossless and not a transcode (i.e. lossy converted in lossless, but lossy at the end). I was told there was a way to do this by creating a spectrogram of ...
4
votes
1answer
2k views

Acoustic feedback detection algorithm

I am woking on an sound processing application where I have limited processing resources. I need to be able to detect acoustic feedback and then signal that such an event occurred. I am not concerned ...
4
votes
2answers
1k views

Subtracting Original Audio Signal

here is my scenario: one speaker is sending a chirp, and a microphone is recording it as well as all following echoes. The function of the chirp is already know. My goal: subtract the original chirp ...
4
votes
1answer
3k views

SNR calculation in audio reconstruction and what is an acceptable value

I have the original signal, a .wav file and by blind source separation, i have reconstructed the signal. How can I calculate the SNR in this case? or is it good to use any other performance parameters?...
4
votes
1answer
3k views

how important is the pre-emphasis stage in MFCC?

I wrote a simple MFCC routine, using all the steps usually suggested in the literature with the exception of the pre-emphasis stage. How important is this stage? Also, some authors suggest that using ...
4
votes
2answers
2k views

Whats the optimal window function to use for analyzing real-time data samples?

Say you wanted to run a X point FFT on the last X audio samples that were played. The problem being, using a normal hann window function would place emphasis on the "middle" of the audio sample. ...
4
votes
1answer
3k views

Spectrograms for neural nets

General Question Given an audio file, say a 16-bit wav, what are some standard methods to preprocess a spectrogram of this wav so that it may be fed into a neural net? Context In Lee et al's 2009 ...
4
votes
3answers
2k views

Best beginners guide to sound/audio

I'm trying to learn audio programming, but am struggling with the basics of audio. Audio programming is new to me (I'm a C/C++ developer with over 30 years of experience), but I don't have any ...
4
votes
1answer
918 views

What is the difference between PSOLA and TDHS time-scaling or pitch-shifting?

What is the difference (if any) between PSOLA (Pitch Synchronous Overlap and Add) and TDHS (time domain harmonic scaling) time-pitch modification algorithms?
4
votes
3answers
4k views

Detection of wobbling sound with rising notes

In an audio file I would like to find calls of a specific bird specie, one that makes wobbling sound with rising notes. Can you recommend what would be the best audio feature to calculate in time or ...
4
votes
2answers
173 views

Measuring the “frequency stability” of a signal

I'm thinking about ways to automatically identify and analyze lots of musical instrument samples, and would like to find the part of the sample that's the most stable in frequency, without any ...
4
votes
2answers
4k views

short time energy function explanation

Will someone be able to explain short time energy function for me in a simple way explaining all the variables in the formula? The issue that I have is in the formula the summation varies m like, ...
4
votes
2answers
275 views

How to detect continuous noise in audio call?

We want to detect bad audio quality in audio call. Should we extract this information from amplitude or frequency spectrum ? Is there any technique/transform/filter available for this ? Example: I ...
4
votes
1answer
2k views

How does Adobe After Effects generate its “audio spectrum” effect?

I'm trying to replicate the "audio spectrum" effect from Adobe After Effects. An example can be seen in this video: Obviously, it has to be some variant of a fourier transform, but I've tried taking ...
4
votes
1answer
2k views

Use MATLAB to Restore a Signal from a Given Degraded Signal Using Tikhonov Regularization

Anyone could share how to develop an application in MATLAB to restore the signal from a given degraded signal using Tikhonov regularization i.e restoring the signal $f$ via solving $$ \min || g - f ...
4
votes
1answer
362 views

Algorithm for identifying beat grid in music with non-constant tempo

Are there any algorithms for automatically fitting a beat grid to a song (tempo matching) when the song has a slowly changing tempo or BPM? The output would be a vector of onsets. Here's a picture ...
4
votes
2answers
182 views

Filter away sinusoidal noise properly

I have a stereo music signal corrupted by strong sinusoidal noise that varies over time. Here is the spectrogram of Left channel I plotted with Matlab. As you can see there are 3 or 4 strong ...
4
votes
3answers
110 views

Classifing audio signals to detect fault

The basic idea i'm working on is automatic fault detection using audio signals captured from Motor. I have like set of sample audio signal which are recorded when there is no fault and with fault at ...
4
votes
1answer
2k views

From MFCC to Machine learning. What are the steps?

I was able to get a dataset with MFCC coefficients. However, depending on the length of my sound file I get a different sized matrix. As in, 13 (13 MFCC coefficients) by XXX, where XXX will vary ...
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: ...
4
votes
1answer
799 views

Calculating Beam pattern, Directivity of microphone array

As answered in Relationship of Fourier Transform and Spatial Directivity Pattern the relation between directivity pattern and weights is given. But I am bit confused, I have Beamformer weights (...
4
votes
1answer
2k views

Audio Steganography using Phase Encoding Technique

I referred the below papers to understand the working of Phase Encoding,but the explanation is not proper.Just a few steps have been given in brief. ijcsi.org www.ijarcce.com Can someone please ...
4
votes
1answer
1k views

Onset Detection Peak Picking

I have a guitar music signal and I want to detect the onset points via energy. This is the signal example: This is the energy plot: My question is what would be the best method defining the ...
4
votes
4answers
11k views

Note Recognition Software

I'm wondering if anyone knows of any open source solutions to note recognition. I'm planning on building a program for online sheet music, which recognizes your notes, and tries to tell you what you ...
4
votes
1answer
1k views

Convolving With half-Hanning

The goal is to get a 200ms decaying delay of an audio signal while preserving the sharpness of attacks to mimick human perception of sound. The paper I'm following convolves a 200ms half-Hanning ...
4
votes
4answers
8k views

How Can I Resample a Signal with an Arbitrary Factor (For Example - 128000Hz to 16000.1Hz) in MATLAB?

I need to simulate the sampling of a continuous (fsCtu = 128000Hz), acoustic signal with two microphones that have a slight offset in sampling rate (fsMic1 = 16000, fsMic2 = 16000.1) in Matlab. What ...
4
votes
3answers
349 views

Voice recovery with high-noise, low-gain

I have a recorded interview with two speakers, in which one voice's gain was much higher than the other (by three orders of magnitude). Increasing the gain does not help, because speaker 2's voice is ...
4
votes
6answers
1k views

Find Short Clip of Audio Within Longer Clip Of Audio

I need help figuring out a way to automatically synchronize two audio files that are both different recordings of the same source. More info below. This example is from a concert, where there is only ...
4
votes
1answer
230 views

Combining time domain and frequency domain data for BPM detection in real time

I would like to write a BPM detector. Does either of the domains provide more information for this type of analysis? What exactly is being looked for in the data to detect onset for BPM detection in ...
4
votes
1answer
1k views

What is the best way to represent audio visually? (x-post from UX)

Original Question: https://ux.stackexchange.com/q/23040/16006 I've only taken some basic signal analysis courses, so I might be missing some things. Purely theoretical question: What methods exist ...
4
votes
1answer
307 views

How to characterize the regularity of rhythm?

Again, my snoring detector: When I look at the rhythm of snoring vs the rhythm of talking in terms of peaks/events (which would represent snores) per hour, there's not much difference -- they range ...
4
votes
0answers
3k views

Verifying MFCC Final Result

I have created a Octave code for MFCC calculation for speech recognition, which takes a wav file as input and then gives the MFCC as the output. But the final results are a bit confusing, so I am ...
4
votes
1answer
670 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 ...
4
votes
1answer
210 views

Teager's Energy Operator

Does anyone know how to find information on the derivation (rather than the definition and application) of Teager's Energy Operator, both for the continuous and sampled case. I have Kaiser's early ...
4
votes
0answers
600 views

What is EAQUAL ? How does it relate to PEAQ?

This wiki post on wiki.hydrogenaudio.org says that it is very similar to PEAQ and also a part of ITU-R BS.1387 recommendation ? How reliable it is for determining audio quality. Are there any other ...
3
votes
4answers
834 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 ...
3
votes
4answers
3k views

Why audio clipping produces harmonics?

Today I was talking to my collegue about clipping and he said that clipping produces harmonics in frequency domain as he showed me the clipped signal frequency response. However when I asked him why ...
3
votes
2answers
6k views

Eliminate Signal A from Signal B

i have 2 audio signals, both available in time and frequency domain: A: Noise B: Noise(A with minor variations) + Additive sounds (C) i want to eliminate Signal A from B to leave only C. C is for ...
3
votes
2answers
529 views

Strange results from my FM synthesis algorithm

It seems that I haven't studied enough about FM Synthesis. My current algorithm looks like this: ...
3
votes
2answers
67 views

Is it accurate to say in digital audio that, when a fader is down, then its value is “-$\infty$”?

Is it accurate to say in digital audio that, when a fader is down, then its value is "-$\infty$"? What has confused me is, whether it's really $-\infty$ or some lower bound of the amplitude. it could ...
3
votes
2answers
214 views

Are there equations for placing sounds in the stereo field using delays?

I'm thinking of the typical stereo widener (haas, binaural) effects here, those that extend from the typical pan knob to create "out of the headphones" -experience. These processors can be automated ...
3
votes
5answers
12k views

generating spectrograms in python with less noise

I'm trying to do something similar to Shazam (paper here) in Python. Basically the idea is to use FFT with sliding window to transform both WAV files and recorded audio to the same spectral ...
3
votes
5answers
280 views

What Are The Semantics Of Wav-File Sample Values?

The title is the question. To make this concrete, assume I have a standard 16-bit single channel wav file, with (although it doesn't matter) a 16000 Hz sampling rate. Each sample magnitude will be a ...