Questions tagged [decibel]

Anything related to the usage of the decibel (dB). The decibel is a logarithmic unit of measurement commonly used in electronics and communication engineering.

Anything related to the usage of the decibel (dB). The decibel is a logarithmic unit of measurement commonly used in electronics and communication engineering.

This dimensionless unit is used to express in a compact way ratios that can vary over a broad range of values.

See Wikipedia page on decibels.

118 questions
0
votes
0 answers

How to set the volume of mp3 file in decibel type?

I play a noise and a sound at the same time. I need to increase or decrease the noise in decibels. I have to calculate the SNR value. In a web project, can I output sound in the right decibel when the user's computer is turned all the way up? Please…
user16018534
0
votes
0 answers

Using decibel values, how to detect if the user is talking or silent?

I have used FFMPEG to extract decibel (or rms? I am not familiar with the units) values of the audio volume from an mp4. I have 20 samples per frame. How can I use these values (which are negative in almost all frames), to determine if the frame is…
Abbas
  • 1,118
  • 1
  • 11
  • 25
0
votes
1 answer

How to compute dBm from FFT results?

I computed a sinewave of 4Hz, applied FFT and calculated the amplitude, the amplitude is an array of 500 length, I want to convert each element in that array to dBm form, and draw a spectrogram. however I can't seem to get the calculation right. I…
yarin Cohen
  • 995
  • 1
  • 13
  • 39
0
votes
0 answers

How do I find the decibel level of the audio of my computer in python?

I was wondering if I could have some help figuring out how to check the decibel level of my computer audio. I would like to make a program that finds the desired decibel level of my volume, and if my volume is above that, moves it down. I have…
0
votes
0 answers

program to calculate the average of rssi values

so here i a little code that I need to calculate the average of some rssi values: #include #include int main (void) { int8_t rssi_linear_sum; int8_t rssi_val; int8_t rssi_avg; int8_t rssi_num = 0; int8_t…
BeNicePlz
  • 43
  • 6
0
votes
2 answers

How do I Implement Form Analytics tracking in Decibel Insight?

I wish to implement form analytics in Decibel Insight, a heatmapping and browser replay tool.
0
votes
0 answers

Best Way to FFT - Max. Value FFT - Python

I am trying to build an SPL measurement device with the raspberry written in Python. I record a sound and then I do the FFT but I don't have right value in logarithm. fs_rate, signal = wavfile.read(filename) l_audio = len(signal.shape) …
Giulio
  • 150
  • 2
  • 11
0
votes
0 answers

How to measure sound in decibels...keep getting 0.0dB

I tried using some resources from the web to build an audio recorder and also measure in decibels. I was able to record but upon measuring, all I get is 0.0dB. Why? What am I doing wrong? Please help. Java private static double mEMA = 0.0; static…
0
votes
1 answer

read mp3 decimal values

I would like to read the be able to store the decibel values across intervals of a local mp3 into a text file. i think i can handle writing to a text file once i have the values(although any help would be great) Best i want to do this using AS3 and…
PeaceLoveFamily
  • 93
  • 2
  • 14
0
votes
1 answer

is there a way to make python detect audio loader than a certain level db without external modules

my science teacher has requested i make him a program to detect when his class is to load and set a timer to keep them back after school. this is great however every example i see online uses some kind of external module and nothing can be…
elite gamer88
  • 73
  • 1
  • 1
  • 13
0
votes
1 answer

Decibel value in web audio

I'm using cordova-plugin-audioinput plugin for a JavaScript app that I'm developing. I'm trying to get the different decibel values at different frequencies in realtime using this code: function startCapture() { audioinput.start({ …
0
votes
2 answers

Decibel Meter using Media Recorder

I was referring to a code that I found previously and tried it myself. It works perfectly however the decibel measured from the code is extremely high even in a quiet room. The value ranged from 0 to 30000. I was expecting the decibel be around 30 ~…
0
votes
1 answer

How to calculate the decibel of audio signal and record the audio in java?

public TargetDataLine targetDataLine; private static AudioFormat getAudioFormat() { return new AudioFormat(16000, 16, 2, true, false); } AudioFormat a = getAudioFormat(); DataLine.Info info = new DataLine.Info(TargetDataLine.class,…
0
votes
0 answers

Get dB(a) level from AudioKit in swift

I am attempting to get dB(A) readings from audio recorded from the microphone from AudioKit. I attempt to pass the amplitude tracker into the AKFFTTap object, but it always returns an array of zeros when I call AKFFTTap.fftData. Does anyone have…
loadedjd
  • 97
  • 2
  • 6
0
votes
1 answer

PyAudio and Decibel change and panning

I have a pretty basic pyaudio code that plays a wav file. open_wave = wave.open("tone_silence/l0r1d0_500.wavc",'rb') pyAudio_session = pyaudio.PyAudio() def callback(in_data, frame_count, time_info, status): data =…