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
0
votes
0answers
36 views

Generating a colored waveform of an audio file?

I would like to ask on what approaches could one attempt to generate a colored waveform out of an audio file. Below are two examples of waveform coloring by commercial products along an audio sample ...
2
votes
1answer
68 views

How to interpret these MP3 spectrums?

Recently, I found I had this song duplicated in my music library, but when listening to them I noticed one version was of noticeably higher quality than the other despite both claiming to have a ...
0
votes
0answers
36 views

How to crop a song and mantain the same values in the sample vector?

Does anyone know how can I crop an audio signal and maintain the same values in the sample vector? I am working on a audio signal processing project for song recognition in Python and I wanted to ...
0
votes
1answer
105 views

MFCC classification model

I have audio samples which MFCCs i want to train, but there is a problem. I can't find a classification model, because the samples have different length and consequently the MFCC matrices will also ...
1
vote
1answer
49 views

Distort voice to hide talker identity as much as possible

I need to develop an app which makes speech recognition. Because I need to be able to constantly improve the recognition capability, I would like to train the engine with real recordings and match the ...
1
vote
0answers
64 views

Additive Synthesis - clean playback of a spectrum frame

First of all - I have only a limited of Fourier transforms and the mathematics involved, so please pardon any potentially bad terminology or huge gaps in conceptual knowledge. I'm experimenting with ...
0
votes
0answers
34 views

Time gating of FFT for audio Measurements or Multi Time Windowing

I am learning more about DSP specifically for audio measurement purposes. I can an app, where I can create a log sine sweep from start frequency to end frequency over a certain length. I can perform ...
-1
votes
1answer
35 views

How to separate silence from frequencies in Matlab

For a project, I was asked to create a DTMF detector on Matlab. I know that the audio sample that will be provided will have 4 tones maximum, possibly less, and that the audio begins with a 0.1 second ...
0
votes
0answers
53 views

Designing Matched Filters on Arduino

I'm trying to develop a prototype at the moment that includes a sensor to detect how fast someone is typing on a keyboard. Essentially this sensor is a microphone that will be able to detect keyboard ...
1
vote
2answers
178 views

audio spectrogram normalization

I am performing language classification from audio signals using mel-spectrograms as my inputs for a ResNet. It works well as long as all of my audio data from different languages is from the same ...
1
vote
0answers
27 views

What is the difference in the algorithm for noise reduction in SoX and Audacity?

I've looked at this question, and I understand that SoX works way FFT of the noise, then subtracting that from the FFT audio, and then resynthesizing using FFT, but I don't quite understand how this ...
0
votes
1answer
21 views

What are the ranges of values for each audio feature/descriptor?

I need to normalize some audio feature measurements I've done with the software Wolfram Mathematica. Coming from a non signal processing background, I have some difficulties understanding what ...
0
votes
0answers
11 views

Wavelet Analysis Magnitude Scale

I am trying to plot magnitude against frequency averaged over a time window. To do this I make a morlet wavelet Filterbank. And multiply the dft of each kernel by the dft of my incoming data set. ...
0
votes
1answer
26 views

Deriving difference equation

I have this block-diagram of Karplus-Strong basic algorithm. Where $$H_{d}(z) = \frac{1+z^{-1}}{2}$$ The problem occurs when I try to get the difference equation. As I can see from the diagram, that ...
2
votes
0answers
20 views

Is it possible to create a causal filter with a positively-sloped phase response?

I am currently prototyping a set of noise-cancelling headphones that utilize active EQ to modify the noise-cancelling signal, allowing the user to modify the frequencies that they hear or don't hear. ...
0
votes
0answers
21 views

Methodology for log some sweep audio measurement impulse response

I am trying to implement a method for measuring the response of a loudspeaker in a room using a log sine sweep stimulus. To check my method: 1. I create the stimulus using: Make recording length ...
1
vote
0answers
106 views

