The amplitude of a periodic variable is a measure of its change over a single period
Questions tagged [amplitude]
147 questions
2
votes
1 answer
How to Calculate Frequency & Amplitude in Flash AS3 with Flash Player 9
How can I calculate Frequency & Amplitude in As3 with FP9. I got the all raw byte using
SoundMixer.computeSpectrum(_testbytes, false, 0);
var g:Graphics = this.graphics;
g.clear();
g.lineStyle(0, 0x6600CC);
g.moveTo(0, PLOT_HEIGHT); …

Tanmoy Mitra
- 61
- 1
- 5
2
votes
2 answers
How to determine FFT resulted indexes Freq and plot the Amplitude/Frequency Graph
I Have a bit of a hypothetical question to understand this concept..
Let's say I captured a mono voice clip with 8000hz sample rate, that is 4096 bytes in data..
Feeding the First 512 Bytes(16bit encoding) through an FFT of size 256, will return me…

Sal
- 5,129
- 5
- 27
- 53
1
vote
1 answer
Get amplitude of recorded sound with Python using SL4A
I want to record sound for 1 second using a Python written app for SL4A and then find the max amplitude of the sound.
Is there any part of the SL4A API I can use or part of the Python APIs that can be used? Or is there any python module I can…

Radu Gheorghiu
- 20,049
- 16
- 72
- 107
1
vote
1 answer
Get sound amplitude in Python with SL4A
I want to record sound for 1 second using a Python written app for SL4A and then find the max amplitude of the sound.
Is there any part of the SL4A API I can use or part of the Python APIs that can be used?

raduq
- 97
- 1
- 11
1
vote
1 answer
Specgram Amplitude Filtering - MATLAB R2008a
So I have written a quick script in Matlab do some visualization for me-
function spectro(filename,maxFreq)
wavchunksizefix(filename);
[y,fs] = wavread(filename);
subplot(2,1,1);
plot(y);
ylim([0 1]);
title('Signal…

user1172075
- 21
- 3
1
vote
3 answers
How do I make python load a big(2hours) wave-file and convert it's contents into a time-frequency array?
I would like to access the array with something like array[5000][440] meaning 5000ms from the start and 440hz and it would give me a value of the frequency's amplitude at this very position.
I could not find something like that here, if there is,…

Zurechtweiser
- 1,165
- 2
- 16
- 29
1
vote
3 answers
How to use getMaxAmplitude - Android
I'm working on an App that can record en play audio using the MediaRecorder and MediaPlayer. I also want to display the value of the maxAmplitude. I tried to use the getMaxAmplitude but i cant get it work. it keeps returning 0. The recorder and the…

Stiloboy
- 33
- 2
- 9
1
vote
1 answer
Determine Amplitude of Sound From Microphone
I am trying to determine the amplitude of an instrument (trumpet, guitar, etc.) that is being recorded using the Java Sound API and display an amplitude vs. time graph. I haven't had much experience with this API and am not quite sure how to compute…

user1058860
- 513
- 2
- 9
- 21
1
vote
0 answers
Fit of increasing sinusoidal function
I want to make a sinusoidal fit to my data. I got it working for a constant amplitude, see the Figure below and my code:
Besides that, my data is also slightly skewed to the right. Is it possible to encorporate this as well in to fit? See below the…
1
vote
1 answer
remove n consecutive elements from array, so that amplitude of remaining elements is minimal
Given array A, I need to remove K consecutive elements, so that the amplitude(difference between maximal and minimal elements) of the remaining elements will be minimal.
e.g A=[3,5,1,3,9,8], K=4, the answer should be 1. I could remove [3,5,1,3] to…

some_one_rand
- 47
- 2
- 4
1
vote
1 answer
AudioKit v5 using multiple Taps
I'd like to be able to get amplitude and spectrum data from my AudioPlayer, but since each Node can only have one tap, I'm unsure how to make this work in AudioKit 5
player = AudioPlayer(file: fileToPlay)!
fftTap = FFTTap(player, bufferSize: 4096,…

PaperEdge
- 83
- 6
1
vote
2 answers
Calculate Amplitude Modulation in Python
I have a 4 seconds audio sample of someone saying "hello", I managed to load the wav file and show it in a time-amplitude spectrum, my next step was to calculate a AM (Amplitude Modulation) on this sound, I managed to do it on a sine wave I created…

yarin Cohen
- 995
- 1
- 13
- 39
1
vote
0 answers
How to stretch waveform using audiokit
I'm tracking the amplitude while outputting it as a waveform in real time. I'm using audiokitUI's RollingViewData class to do this with the results as seen below.
My issue is the waveform is very small insensitive to input, maybe looks like the node…

giants22
- 75
- 7
1
vote
1 answer
Is there a way to use the Amplitude class to analyze audio data from external sources in real time?
I am working on a project in Processing 3 where visuals are modulated by the amplitude of a song. However, I want to take it further. I would like to be able to play any song, or even have a band play in a mic'd room, and have my visuals respond…

discokid
- 11
- 1
1
vote
2 answers
kiss FFT bin amplitude
I have been spending quite a bit of time studying FFT's. I am in particular interesting in using KISSFFT because it is a very portable C implementation.
I am still very unclear how to turn i[x] and r[x] into a frequency bin's amplitude. So created…

RW.
- 637
- 6
- 14