Questions tagged [waveform-similarity]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
3 answers
94 views

Why is my Cepstrum mirrored and how do I relate it back to the original signal to find an echo

I am not a signal processor but need to use Cepstrums in a bigger project I am writing to help identify echoes in seismic signals. I need to understand why the Real and Complex Cepstrums I create, in ...
user avatar
  • 11
1 vote
1 answer
29 views

How to synthesise an approximate 'pulse' waveform from an observed section of a similar waveform

Following on from my previous question, kindly answered by @peter-k, I have a related one... I have, in a small interval $a \leq x \leq b$, a function $q(x) := q(x;\rho,\gamma)$ whose exact form is ...
user avatar
2 votes
1 answer
68 views

How best to detect an unknown number of pulses of an approximate known form over an interval?

It is approximately 30 years since I last studied signal processing, but have lately encountered a problem for which I am confident the solution is well-known in the signal-processing world. I hope ...
user avatar
0 votes
1 answer
22 views

How to detect that a waveform is of the same type if it has a different frequency (Example: Sinwave with 2Hz and another with 10Hz)?

I am trying to detect whether a received waveform is a Sinusoid, Square Wave, or any other. How should I go about doing this, if the signal frequency can be different every time? I have looked online ...
user avatar
0 votes
0 answers
68 views

Should I use IQ data or power data to compare 2 signals through `similaritymeasures.dtw`?

I choose similaritymeasures.dtw to compare experiment signal exp_sig and reference signal ref_sig. Both signals are I,Q data ...
user avatar
  • 175
2 votes
1 answer
247 views

How to decode a binary Signal in a wav file into binary - sent here from stackoverflow

I'm doing a puzzle that gets me to call a phone number which produces a load of beeping sounds. Putting this into audacity as a spectrogram produces this: Zoomed in it looks like this: This looks ...
user avatar
1 vote
4 answers
352 views

What algorithm can I use to compare two signals' similarity?

Suppose I have two time series (measuring the gyroscope data from two body sensors — A and B). I somehow need to evaluate whether the signal B is "following" the signal A — that is, how ...
user avatar
3 votes
3 answers
82 views

Is there a difference measure that is insensitive to shifts?

I'm trying to figure out a difference measure that is relatively insensitive to time shifts. I have tried DTW (dynamic time warping.) This is the result: The signals on the left are clearly more ...
user avatar
  • 131
-1 votes
1 answer
110 views

Comparing two Accelerometer signals in time domain

As a research to answer my question, I've been reading several posts on this stack with a common thread of "comparing signals". The methods recurrently suggested were to use DTW, correlation ...
user avatar
0 votes
2 answers
272 views

Which algorithm could be used to compare two waveforms from an oscilloscope in XY mode?

I would like to receive some hint as to which algorithm could be used to compare two waveforms from an oscilloscope in XY mode, as shown in the image: Note that the image shows a percentage ...
user avatar
0 votes
0 answers
38 views

Global variability index for group of signals

Suppose I have a method that I can use to generate $n_p$ signals (we can intend them as realizations of an unknown not stationary discrete-time stochastic process). Modifying the method, I can obtain ...
user avatar
  • 1
2 votes
1 answer
172 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 ...
user avatar
  • 121
0 votes
1 answer
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. ...
user avatar
  • 149
1 vote
1 answer
480 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 ...
user avatar
-1 votes
1 answer
155 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 ...
user avatar
  • 1
1 vote
0 answers
99 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 ...
user avatar
0 votes
0 answers
64 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 ...
user avatar
  • 105
1 vote
2 answers
366 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 ...
user avatar
  • 600
0 votes
0 answers
97 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-...
user avatar
  • 1
3 votes
1 answer
909 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" ...
user avatar
0 votes
1 answer
152 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 ...
user avatar
0 votes
1 answer
104 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 ...
user avatar
2 votes
1 answer
532 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 ...
user avatar
1 vote
1 answer
226 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 ...
user avatar
5 votes
1 answer
260 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 ...
user avatar
0 votes
2 answers
2k 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 ...
user avatar
2 votes
0 answers
98 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 ...
user avatar
  • 34k
1 vote
0 answers
728 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 ...
user avatar
  • 111
0 votes
1 answer
1k 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 ...
user avatar
-1 votes
2 answers
160 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 "...
user avatar
  • 111
0 votes
5 answers
847 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 ...
user avatar
0 votes
4 answers
730 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 ...
user avatar
  • 3
1 vote
1 answer
756 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 ...
user avatar
1 vote
0 answers
38 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 ...
user avatar
0 votes
0 answers
874 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 ...
user avatar
3 votes
2 answers
5k 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-...
user avatar
-2 votes
1 answer
5k 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 ...
user avatar
8 votes
3 answers
10k 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 ...
user avatar
0 votes
4 answers
4k 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 ...
user avatar
  • 103
2 votes
2 answers
271 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 ...
user avatar
3 votes
2 answers
541 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-...
user avatar
2 votes
1 answer
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 ...
user avatar
0 votes
2 answers
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 : ...
user avatar
  • 11
10 votes
1 answer
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-...
user avatar
  • 9,269
11 votes
2 answers
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. ...
user avatar
67 votes
8 answers
118k 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 ...
user avatar