Questions tagged [amplitude]

The amplitude of a periodic variable is a measure of its change over a single period

147 questions
0
votes
1 answer

Finding the season of the highest temperature amplitude

I was being disqualified from an interview test from a "top" freelance website because they found similarities in my answers from online. But I also would like to share my own solutions to this question in python. Definitely, if anyone can improve…
0
votes
0 answers

Max&min of a sinus DF ; TypeError: 'function' object does not support item assignment

I try to get the min & max spots of a Dataframe that is sinusoidal. The Frequency is in 400er steps. I wanted to define the function amplitude and collect the data in an array. Amp1 is an abs max value that should be collected and added to the…
Philipp s
  • 3
  • 3
0
votes
0 answers

Decreasing linear model with a Sine Wave in R

I am attempting to create a linear model that incorporates a Sine Wave with decreasing amplitude over time. I am able to successfully incorporate a simple sine wave into my model using the following code: #sine curve equation resolving 12 months…
0
votes
1 answer

What is the x and y axis showing for this matplotlib.pyplot histogram of a .wav file?

The code below generates a histogram from a .wav file, but what exactly does the histogram show? Is the x axis amplitude binned by sampling rate? Is the y axis a count of how many samples are in each amplitude bin? And how is amplitude…
user90664
  • 75
  • 8
0
votes
1 answer

Python histogram of RMS amplitude of audio file

I would like to make a histogram that bins RMS amplitude for an audio file. The goal is to show, for the full duration of the file, how much of the signal is at each amplitude level. Is there a Python package with a function for this? If not, how…
user90664
  • 75
  • 8
0
votes
1 answer

Amplitude and Phase of result of FFT in MATLAB

I tried to extract amplitude & phase values from the fft function result in the Matlab. I implemented the script as below clear; sf = 100; %sampling frequency si = 1/sf; dt=si; %time sampling interval L = 10; %Length of signal t =…
0
votes
0 answers

How to read the amplitude of mp3 file in java

I am able to read the amplitude of a wav file using the following code AudioInputStream in = AudioSystem.getAudioInputStream(file); AudioFormat baseFormat = in.getFormat(); AudioFormat decodedFormat = new AudioFormat(Encoding.PCM_FLOAT, 44100, 32,…
InformedA
  • 179
  • 1
  • 9
0
votes
0 answers

Matlab - Find Frequency - Amplitude of signal

I have this signal: It represents the rotational movement of a system. I need to define this movement, more specifically I need to find the (main) frequency of it and the amplitude of it. I believe that the long term movement could be a drift. I…
0
votes
1 answer

Voltage level modulation for different speed of Ethernet interface

Got a question about the voltage level modulation on ethernet interface. We use PAM3 for 100base-T, PAM5 for 1000base-T and PAM16 for 10G. However, looks like we’re using PAM4 for 100G and 200G application. Does someone know why we’re doing so? Why…
Nobody
  • 179
  • 2
  • 8
0
votes
0 answers

Python 3 send post request with multiple data fields

I need to send data via python post request to service named amplitude, they give curl example, that I tried to rewrite on python and getting 400 error. curl example curl --data 'api_key=040062a5d38552315b98302ba4f2f' --data…
0
votes
0 answers

How to filter data within specific range in Matlab?

I tried to eliminate the spikes in Figure 1 by using y = medfilt1(y). What I get is as shown in Figure 2. The highest peaks are all equal to 1. Now the problem is I want to get the highest peaks of 1.2 instead of 1. How do I solve it?
Ralph
  • 19
  • 7
0
votes
0 answers

Reading small amplitude audio with librosa

I am trying to load a .wav file in Python using librosa library. Let's assume my code is as simple as: import librosa import numpy as np pcm_data, spl_rate = librosa.core.load(resource_file, sr=None) In general it does work, however I am…
LDTV
  • 41
  • 5
0
votes
1 answer

Why Frequency-Domain FFT Amplitudes are Subestimated to Time-Domain?

In Matlab, I have a signal of 600 length seconds and applied the FFT (Fast Fourier Transform) to it in the 500 second, with No=1024 samples(4.096 seconds of data), in order to get the amplitude of the fundamental frequency (the mayor spike in the…
Hecsalms
  • 1
  • 1
0
votes
0 answers

Calculating wavelength, amplitude and phase using FFTW

I am trying to use C++ and FFTW to get the amplitude, wavelength and phase from a series of numbers without much luck and I was wondering if someone could help me please? I have searched the Internet but as I am new to FFT I have not been able to…
John
  • 11
  • 1
  • 3
0
votes
1 answer

How to track the frequency and amplitude from an audio file in Swift Playground?

I'm a swift learner and currently working on an Xcode Playground project. Now I'm facing a problem and really need some help here. Tracking the real-time frequency and the amplitude of selected music is the core part of my Playground. Is there any…
Jack Stark
  • 57
  • 7