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
1
vote
1 answer

C HTTP streaming server to stream audio decibel levels

Hi I have written a decibel level meter in C which reads Linux alsa constantly and output decibel levels numbers in STDOUT. Now I would like to view via HTTP and streaming live data to clients, with proper js+html decoration, it behaves as a noise…
c2h2
  • 11,911
  • 13
  • 48
  • 60
1
vote
0 answers

MediaRecorder on Android interfeering with other Media Aplications

I am using the MediaRecorder in my app to measure decibel. For this a new MediaRecorder-Object is created once every 10 seconds, it runs for one second during which getMaxAmplitude() is called 10 times and the average is calculated. After this the…
Lukas Ruge
  • 2,204
  • 3
  • 30
  • 42
0
votes
1 answer

How to create a wave sound, in R, given a specified deciBel level?

I R, thanks to the library sound, we are able to create a sine wave: s1 <- Sine(650, 1, 44100, 16, 2) Plotting the waveform we obtain an image like this: plot(s1[1:100]) The waveform moves in the interval [-1, +1]. If I play it, to what deciBel…
Tommaso
  • 527
  • 1
  • 5
  • 17
0
votes
1 answer

Actionscript 3.0 Microphone Decibel

Hy, How can hy obtain decibels value from Microphone class im Actionscript 3.0. Thanks in advance!
0
votes
2 answers

Default for 0db sound level as an absolute float value

I'm currentyl building something like a tiny software audio synthesizer on Window 7 in c++. The core engine is running and upon receiving midi events it plays notes, changes programmes, etc. What puzzles me at the moment is where to put the 0 db…
codencandy
  • 1,701
  • 1
  • 10
  • 20
0
votes
0 answers

Calculate Decibels from AudioRecorder in Android

I am using the Android AudioRecord to get a continuous audio buffer. During theread, I want to evaluate the highest decibel from the buffer. Below is the configuration of AudioRecord: sample rate = 16000; channels = 1; bits per sample =…
0
votes
0 answers

How to get decibels accurately with AVAudioRecorder?

After comparing more than 20 apps, I found that the decibel values measured by each app are different. // Method 1: float power = [self.audioRecorder averagePowerForChannel:0]; float powerMax = [self.audioRecorder peakPowerForChannel:0]; power =…
YZ Shin
  • 1
  • 1
0
votes
0 answers

How do you record and measure audio noise in DB (DBFS to DB)?

I'm trying to measure audio sound frequency in decibels, but I'm getting issues. I have used AVAudioSession & AVAudioRecorder to record audio and used averagePower & peakPower methods to get power levels. According to the Apple document…
0
votes
0 answers

react decibel meter and use

i need to make a decibel meter i try to use 2 libary but they wont work and they very old i found a function that make this but it wont work as expected first of all the issue is inside this function i get the " let decibelNumString =…
Lior98
  • 79
  • 7
0
votes
0 answers

dB noise meter (to record decibels) app not working when paused or minimized on mobile

I am using the dB meter app to record noise and show it in decibels with periodic intervals. And I am printing decibels for every second. The app is working fine when active but when I press square button on android (That is pause the app) the…
yellesh
  • 1
  • 1
0
votes
1 answer

How to use noise meter package in flutter to give only few decibel readings per second

I am using noise meter to read noise in decibels. When I run the app it is recording almost 120 readings per second. I don't want those many recordings. Is there any way to specify that I want only one or two recordings per second like that. Thanks…
yellesh
  • 1
  • 1
0
votes
0 answers

How to measure loud noises with AVFoundation on iOS

I'm trying to leverage AVFoundation to measure sudden loud noises. The type of noise I'm trying to identify would be something like a gunshot for example or an equivalent sudden change in the ambient noise level. So far I've managed to derive the…
doovers
  • 8,545
  • 10
  • 42
  • 70
0
votes
0 answers

How can I use HealthKit to actively monitor decibel levels over a threshold?

I wish to build a timer with a start button that once pressed begins to monitor environmental decibel levels through HealthKit. And then once a decibel passes a threshold I wish to log event. Is something like this available through health kit? Can…
gh0st
  • 1,653
  • 3
  • 27
  • 59
0
votes
0 answers

is this correct way to calculate decibel?

here buffer.data is Uint8List pcm data which mean the range will be 0-255 var data = buffer.data as List; var sum = 0; for(var i = 0; i< data.length;i++){ sum+= data[i] * data[i]; } var mean =…
Pokaboom
  • 1,110
  • 9
  • 28
0
votes
0 answers

get db values from .wav file python

I am trying to get db values from .wav file python using this formula: dbs = [20 * np.log10(np.sqrt(np.mean(chunk ** 2))) for chunk in chunks] The issue I am facing is I am getting NaN values in dbs list because of negative values coming from…