Implementing real-time variable fractional delay line in Matlab

I am attempting to implement a fractional delay line in Matlab which operates in real time, uses an object-oriented approach, and whose length can be modulated each time a sample is processed. I have ...
0
votes
0answers
26 views

Log Sine Sweep Acoustic Measurements

I am currently trying to understand the Sine Sweep Method for taking acoustic measurements. I am following this paper: https://www.thinksrs.com/downloads/pdfs/applicationnotes/SR1_SweptSine.pdf I ...
0
votes
2answers
101 views

Significance of signal energy in audio?

Probably a dumb question but I can't find the answer anywhere. It seems to me that the energy carried by a sound wave should be proportional to frequency squared. For example, the waves $x(t)=\sin(t)$,...
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 ...
0
votes
1answer
65 views

Reading a Wav File [closed]

I need to read two .wav files. One of them is a song, and the other one is impulse response. Then, I have to convolve them. In fact, I have read them by using ...
0
votes
1answer
774 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
0answers
16 views

Interpreting results of multiplying signal and wavelets in the frequency domain

I have followed a lot of stuff on mike cohens website and have managed to make a filterbank of Morlet wavelets and convolve with an incoming block of samples. This of course is a computationally heave ...
0
votes
0answers
42 views

Speech processing using matlab

My teacher gave me a project speech processing using matlab. I've completed up to point 6 but I do not know anything about points 7 and 8. Is there anyone who can help me please
1
vote
0answers
33 views

Help in identifying low speed image transmission protocol over RF

In the seventies I worked for Muirhead on press fax machines that used to transmit pictures over radio and landline as I recall two FM systems were used a carrier 800 Hz modulated +- 150 Hz and 1900Hz ...
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 ...
2
votes
1answer
35 views

Why do AAC files seem to have an inexact bitrate?

I'm using ffmpeg to encode audio files as AAC at 256kbps. However, the actual bitrate of the resulting file is rarely 256. It's usually a number close to 256 like 241, 255, 257, 254. In one case it ...
0
votes
0answers
50 views

Detecting similar behaviour in audio files

Can anyone help, I'm trying to find a solution that would allow me the ability to look at a batch of .WAV files and detect ones which share a similar behaviour in the recording like the image attached....
0
votes
0answers
67 views

How enhance amplitude of audio signal without distortion?

After FFT I've set to zero some frequencies and I'd like to enhance the amplitude in order to recover the leak. I'd like to do a normalization in order to avoid distortion. I've done in this way but ...
0
votes
1answer
36 views

Generating audio clip by superposing two files

I'm currently trying to generate a set of audio files where some audio events (e.g. dog bark) are immersed in a background audio scene (e.g. crowd noise). I understand that if the event would have ...
0
votes
1answer
87 views

Formant Analysis Frequency - What makes a peak value?

from spectrograms, how can you tell which peak is really a formant. Like why is the pink arrow the first formant. And in the spectrogram below, which has fewer samples, what makes a value the peak ...
1
vote
0answers
44 views

Finding the input from the impulse response and output

I have $y,h,x$ which are all vectors. From $y[n]=x[n]*h[n]$ which is basically how I got $y[n]$. I also know $h[n]$. I put this through a Fourier transform. Let's assume that the capitalized ...
1
vote
2answers
87 views

Multiple different length Windows for high resolution realtime FFT

I am looking at trying to achieve a 'realtime' (as quick as possible to acquire, process and present data) FFT application to analyse audio. I have setup my app to acquire a set of samples, apply a ...
1
vote
1answer
74 views

Hilbert Transformer processing block by block

