Questions tagged [amplitude]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
1answer
10k views

Converting raw I/Q to dB

I am getting I/Q data from a software-defined radio. I want to do some stuff on signals in the data, but only if it exceeds a certain range. What is the general procedure to get dB (dBm, or anything)...
5
votes
4answers
7k views

Equal power crossfade

I am working on an audio system where I need to implement an equal power crossfade between two signals over a specified number of samples. Initially I implemented a linear fade but this creates a dip ...
4
votes
2answers
5k views

Extracting accurate phase and amplitude information from FFT with an arbitrary number of samples

This is a followup question to one I asked earlier based on the chat after the answer given by @hotpaw2, and cross-posted from stackoverflow since it was suggested it is more relevant to DSP. I have a ...
4
votes
1answer
845 views

Envelope of a signal via Convex hull / Edge detection

Is there a method in order to compute some sort of edge detection / convex hull of a signal x[n] (in orange here). Here of course the orange signal is not convex ...
4
votes
2answers
2k views

What is the right way to extract particular frequency phase information from FFT?

Signals acquisition: Two proximity sensors are positioned Orthogonal to each other. These would be measuring the vibrations of a rotating shaft. Problem: Each of these 2 signals has two dominant ...
3
votes
3answers
3k views

Adequate representation of frequency domain amplitude/magnitude of FFT of a signal

I'm quite new to the subject and am having fun playing around with the FFT. What I am currently doing is trying to sample an audio signal and display its frequency spectrum at the same time. This ...
3
votes
2answers
601 views

Do DCT results contain phase spectrum?

I've been working much with numpy.fft lately where just like the documentation says: When the input a is a time-domain signal and ...
3
votes
2answers
5k views

Why FFT does not retrieve original amplitude when increasing signal length

I don't understand why FFT return different maximum amplitude as the signal length increase. I would except that with a large signal length according to the frequency, detected amplitude will be very ...
3
votes
3answers
2k views

Peak to peak amplitude of sum of sinusoidals (harmonic frequencies)

