The amplitude of a periodic variable is a measure of its change over a single period
Questions tagged [amplitude]
147 questions
7
votes
1 answer
Android: how to convert getMaxAmplitude to db?
I have a piece of code that give me the getMaxAmplitude() of the audio from the mic.
it works, but the value is surely strange.
i need to convert it to decibel.
how can i?
i've found this formula: double db = 20 *…

Zak
- 591
- 2
- 15
- 37
6
votes
3 answers
Need an audio analysis library to create real time feedback from audio file?
Real-time is not necessarily required, however I am creating a game for my final year project and I wish to use the power of audio to create dynamic levels based solely on a music track that is playing. I aim to create this game for the PS Vita…

ProperBritish
- 397
- 1
- 4
- 10
6
votes
1 answer
How can I get the amplitude data from an MP3 file?
Im trying to use html5 and javascript to get the amplitude (and other components) of an mp3. Any libraries that would help?

user1011332
- 773
- 12
- 27
5
votes
1 answer
Getting max amplitude for an audio file per second
I know there are some similar questions here, but most of them are concerning generating waveform images, which is not what I want.
My goal is to generate a waveform visualization for an audio file, similar to SoundCloud, but not an image. I'd like…

Liam
- 2,017
- 3
- 22
- 19
5
votes
1 answer
Android: Amplitude value to Decibel value?
I'm trying to get the decibel of noise being recored from mic on Android phone. I can get amplitude value and looking for the formula to convert it into decibel.
I use following function of MediaRecorder to get…

Sharjeel
- 15,588
- 14
- 58
- 89
5
votes
2 answers
Extracting an amplitude list from *.wav file for use in Python
I'm having a little bit of programing and conversion trouble. I'm designing an AI to recognize notes played by instruments and need to extract the raw sound data from a wave file. My objective is to perform a FFT operation over chunks of time in the…

AlexL
- 53
- 1
- 1
- 3
5
votes
0 answers
Get amplitude from MediaPlayer using Visualizer
i've been reading another posts about calculate the amplitude in real time from a Mediaplayer, but i have no clear how to get a value useful for me. What i need is a linear amplitude value normalize between 0-100, but as i've watched in another…

Billyjoker
- 729
- 1
- 10
- 31
5
votes
7 answers
Record sound in Android and read Amplitude
I'm trying to make an app that records sound for a second and then reads the maximum amplitude from the recorded sound. This is what I have so far but my app crashes and I can't figure out why.
This is my second activity, which I'm calling from my…

Radu Gheorghiu
- 20,049
- 16
- 72
- 107
4
votes
1 answer
Amplitude for each day of daily time series
I am trying to determine the amplitude for each day of a time series. The frequency is constant and the series varies only in amplitude. I have tried using Fast Fourier transforms and Lombscargle periodigrams but they return the amplitude for each…

Robin
- 389
- 5
- 19
4
votes
1 answer
How do I instantiate a java object using JNI (Delphi)
I am still pretty new to programming in Delphi and I don't know anything about Java. However, I need to write a program using RAD Studio that can read the amplitude of an audio input. I was unable to find a way to do this in Delphi(That I could…

Michael
- 175
- 1
- 6
4
votes
1 answer
Amplitude from AudioRecord
I have some code that is supposed to be getting the amplitude from an AudioRecord. Problem is that the math is only returning -Infinity. Can I get some more eyes to look at it with me please:
private class measureSnoreAudio extends…
user3052374
4
votes
2 answers
(numpy) Wrong amplitude(?) of FFT'd array?
I'm using numpy and matplotlib to analyze data output form my simulations. There is one (apparent) inconsistency that I can't find the roots of. It's the following:
I have a signal that has a given energy a^2~1. When I use rfft to take the FFT and…

toylas
- 437
- 2
- 6
- 19
3
votes
3 answers
What is a correct formula of amplifying WaveForm audio?
I am wondering what a correct formula of amplifying WaveForm audio is from C++.
Let's say there's a 16 bit waveform data following:
0x0000 0x2000, 0x3000, 0x2000, 0x0000, (negative part), ...
Due to acoustic reason, just doubled the number won't…

Aki24x
- 1,058
- 1
- 13
- 28
3
votes
3 answers
How to get amplitude and frequency list from a wav file
We are trying to build a program to get amplitude and frequency list from an .wav file, trying it in Python.
We tried pyaudio for that I don't know much about pyaudio, so I need some suggestions on it.
import scipy
import numpy as np
file =…

Subhajit Dey
- 91
- 2
- 4
3
votes
1 answer
how do I get a list of amplitudes from a audio file?
how do I get a list of amplitudes from a audio file using a linux command line tool ?

Prakash Raman
- 13,319
- 27
- 82
- 132