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.

244 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
105 views

How to synchronise two audio files using a marker

I'm working on a project on which we use WebRTC and the RecordRTC library to record audio files. I would like to be able to process the audio files server-side to ensure a good synchronisation. To ...
1
vote
0answers
29 views

Diference between Specific,perceived and perceptual Loudness

i came across many terms describing loudness ! I understood perceived loudness which is what the user perceived and is related to the user. What is specific loudness and perceptual loudness? ...
1
vote
0answers
74 views

Frequency contour cross-correlation

I'm trying to segment (or extract) different calls from a spectrogram. My current method, calculates a threshold value (variance) and then using RMS can detect voiced/unvoiced signals: $$ Thres = (1 -...
1
vote
0answers
459 views

audio features extraction using restricted boltzmann machine

I want to extract Audio Features using RBM (Restricted Boltzmann Machine). For this, I am giving the spectrogram (PCA whitened) as an input to the RBM. For each audio file, The spectrogram is a matrix ...
1
vote
0answers
166 views

Multiresolution discrete wavelet transforms: First steps

I have been looking at trying to use wavelets for multichannel audio dynamic range processor. I am in the very early stages of trying to get decomposition and reconstruction working. In this thesis, ...
1
vote
0answers
79 views

Length of frames for calculating cepstral coefficients

For audio classification we are using the cepstral coefficients and their derivatives. Which I calculate using the Matlab libary voicebox. I am looking for some literature for how to choose the frame ...
1
vote
0answers
2k views

Demodulating FM from IQ Samples using Simulink

I am using simulink and have got IQ samples from an RTL-2832 / E4000 usb dongle. I would like to learn how to decode an FM station to audio and attempt this project on simulink. How do I proceed with ...
0
votes
0answers
24 views

Problem with natural logarithmic function in fixed point notation

I am facing a problem with natural logarithmic function in fixed-point notation. Let's say x = 0.54, then ln(x) = -0.616186, a negative number => (1) Then in fixed-point notation, the value of x ...
0
votes
0answers
28 views

Changing Coherence function from float to fixed point

I want to calculate the coherence between two audio signals. After referring a few websites, I found that the coherence is calculated by using the equation $(1)$ which is as follows $$\rm Coherence = \...
0
votes
1answer
24 views

Matching input buffer size to opus frame size

I am working on an audio effect that passes it's input though the opus codec. I want the effect to be a VST, so I don't have control of the input buffer size and the sample rate. However, opus ...
0
votes
0answers
32 views

How to correctly pass filter states from one processing block to the next

I'm processing a 4 channel audio signal and due to memory requirements need to process the signal in an arbritrary number of blocks. To ensure consistent filtering between blocks I've been told I need ...
0
votes
0answers
23 views

How to deal with different audio formats for audio classification?

I am working on an audio classification problem statement to classify between two audio classes. I have collected samples from jotform, they are providing audio widget to collect .wav audio but it ...
0
votes
1answer
29 views

What is the actual format of this audio file?

I am collecting some data from jotform .wav widget. All the audio files are in .wav format. But when I tried to open the file using python ...
0
votes
1answer
29 views

Match an Equalizer Curve

I’ve passed a sine sweep wave file into an equalizer plugin I have, now I want to model it in matlab so that I can ‘copy’ the equalizer setting sound. I’ve both in.wav and out.wav audio files and ...
0
votes
1answer
49 views

Popping sound after using bandpass filter

I'm trying to create guitar Wah Wah effect (basically band pass filter with dynamic frequency range). I'm using Steinberg SDK for it. I refactored this code to work in real time and it looks like this:...
0
votes
0answers
28 views

Spectrogram parameters piano sound

I have to do 'inverse engineering' with piano sound and find sequence of frequencies in it. I have to use spectrogram() and adjust parameters but my problem is that I don't know how. I set window ...
0
votes
0answers
12 views

