Questions tagged [waveform-similarity]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
58
votes
7answers
90k views

How do I implement cross-correlation to prove two audio files are similar?

I have to do cross correlation of two audio file to prove they are similar. I have taken the FFT of the two audio files and have their power spectrum values in separate arrays. How should I proceed ...
11
votes
2answers
1k views

Good metric for qualitatively comparing image patches

I am trying to "match" little square patches in an image. At first glance, it seems reasonable to simply do a Euclidean distance style comparison of two of these arrays to get a "similarity" measure. ...
10
votes
1answer
1k views

What is the difference between normalized peak of correlation, versus peak of correlation divided by its average?

Given a template, and a signal, the question arises as to how similar the signal is to the template. Traditionally a simple correlation approach is used, whereby the template and a signal are cross-...
7
votes
3answers
8k views

Calculating similarity between two signal plots

I have two plots, each having frequency as x-axis and Gain as y-axis. By taking one data set as a reference I have to calculate similarity between them. The graphs have same values on the x-axis and ...
3
votes
2answers
496 views

Why is there a mismatch between normalized cross-correlation and perception for basic waveforms?

To my ears, sawtooth and square waves are more similar to each other than either one is to a triangle wave. However, when I compare their magnitude spectra against each other using normalized cross-...
3
votes
1answer
52 views

How to match two signals that have similar shape but are scaled and expanded?

I have two signals A and B in time domain as follows: Visually both signals look very similar; however the X and Y axis range are different for both the signals. Signal B is basically a "stretched" ...
2
votes
2answers
246 views

Audio descriptor of data

Is there a way to generate a waveform from data (any kind of data: integer, hexadecimal, string, char, binary), in a common audio player, without converting the data to an audio format? I'm looking ...
2
votes
2answers
4k views

Cross-correlation peak

How get cross-correlation peak and based on it calculate correlation score for similarity of two audio samples. SO far I've FFT two samples complex conjugate second multiply results IFFT cross-...
2
votes
1answer
1k views

Signal matching: How to quantify the difference between two signals of varying frequency

I have two waves, and I would like to quantify the difference between them. They are exponential sine waves where the frequency decreases with time. I'm interested in the difference in decay ...
2
votes
1answer
282 views

Making audio clips comparable in terms of RMS

I have a challenging question on how to normalize several audio clips so that they are comparable (similar) in RMS but without the clips clipping (having values over -1 and 1). Is there a systematic ...
1
vote
1answer
120 views

Comparing two time domain signals in a scale and shift-invariant way

I have two signals in the time domain, call them $S_1(t)$ and $S_2$(t). Because of calibration issues relating to the underlying devices that these signals are obtained from, they will not necessarily ...
1
vote
1answer
610 views

matching the mouth shape of an audio file(lip sync)

I am working on something like cartoon, but the character's mouth shape is automatically detected and matched by the word they are saying. my guess is to use speech recognize algorithm to analyze ...
1
vote
2answers
43 views

Doppler Shift and the Pulse Repetition Interval

Suppose that I have a signal $x(t)$ consisting of $N$ pulses at a given frequency $\omega_{c}$. I space them $T$ seconds apart, ie the Pulse Repetition Interval (PRI) for the waveform is $T$. Now ...
1
vote
1answer
112 views

Reduce Signal Size to Compare Them

I have multiple experiments and each of them produce several ($k$ for example) binary signals; some artificial example next: I have a metric to compare experiment results but I need vectors of equal ...
1
vote
0answers
89 views

Audio transient characterization of instrumental music

Some time ago, I seem to recall hearing or reading of an audio experiment where the very short initial transients of one musical instrument (A) were spliced in front of the much longer steady state or ...
1
vote
0answers
485 views

How do I decode(demodulation) and get original data from audio sample data

Here I'm talking about the less-than-ideal situations, in other words, the audio sample data may have burrs or error bits in it. Encode and decode theory: I am using FSK to encode my original binary ...
1
vote
0answers
33 views

Estimate the type of wavelet transform in receiver side

Suppose that a signal is decomposed by using discrete wavelet transform (DWT) and transmitted. Is it possible for receiver to find which type of wavelet is applied in transmitter side ? I mean, if ...
0
votes
2answers
2k views

Audio signal comparison for automatic singing evaluation

I am trying to compare audio waveform from input waveform (A) to preset waveform (B)from in the device. I try to lookup everywhere. Most likely someone give such a source code as follow : ...
0
votes
2answers
1k views

How to match a piece of very short audio based on key and pitch to find a piece in a large database that is most similar to it?

For a large amount of musical audio tracks I am doing the following with every single track: I am slicing the track into very small pieces whereas each piece represents a note onset event. So the ...
0
votes
4answers
3k views

How to generate a good Sinus audio signal of specific SampleRate, DataBits and Chunnels in a time frame

I encountered a problem when I tried to generate by a program an sinus audio signal. My parameters are Sample Rate: 44100 Hz Data Bits: 16 bits Channels: 2 I need to create a WAV file ...
0
votes
1answer
58 views

Failed to Get Silence in Audio Streaming

I want to detect silence in audio streaming. I've been following lot of answers from any website and i feel like know how to do that. but i doubt i'm on the right path coz the result doesn't seems ...
0
votes
1answer
80 views

Neural Network learning project based on 8 wave signals over 1 second at 1 sample every 10 ms ( hence 100Hz )

I'm currentely trying to train a neural network that can decide wether a pattern produced by the movement of a hand near capacitive sensors is as expected, or random. I have an MPR121 microchip linked ...
0
votes
5answers
579 views

Looking for an algorithm that computes “Similarity” between two signals

I'm new in this forum! ... and I'm not an expert in signal processing! ... So I hope to find help here:-) I was wondering if someone could point me to an algorithm/technique that is used to compare ...
0
votes
4answers
543 views

Similarity between two Signals: cycle by cycle

I need to find the similarity between two signals, i.e., measured signal and the reference signal(e.g. a simple sinusoidal signal). What I mean by similarity is, if there is any decentralized glitch ...
0
votes
0answers
43 views

Finding recorded sub-signal in the original audio signal

I have the original record of a song, and some fragment of the same song recorded by a microphone. I need to find the time where the fragment is appearing in the original. I have tried to use cross-...
0
votes
1answer
570 views

Comparison/Difference between two distinct plots

I am making a project where I can identify leaves by taking a picture of them and a database. I will use their widths to determine their shape. So, I worked across the stem of the leaf each width and ...
0
votes
0answers
838 views

Similarity of signals

I have a question concerning methods to find different aspects of "similarity" of signals. So, first, I'd like to characterize the signals to be dealt with: We have a number of close to rectangular ...
-1
votes
2answers
127 views

Problem in reading speech waveforms

I have two waveforms, and I'm not sure which of them is for the word "cease" and which one for "shoot". Now I guess based on voiced and unvoiced waveforms(voiced should be periodic), the first one is "...
-2
votes
1answer
4k views

Normalized Square Error vs Pearson correlation as similarity measures of two signals

Which measure should be considered better and when ? I tested both the measures on some data that I have and I got mixed results i.e. some are showing better results with Pearson and some with the ...