Questions tagged [distortion]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
64
votes
10answers
42k views

Algorithm(s) to mix audio signals without clipping

I'd like to mix two or more PCM audio channels (eg recorded samples) digitally in an acoustically-faithful manner, preferably in near-real-time (meaning little or no peek-ahead). The physically "...
17
votes
2answers
14k views

Add odd/even harmonics to signal?

How do I add odd or even harmonics to a floating point signal? Do I have to use tanh or sin? What I'm trying to do is achieve some very simple distortion effects, but I'm having a hard time finding ...
14
votes
4answers
3k views

Is there such a thing as band-limited non-linear distortion?

So if you generate a square wave by just switching a signal between two values, at sample boundaries, it produces an infinite series of harmonics, which alias and produce tones below your fundamental, ...
13
votes
1answer
288 views

Looking for pratical quantitative comparison metrics for scaled, delayed and warped Signals

[Nota: I have validated the only answer so far, yet more explicit versions are still welcome] The following question is detailed in 1D, with time as the ordinal variable. Similar questions could apply ...
11
votes
3answers
15k views

Digital Distortion effect algorithm

I read the DAFX book by Udo Zölzer about the distortion effect at pages 124-125 and it says that suitable simulation of the distortion is given by the function: $$f(x)=\frac{x}{|x|}\left(1-e^{x^2/|x|}...
0
votes
1answer
143 views

Recommendations for SINAD equipment

I am interested in buying a device that measures the SINAD of the audio signal(FM signal) that I receive from PC. Here is the setup: Signal generator (generating 1kHz FM signal ) $\rightarrow$ ...
4
votes
3answers
872 views

Precise 5th and 7th harmonics of a sampled sine wave

Does anyone know in decibels (to 1/100th of a dB) what the theoretical 3rd, 5th and 7th harmonic of a 0dB fs 24-bit (i.e. full-level; 0dB = -8,388,607 to 8,388,607) sampled sine wave without dither ...
3
votes
1answer
5k views

How to model Tape Saturation (Audio DSP)?

I'm looking for info that would help me to build a Tape Saturation process. I'm working with the WebAudio API. The API provides a number of DSP nodes that perform basic processes, such as a Convolver ...
11
votes
1answer
289 views

How can one improve the robustness of adaptive beamformers to signal mismatches?

Compared to standard (conventional) beamformers, adaptive beamformers such as minimum variance distortionless response (MVDR) have much better resolution and interference nulling capabilities. Briefly,...
5
votes
1answer
249 views

Group Delay for Hilbert Transformer and Resulting Dispersion

An ideal Hilbert Transformer shifts the phase for all positive frequencies by $-\pi/2$ and all negative frequencies by $+\pi/2$ while maintaining constant magnitude everywhere. Group Delay is the ...
2
votes
1answer
456 views

Norm MPEG-1 Layer III (Mp3) Filter banks distortion

So, I'm working with the filter banks used in Mp3, in Matlab. I am obtaining quite a huge distortion in the output and I don't really know whether I'm making something wrong. I've reviewed the ...
0
votes
1answer
322 views

How to analyze image quality?

I have a few sequences of images, taken at fixed camera position, that address a moving object, which means the object moves towards the camera. But all the sequences of images are the cropped images ...
2
votes
4answers
857 views

Camera Calibration using Single Input Image

Given a camera, permanently located at the same position, angle and distance from what is being captured, and a single calibration image ( a row of vertical lines [ | | | | ] ), how would one go about ...
0
votes
0answers
21 views

Any recommendations for buying SINAD measuring equipment? [duplicate]

I am interested in buying a device that measures the SINAD of the audio signal(FM signal) that I receive from PC. Here is the setup : Signal generator -> attenuator ->HackRF connected to PC with SDR# ...