I would like to estimate the peak-to-peak amplitude of a periodic signal whose frequency components are known. This is, I have the frequency spectrum (a peak in the fundamental frequency and other ...
3
votes
1answer
337 views

Estimation of the amplitude of a frequency component in a signal

I'm working on a device that produces a signal with sampling rate of 100 kHz. Every 40 ms, I receive 16000 points, from which I have to extract a frequency close to 3.55 kHz. I have developed a method ...
3
votes
1answer
489 views

How we do frequency shaping and amplitude shaping in hearing aid

My project name is Digital Hearing Aid with frequency shaping and amplitude shaping using adaptive noise cancellation DSKC6713 DSP kit . Almost I have done this noise cancellation using code studio ...
3
votes
2answers
157 views

Lock-in amplifier

From what I have studied so far I have understood that the benefit of a lock in amp is its ability to resolve the amplitude of a signal which is deep into noise. I was wondering if the same concept ...
3
votes
1answer
934 views

Why do we read that Hilbert transform can be used for envelope detection?

We can often read that Hilbert transform is useful for envelope detection (e.g. Hilbert transform to compute signal envelope?) I have done some tests with various soundfiles, and ...
2
votes
3answers
559 views

What is the (approximate) function for amplitude of a plucked string over time? Does it differ between string types?

Impetus: I'm currently working on my first synthesizer, after many years of playing with them. I've just added an ADSR envelope to modify the gain, but for some reason it sounds wrong to me. I've ...
2
votes
1answer
3k views

How is the symbol error rate for M-QAM, 4QAM,16QAM and 32QAM derived?

How do you derive the theoretical symbol error rate as a function of $E_\mathrm{b}/N_0$ for 4QAM? I know that the result should be $Q\left(\sqrt{2E_\mathrm{b}/N_0}\right)$ but I am ĺooking for the ...
2
votes
1answer
64 views

MATLAB FFT Amplitude

I am trying to understand FFT, DFT through Matlab and I am fairly inexperienced in all of these. I have a time vector t and a corresponding simple sine wave x = 0.25*sin(t). Now I would like to view ...
2
votes
2answers
67 views

Estimation of step amplitude using the CUSUM algorithm

I used the CUSUM algorithm to detect steps in data. Basically the data looks like this, the data has a constant amplitude and then there is a rapid variation or a step. For example, the signal has a ...
2
votes
1answer
8k views

Difference between single sided and double sided amplitude spectrum

I've recently gotten stuck with a small issue. I was asked to plot the single sided amplitude spectrum of the signal $x(t)=\cos(2\pi\cdot20000t)$. I know that $X(f) = \frac{1}{2}\cdot\left[\delta(f-...
2
votes
1answer
153 views

Amplitude Spectrum, Nyquist Frequency, mixed/min/max wavelets

The problem is here. Now I know the definition of mixed/max/min phase wavelets, whether the roots lie within the unit circle or not. Starting from n = 1, let $$ x_t = ( 5, 6) $$ $$ X(z) = 5 + 6z $$ ...
2
votes
1answer
131 views

Perform lowpass filter by hand

I've done research and could not find any resources on this topic. I have message signal composed of more sinusoids. Then I preform amplitude modulation, that is multiply that signal with higher ...
1
vote
4answers
774 views

Transfer function between voltage and decibel output for in-ear headphones

What would be a decent formula for approximating the connection between voltage and decibel output for a typical set of unpowered in-ear headphones? I'm generating sine waves from the computer: an ...
1
vote
2answers
2k views

Quadrature modulation for FM and AM

This might be a naïve question, are these correct statements? Both amplitude and frequency modulated radio signals nowadays use quadrature modulation and demodulation as a mean to transfer and ...
1
vote
2answers
227 views

Estimating the amplitude of a particular frequency

I am relatively new to DSP and have been reading a lot on the internet. I have a couple of questions. I have a signal in the form of a function $$ f(x) = A_0 + A_1 \cos(\omega_1 x) + A_2 \cos(\...
1
vote
2answers
444 views

Closest two frequencies that can be resolved

Forgive me if I misuse the terminology. I wish to transmit two slowly changing analogue signals by amplitude modulating two higher frequency sinusoidal carrier waves. I will superimpose the two AM ...
1
vote
3answers
327 views

Amplitude cutoff following FFT

suppose I have a noisy sine wave (as R code): ...
1
vote
2answers
3k views

How do I calculate the frequency of the highest amplitude wave?

I have a number of values retrieved from a sampled signal that is generated randomly for no specific purpose. The task I am presented with (Quoted below): calculate the frequency of the highest ...
1
vote
1answer
538 views

Maximum Throughput of QAM system

Consider a QAM system designed to transmit over a bandwidth of $3 \ \mathrm{kHz}$. The channel's power constraint imposes a maximum $\mathrm{SNR}$ of $30 \ \mathrm{dB}$. The system can tolerate a ...
1
vote
3answers
88 views

Logaritmic amplitude squarewave

This morning i was experimenting with GNU Octave. I created several signals(Sine, Saw tooth, square wave and noise). After this i used the periodogram. in the periodogram the square wave weren't ...
1
vote
1answer
183 views

In speech recognition applications, how are different voice amplitudes handled? (i.e loud vs. quiet tones)

I am doing some research related to real-time voice/hotword recognition engines. In most current implementations, input is divided into frames (overlapping or not), and audio features are extracted ...
1
vote
1answer
827 views

What's the fastest way to get the phase angle and amplitude of a COSINUS 50hz signal?

I'm not a DSP specialist.I'm working in transmission and distribution. I need to retrieve the amplitude and phase angle of a discrete 50Hz COSINUS signal as fast as possible. Right now I'm using a ...
1
vote
2answers
3k views

FFT Overlap in Matlab

I am getting incorrect amplitude of my signal post FFT (90% error) and it does not improve after applying any of the window functions prior to FFT. After reading a number of articles, I believe FFT ...
1
vote
1answer
2k views

Java amplitude processing

I have some code that collects amplitudes from a complex sound like a song. I now want to plot a graph of amplitude vs time, for the graph plotting I use JavaFX. However I get about 9 million ...
1
vote
2answers
186 views

Amplitude in frequency domain not as expected with discontinues time domain signal

I'm having a problem where I cannot explain why the amplitude in the frequency domain not is as expected. The scenario: I have a time domain signal of consisting of two sine waves. on at 5Hz with ...
1
vote
1answer
103 views

Improving template with instantaneous amplitude

Given some recording (containing both the signal of interest and some Gaussian noise), can we improve our template (or model) of the signal using the analytic signal of the recording? For example, a ...
1
vote
1answer
614 views

Digital 16-bit PCM audio signal scaling and STFT spectogram amplitude

I'm sampling a 16-bit PCM audio signal at 44100 Hz and I'm trying to understand the amplitude level of both the digital audio signal and its corresponding spectrum. The final goal is creating audio ...
1
vote
1answer
48 views

How to find out amplitude of harmonic after diff type of FT?

I am new in DSP, so I apologies if it's dump questions but I didn't find needed information on the Internet. So the questions is: Assume that we have simple harmonic signal described by next function ...
1
vote
1answer
141 views

Quadrature Amplitude Modulation: I and Q Same

I am trying to understand a previous design that uses Amplitude Modulation. Instead of just using the real part of the signal, the designers put the voice signal on both I and Q. Both I and Q have ...
1
vote
2answers
3k views

Is there a function in python which returns the Amplitude/Sound Pressure Level of a sound file(like .wav) file?

I found a function called scipy.io.wavefile.read() which returns the sampling rate and an array. But in the documentation, it is not specified that whether the ...
1
vote
1answer
3k views

Amplitude transfer function

Given a LTI-system $$y[n]=x[n]-2x[n-1]+y[n-1]- \frac{8}{9}y[n-2]$$ The transfer function $H(z)$ is: $$H(z) = \frac{1-2z^{-1}}{1-z^{-1}+ \frac{8}{9} z^{-2}} $$ How do I calculate the amplitude ...
1
vote
1answer
977 views

DFT normalization for amplitude estimation

After an interesting recent answer, I'm doing some research on proper DFT normalization for sinusoidal peak estimation. It's clear that to get the correct amplitude from DFT peaks we need to normalize ...
1
vote
2answers
972 views

A clarinet has no even harmonics. What would produce no odd harmonics?

According to this link, the waveforms of clarinets do not have even-numbered components in their harmonic series: A closed cylindrical air column will produce resonant standing waves at a ...
1
vote
2answers
483 views

Is phase and amplitude information necessarily lost when undersampling?

Is phase and amplitude information necessarily lost when undersampling if you have a constant periodic single frequency sinusoidal? My second question is: How can one determine the undersampling ...
1
vote
3answers
507 views

How do I calculate peak amplitude of the signal components after zero padding and FFT?

I am learning about DFT and trying to apply it to some audio processing. I am new to DSP but experienced in programming and have some background in math and physics. The FFT algorithm I use (lomontFFT)...
1
vote
0answers
83 views

How to generate the amplitude of a signal with a certain power spectral density?

I am a newbie. If I posted a question someone else already asked, please forgive me. Thank you! Now, I have a power spectral density named $P(f)$ as a function of $f$. Let's say this function is ...
1
vote
1answer
133 views

AM modulated signal not centered at carrier frequency [closed]

I am trying to modulate the signal bl_msg_time (this is a speech signal) using DSB-SC modulation however the signal doesn't appear centered at the carrier frequency....
1
vote
1answer
2k views

why butterworth bandpass filter changes signal in the passband?

I want to apply a butterworth bandpass filter to EEG signals and it's not working so I tried with a simple signal: t=[0:0.01:10]; s3= 9*sin(2*pi*4*t); Still ...
1
vote
0answers
79 views

How to convert multi-band Energy Time Curve (ETC) to Impulse Response (IR)?

I am running my own sound simulator. Now I have obtained the Energy Time Curve (ETC, expressed by energy) by physical simulation, and they are stored in 8 discrete frequency bands (because decay of ...
1
vote
0answers
78 views

Values (amplitudes) of the CWT and their relationship to waveform amplitudes?

I'm coding up a scalogram in C++. Right now it calculates a single row of the CWT matrix and immediately maps it to a line of pixels. Trouble is my colouring scales with the values of the transform ...
1
vote
1answer
2k views

Help me understand how Pulse-Amplitude Modulation (PAM) works

Reading on the Internet i learned that PAM is basically a sampling technique which converts an analog signal into a discrete signal. It modulates a train of pulses by varying the amplitudes of the ...
1
vote
0answers
67 views

ssbmod single sideband modulation artifacts

clc; clear all; close all; [c,fs]=audioread('60hz.wav') r=ssbmod(c,160, fs) r=r/max(max(abs(r))) audiowrite('artifacts.wav',r,fs,'BitsPerSample',24) I am trying ...