I am processing audio and trying to obtain a 90º phase shift when processing block by block. I have implemented a Hilbert Transformer (from Lyon's 3rd. Ed. & MATLAB). MATLAB code below (I believe ...
0
votes
1answer
31 views

audio analog input + usb data cable = sound noises [closed]

I connect my android smartphone from audio jack output to my pc audio input and get a good analog sound signal. But when I connect this smartphone to the pc with usb data cable the analog sound ...
1
vote
2answers
364 views

Audio processing. Is it possible to directly access the decoded audio data going into the analog input of a computer

When a computer transcodes an audio file from one file format to another, does the computer first decode it into the raw digital stream (exactly what is fed into the DAC for the audio output) , or ...
0
votes
0answers
40 views

Is it possible to analyze this microphone data and what to do if not?

I just created an account here because I really need some help. I'm using a microphone pmodmic3 with a development board called Ublox C030-U201 which uses the mbed OS. The microphone is working for ...
0
votes
0answers
8 views

Efficient measurement of audio sound pulse

Here and here are two interesting posts about converting an audio signal recorded from a microphone to SPL. For specific case of pulse recording, with 0.5ms pulse duration with 1s period between ...
2
votes
3answers
98 views

How can I convert audio to a series of notes using pitch detection?

I have a good pitch detection system set up, and I would like to return a series of notes given an array of audio samples. My current approach is as follows: I have a moving window across the audio ...
0
votes
1answer
24 views

extend parts in an existing audio file to make it sound longer without stretching the file

I'm looking for a way to extend certain parts of an exiting audio file to make these parts sound like the where played longer. And I dont want to change play speed or stretch the file. Lets say u have ...
0
votes
1answer
31 views

Do Audio Interface manufacturers use A-weighted Measurements to make specs look better?

Recently I came across a reputed music-tech teacher who said audio interface manufacturers use A-weighted measurements to show dynamic range in their specs so that they look better on spec sheets and ...
0
votes
0answers
7 views

TEO-CB-AutoEnv implementation on python?

I'm trying to search for an implementation proposed as the nonlinear critical band based TEO auto correlation envelope area (TEO-CB-AutoEnv). If anyone knows of a library or such can you please link ...
0
votes
1answer
42 views

“Tail-like” response from digital microphone

I was doing some experiments with audio and wish to get "raw and unprocessed" data, and noticed that all the files had the following profile (just blowing into the mics): Speaking to the microphone ...
1
vote
0answers
49 views

Noise Reduction: How can I filter out saw or other tool noises?

I recently came across old recording from the 1930's. Unfortunately not only is the quality low, it's a bunch of carpenters talking as they saw things and make all sorts of other noises. I've tried: ...
0
votes
1answer
51 views

Frequency modulation audio synthesis: clicks/pops when changing modulator frequency dynamically

I'm very new to DSP and working on a FM VST. It's mostly up and running, or at least it generates FM-like sounds. I want to be able to change various parameters dynamically while audio is generated, ...
0
votes
1answer
59 views

Extracting audio from picture of time-domain signal

I saw this nifty art thing where they dress up the time-domain audio signal in some pretty way. https://www.etsy.com/ArtbloxShop/listing/621561709/sound-wave-art-custom-soundwave-print My question is ...
1
vote
1answer
183 views

Polyphase decimation filter plot in Octave

I'm using de Soras hiir library for decimation and I'm trying to verify the filter design in Octave. The filter is a polyphase 2x downsampling filter with 96dB attenuation and 0.01 transition band, ...
1
vote
1answer
50 views

Frequency analysis : relation between FFT size and sampling

I am currently trying to perform an experiment given an audio signal. I am therefore sampling the audio frequency range (0 to 22kHz) with a 48k sampling rate. When performing a FFT on my signal, I ...
0
votes
0answers
42 views

Python scipy firwin2 has a low frequency error when designing arbitrary amplitude filter

I've been trying to design an arbitrary amplitude FIR filter which has a specific attenuation for each frequency. However I get an error at low frequency when comparing the results to my expected ...
0
votes
1answer
470 views

Audio/speech detection, verification

I would like to write a program to compare two '.wav' files, one of which is the original played file with human speech and the other is a recorded '.wav' file. The program I wish to write in python ...