The amplitude of a periodic variable is a measure of its change over a single period
Questions tagged [amplitude]
147 questions
3
votes
1 answer
AVAudioRecorder! I need to have decibel values from amplitude on a scale of 0 to 120 ios swift?
I'm getting amplitude values from -70 to around 10 from AVAudioRecorder.peakPowerForChannel(0).I need the values on a scale of 0 to 120 how i do it. I need to get the highest value in amplitude from the whole audio.
Seen this code on internet
var…

Arun K
- 810
- 2
- 12
- 33
3
votes
1 answer
Calculate the max difference between nodes in a binary tree
Is there a way to calculate the max difference between node values without storing in a list? I was hoping to do it in 1 pass, but it doesn't seem possible. This was from a codility interview question to calculate the amplitude of the binary tree…

Michael T
- 45
- 5
3
votes
4 answers
How can I Remove a Wandering DC Offset from an Audio Clip?
I've licensed some audio clips, but some of them come with what I have learned is a "DC Offset" that should normally have been removed during production.
Audacity's "Normalize" filter is able to fix a static DC Offset, but after applying it to my…

Cygon
- 9,444
- 8
- 42
- 50
3
votes
0 answers
How to display the waveform for recording and make it synchronized with that when playing the record
I have met such a problem, which is to display waveform while recording, jusy like what is displayed in app recforge. The waveform should be displayed little by little as recording continues, and the waveform should be the same while playing the…

hh_mz
- 31
- 3
3
votes
1 answer
how to change frequency ( pitch) and the amplitude in wave file using c#
how to change frequency (pitch) and the amplitude in wave file using c# like this but on wave file not tone
http://www.youtube.com/watch?v=Tumpkl-xJuA

Fadi
- 2,320
- 8
- 38
- 77
3
votes
1 answer
Frequencies and amplitudes of sound file in C#
I'm trying to create a program which gets the various "notes" in a sound file (WAV or MP3) and can get the frequency and amplitude of each. I've been searching around for this, and of course there is the problem of distinguishing individual "notes"…

bramco
- 467
- 1
- 5
- 6
2
votes
3 answers
Get the amplitude at a given time within a sound file?
I'm working on a project where I need to know the amplitude of sound coming in from a microphone on a computer.
I'm currently using Python with the Snack Sound Toolkit and I can record audio coming in from the microphone, but I need to know how…

Jared
- 5,977
- 10
- 38
- 48
2
votes
1 answer
Correct amplitude of the python fft (for a Skew normal distribution)
The Situation
I am currently writing a program that will later on be used to analyze a signal that is somewhat of a asymmetric Gaussian. I am interested in how many frequencies I need to reproduce the signal somewhat exact and especially the…

Lufilon
- 23
- 5
2
votes
0 answers
getMaxAmplitude() "always" reached
I want my app to react on a load sound like a clap. The problem is, that getMaxAmplitude() reaches it's maximum of 32762 even when talking in a normal voice which is >= my "allMaxAmpli" variable set in the config mode.
The media recorder is set up…

Gerd
- 79
- 1
- 9
2
votes
1 answer
Amplitude from scipy.fft
Why is the amplitude I compute far, far away from original after fast Fourier transform (FFT)?
I have a signal with 1024 points and sampling frequency of 1/120000. I apply the fast Fourier transform in Python with scipy.fftpack. I normalize the…

dronne
- 21
- 1
- 4
2
votes
0 answers
Looking for list of Android phones that have Vibrator amplitude control
we are building an app that uses the Vibrator class for a research project.
We are trying to select a phone that allows the vibration amplitude to be programmatically modified.
I know for example the Pixel 2 XL has it but the Samsung A40 doesn't…

Daniel Leahy
- 1,953
- 2
- 11
- 7
2
votes
0 answers
Flutter media recorder amplitude
I am building a shot clock which needs to be able to stop a timer when the microphone detects a loud noise. There seems to be no libraries out there that can grab amplitude like in MediaRecorder for android.
i have searched the web the last week and…

Moonsiren
- 46
- 5
2
votes
0 answers
Edit Wav File Samples for Increasing Amplitude using c#
I have the following c# code which reads a wave file into a byte array and then writes it into another array, creating a new wave file. I found it online and dont have much knowledge about it.
I want to change the values being written into the new…

human torch
- 303
- 5
- 15
2
votes
1 answer
Sine wave variable amplitude matlab
I am trying to understand the fft function, for that I have a really simple code to generate a sine wave of 500Hz.
%Time specifications:
Fs = 1000; % samples per second
dt = 1/Fs; % seconds per sample
…

Tarigarma
- 29
- 1
- 8
2
votes
2 answers
graphing amplitude
I was wondering if someone could point me to a good tutorial or show me how to graph the amplitude from a byte array. The audio format I am using is: U LAW 8000.0 Hz, 8 bit, mono, 1 bytes/frame.

John Kane
- 4,383
- 1
- 24
- 42