# Questions tagged [waveform-similarity]

The tag has no usage guidance.

36 questions
Filter by
Sorted by
Tagged with
100k 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 ...
2k 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. ...
2k 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-...
9k 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 ...
508 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-...
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-...
166 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" ...
254 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 ...
2k 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 ...
350 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 ...
136 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 ...
142 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 ...
685 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 ...
46 views

### Need a similarity metric that describes these two curve as highly similar

I have a large number of time series data and I need to be able to compare the similarity of the curves to a reference curve. The reference curve in question is shown in red in the figure, and I'd ...
156 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 ...
66 views

### Finding the Sections of Signals that are the Most Similar

I have two discrete signals, $A$ and $B$ (both with $L$ values). I want to look for the section (of a certain length $R$) on each signal ($[A_1:A_1+R]$ and $[B_1:B_1+R]$) where they are the most ...
44 views

### How to find if the signals are in sync or out of sync with each other?

Considering these are two signals over time, black and red.Following are some of the properties Every Second a new data point is added over time . There is no control on the generation of the ...
91 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 ...
559 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 ...
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 ...
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 : ...
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 ...
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 ...
100 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 ...
91 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 ...
680 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 ...
634 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 ...
24 views

### integral with vectoric varying coeficient

i have a basic function exp(-x.^2).*log(x).^2 which i integrate in a certain interval. i want to multiply my basic function with a vectoric coefficient called coef_vec that varies with the interval. ...
25 views

### Is mean squared error or absolute error on two spectrograms of two different wav files enough to compare how similar they are?

I've been working on a genetic algorithm to figure out how to play a guitar chord just by listening to it. I have it all working now, but the system I am using to compare how 'similar' a guess is to ...
56 views

### pointwise cross-correlation, finding offset in same signals

Problem: I want to find the correlation between two signals from point to point. That means that if they share y values then I want to know the x offset between them. This is what I want in ...
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 ...
58 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-...
640 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 ...
851 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 ...