Masking threshold in psychoacoustics

I am reading the paper Adversarial Attacks Against Automatic Speech Recognition Systems via Psychoacoustic Hiding here. In Section III-F, they explained how they keep perturbation below the masking ...
0
votes
2answers
44 views

Conceptually confused by LPC for speech: Do we synthesize by the inverse filter (FIR)?

I've been following the process of using LPC to analyse the speech and then synthesize the speech by swapping out coefficients over time. I'm purely concerned with pitched vowels at this point. ...
0
votes
1answer
38 views

Phase difference calculation between two wave files

I am doing comparison between two wave files, How to calculate phase difference between those files? Second wave is generated by making some changes in the first one .I have tried calculating phase ...
0
votes
0answers
26 views

How can I detect the presence of echo in an audio?

The presence of echo during a phone call can be extremely irritating. Echo consists typically of the speakers sound being picked up by the microphone with a certain delay (10-200ms). One of the causes ...
0
votes
0answers
16 views

Can someone help me this db transform applied on melspectogram?

I have read some audio processing codes written in Python : ...
0
votes
0answers
32 views

Hide audio inside other audio using FFT

How can i hide audio inside other using FFT, I need to know how to begin and what to do ? the first image is for the first audio and the second which i want to hide
0
votes
0answers
8 views

Spectrogram vs MelSpectrogram

I am a university student in computer science and during a project, I run into the Mel Spectrogram. Doing some research, I found that the MelSpectogram is essentially a spectrogram where the distance ...
0
votes
0answers
15 views

Classifying audio files by their instruments

I have a small set of sound files where each sound file contains a note or chord played on some instrument. Some of those sound files may be generated by the same instrument and I want to detect that ...
0
votes
0answers
38 views

Remove aliasing caused by scanning a wave file at arbitrary playback rates

I am writing a sound generator that needs to scan through audio samples at an arbitrary rate. When the sample is played at it's original rate, it sounds fine. But when I change the playback speed, it ...
0
votes
0answers
22 views

Remove known sound from signal

I'm currently getting FFT values from the music playing from a user's PC. However, my application also generates noise which interferes with the FFT data as my app's sound is also coming out of the ...
0
votes
0answers
23 views

Transform-domain mixer for audio codec (e.g. Opus) using only addition and multiplication

If this is the wrong StackExchange forum, please tell me where else I should post this question. Is it possible to create a transform-domain mixer for compressed audio streams using only summation ...
0
votes
0answers
14 views

Detecting Vowels using formants in an audio file

I'm new to signal processing, but I have a project where I need to identify the start and end times of vowels that occur in an audio file (wav file of one sentence). From what I've read, vowels can be ...
0
votes
1answer
16 views

Ambient noise levels in desert and recording studio

Are there mathematical models which suggest which of the two - desert or recording studio - is likely to be quieter? I would think a recording studio would be quieter than a desert. Is there a ...
0
votes
1answer
29 views

How can I filter a noise with pattern type in audio?

I have a set of audio files rescued from a source of phonograph record like a gramophone. Very old family stuff records from my elders back in year 1946. A relative has digitalized these with a ...
0
votes
0answers
32 views

Simulating packet loss in audio

I have loaded a wav file into a Python Numpy array. I would like to "perturb the signal" such that the audio sounds akin to audio streamed over a poor internet connection. How can I mutate the ...
0
votes
0answers
15 views

Is audio normalisation required for a speaker recognition/speech classification task? How to do it?

Not entirely sure if this Stack or a ML-related stack would be a fit for this question, but I focus on the signal processing here on this question, so I decided this one I'm developing a speech ...
0
votes
0answers
54 views

What cause frequency change of the acoustic signal (3 kHz to 10 kHz)?

