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 can I work out and display the dB(SPL) level in a JS application?

I have got the input of the microphone with Tone.JS library and I'm able to switch it on and off using a checkbox. I would like to calculate the decibel level and then display it on the screen in real-time. Has anyone got any pointers for this, like…
0
votes
0 answers

Tizen: How to measure noise level?

I would like to get a decibel level output from the built-in microphone of the Samsung Gear S3 and use it in my App. I want to measure the noise level in the device's environment. (Is it loud at the place, the watch is worn at?) How is this…
Nayangar
  • 139
  • 10
0
votes
0 answers

Why I am getting Negative Decibel (around -70dB) where Normal Speech around 60dB

This is code for Unity 3D Game Engine... I try to monitor sound decibels using this source scripts but why i am getting Negative Decibel ? In theory, sound from Normal Conversation will result 60db and even silent room will make 10-20dB... any idea…
questionasker
  • 2,536
  • 12
  • 55
  • 119
0
votes
0 answers

In Visual Studio C# : How to play 2 wav file at certain dB values simultaneously

I am trying to build an application in c# visual studio, in which I want to play 2 wav files at certain dB values simultaneously. I looked into many stackoverflow questions but didn't find any useful answers. My scenario is : before using the…
Robin Sharma
  • 181
  • 2
  • 11
0
votes
1 answer

Rescale logarithmic dB value scale

I'm currently working on implementing a peak meter and need to rescale the logarithmic dB-values. Searching for existing functions I found this: How do I calculate logrithmic labels for a VU meter scale? It does almost what I need. I don't get the…
easysaesch
  • 159
  • 1
  • 14
0
votes
1 answer

iPhone API for recording sound and measuring the sound frequency and power(db)

I want to develop a simple iPhone application which can record the external sounds, and measure the sound wave frequency and power in decibels, any ideas about how to do this?
0
votes
1 answer

Imprecise output when calculating dBFS value from 16-bit audio sample value using C#

I am calculating a dBFS value from a 16-bit wave file sample (-32768 to +32767) using c# as follows: int sampleValue = -32700; double dBFSvalue = 20 * Math.Log10(Math.Abs(sampleValue) / 32768); But when I try to print the dBFS value, a sampleValue…
Quantum_Kernel
  • 303
  • 1
  • 7
  • 19
0
votes
1 answer

How can I calculate audio dB SPL correctly?

I know that to calculate sound pressure level (db SPL) is 20 * log10 (amplitude) but what I don't understand here is the range of the value. in case 16 bit signed PCM audio, the lowest value is -90 and the largest value is 0 : [20 * log10…
user430926
  • 4,017
  • 13
  • 53
  • 77
0
votes
0 answers

sampling db out of cellphone or pc using java

I am having hard to sample decibels out of microphone of a computer or cellphone I just want to make sure that I'm doing this right both mathematically and physically. this is the code: package soundscale; import…
0
votes
1 answer

can i have mic detection value in decibel range 0.0 to 120.0

Now I m using the class AVAudioPlayer . But still i m not getting right value in decibel. there is any way to get the value in decibel range 0.0 to 120.0 (not in -0.0 to -120). if yes then plz tell me some body....
tech.samar
  • 152
  • 2
  • 12
0
votes
1 answer

Making a decibel meter (first android app), problems converting Amplitude to Decibels

As a part of a larger aplication I am currently working on a decibel meters that takes the average sound level of a 10 second timespan. To achieve this I made a CountDownTimer of 10 000 miliseconds that ticks every 100 miliseconds. In each onTick…
Cingen
  • 21
  • 2
0
votes
1 answer

WebAudio API microphone Decibel Threshold/Gating ( Microphone input too sensitive )

sorry I can't find any information on this. Doing a personal project using WebAudio API, getting microphone input, but the sensitivity is way too high. A friend told me to research the keywords Decibel Threshold/Gating but I can't seem to find any…
Ranson Namba
  • 335
  • 1
  • 2
  • 15
0
votes
1 answer

Changing the output audio level of a program in Java within the program

I am trying to change the output audio levels of the program, preferably in decibels. I need to change the audio levels of the entire program and record the change in the level. The language is Java. Is there any easy way to do this? The sounds I am…
0
votes
1 answer

Is the median or mean of a set of values in Decibels (dB) taken directly or conversion to linear is required

I need to take the median of a set of values of path loss (dB) in MatLab. Does anyone know that they shall be converted to linear units like Watts before their median is calculated by the formula. The result is different in both the cases but i…
0
votes
1 answer

Measure dB with AVAudioRecorder is limited to 96dB on iOS

I'm trying to build a dB Measurement to unlock a feature within an app. The Feature should become available once the user reaches 100dB. My current implementation is only able to measure up to 96dB. From what I understand the Problem is somehow…