I am working on Acoustic Resonace testing in which I excite the sample and then record the sound (3 kHz to 10 kHz) by microphones. I do few times repetation of the same measurement in series (one ...
0
votes
0answers
38 views

How to measure quality of an audio/music recording compared to the original

I have 3 wav files: The original recording of a viola note A noisy re-recording of the original clip A different noisy re-recording of the original clip I'm looking for a way to show which of the ...
0
votes
1answer
44 views

pyo: Retrieve amplitudes of audio signal frequenciy ranges

I'm playing around with audio signal processing for the first time and just to start somewhere, I decided to use the Python library pyo. My goal is to analyze an audio input signal from the microphone ...
0
votes
0answers
27 views

Time Frequency bin

I am doing research in audio signal processing for DOA estimation. I came across the term Time-Frequency bin. I have gone through several articles but none of them specify a TF bin rather it specifies ...
0
votes
0answers
21 views

How can I calculate time gap in different waves

I want, calculate the time gap between two signals .but that signal has frequently changed the frequency range. I want to combine with these two signal including phase shift I have a circuit for ...
0
votes
1answer
40 views

How do I find the transfer function of a speaker by analysing the audio produced by it?

I have the original audio signal(MATLAB GENERATED) and the recorded audio signal (anechoic conditions). The setup consists of a DAC with a power amp plugged into the speaker. The audio is recorded via ...
0
votes
0answers
29 views

Audio in Image,Graph or WaveForm Representation

Our task is to feed the audio data into the deep learning tensor flow model in the form of image representation(or graphical,waveform). Question is what is the best way of representing audio in image ...
0
votes
2answers
136 views

How long does it take for snd_pcm_writei() (ALSA) to send data?

Using a pretty typical call to Linux's ALSA, snd_pcm_writei(pcm_handle, pcm_buffer, pcm_buffer_size) how do you know how long it should take to send this data? What ...
0
votes
0answers
78 views

Phase shifting in frequency domain

I am aware this topic has already been addressed in at least one question here, but despite that I could not find the solution to my problem. Also bear patience with me since I am not a mathematics ...
0
votes
0answers
15 views

Calculating wts in gammatone-gram

I am working on speech segmentation using gammatone filters. I can't understand the variable named GTord to calculate wts(weight) in the ...
0
votes
0answers
11 views

What features capture the semantics of a sentence from a gien audio?

I have been thinking lately and looking up on what could be the possible features that capture the semantics of an audio and came across MFCC: MFCC features represent phonemes (distinct units of sound)...
0
votes
1answer
59 views

Is it possible for Matlab to read and decode an mp3 file?

I have run the following Matlab code and I got a signal as shown in the Figure below. ...
0
votes
2answers
62 views

Can an audio recording tell whether it is made in a large or small room?

The conversation of one or more people will be analyzed. I think need to look for something similar to reverberation or echo in an audio signal. How can this be implemented? Update: small room is ...
0
votes
1answer
34 views

Hydrophone sensitivity rating

If I use a hydrophone with the sensitivity given as: "-200 dB re 1V/μPa". Question: How should I interpret this? Is it the voltage given at -200 dB SPL or?? All the Best!
0
votes
1answer
23 views

script to check zero crossings to check if microphones phases are aligned

I have 'n' microphones placed in square fashion and I want to make sure that all the channels must be aligned in time exactly the same if the signal is equidistant from all the 'n' microphones i.e. in ...
0
votes
1answer
292 views

generate a repeated square pulse train in python

Generate a pulse train with -2dBFS pulses of 20 sample duration every 8 seconds. I have referred here to generate a pulse train but not able to repeat it. How can I repeat this audio signal every 8 ...
0
votes
0answers
56 views

Mixing signal with noise in frequency space (STFT)

I am working on a preprocessing function which is supposed to mix two audio signals clean and noise in the context of neural ...
0
votes
1answer
53 views

STFT to spectrogram

I would like to know whether I am correct in my understanding of going from STFT to a spectrogram. My goal is to convert a spectrogram back to a wav file. If I have my STFT: ...