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

Calculate Decibels value

I calculate decibels using the formula double dB = 20 * Math.log10(p/p0); p = recorder.getMaxAmplitude()/51805.5336; p0 = 0.0002; But what this class does is representing the sound amplitude in a scale between 40 to 70, and it goes to 70 (maximum…
0
votes
1 answer

How to increment same amount of volume output having different base dB level

let´s say i have a base 10 dB and then i increment this value to 16 dB, there are 6 dB of diference so my volume has changed, but now let´s say i want to increment the same amout of volume to a different value of base dB, for instance i have 50 dB…
alexm
  • 1,285
  • 18
  • 36
0
votes
2 answers

16Bit Little Endian Byte Array to Integer Array to Decibel Value

I'm using the PulseAudio API to get the current microphone input in "realtime". The buffer data is being delivered as a 16bit little endian byte array. What I'd like to do is to find out the maximum peak level in the buffer and transform it into a…
Dominik Schreiber
  • 769
  • 2
  • 15
  • 25
0
votes
2 answers

How to get maximum amplitude (decibel value) of an audio track/mic recording in Android?

I read plenty of threads even here on SO but still I do not know how to develop a sound level meter to get the sound level from the mic and display it as a decibel value. I am using the code from the SoundMeter class like many suggested, but what…
Paranoid Android
  • 4,672
  • 11
  • 54
  • 73
0
votes
1 answer

Android: record decibel from microphone

i've got problem on implementing this functionality in Android... i need only to output the decibel redorded from the microphone, and it's a thing that i can't understand: public class Noise extends Activity{ @Override protected void onCreate(Bundle…
Zak
  • 591
  • 2
  • 15
  • 37
0
votes
2 answers

Decibels associated with sound in Java

I have a function which plays a sound in Java using a variable vol as you can see in the code below. This variable vol is a decimal between 0 and 1. When I play a 0, the sound is basically the lowest volume possible, and when I play it with a 1, it…
CodeGuy
  • 28,427
  • 76
  • 200
  • 317
0
votes
1 answer

how does AudioUnitRender Callback get called in iphone

I am a new bee to iPhone development I need to implement audio output level metering using audiouint.(without using avaudioplayer because i am using cocos sound engines, I want to change the pitch of playing sound). I got some code from the…
Johnykutty
  • 12,091
  • 13
  • 59
  • 100
-1
votes
1 answer

Determining decibel trough headphones

I am trying to develop a hearing test that outputs different tones at different frequencies through the headphones. As soon as the user hears the sound, the corresponding decibel level should be recorded. I know that there are already online digital…
Daniel
  • 1
-1
votes
1 answer

What class is responsible for recording sound in Objective-C?

I wanted to make a decibel counter for the iPhone, but don't know what class is responsible for recording sound.
taevanbat
  • 425
  • 1
  • 8
  • 17
-1
votes
2 answers

How to convert a float between -1.0 and +1.0 to dB(A) of sound pressure?

Using WaveFileReader wfr = new WaveFileReader(file); float[] d = wfr.ReadNextSampleFrame(); I get a float array d. When iterating through d using foreach (float s in d) I get floats between -1.0 and +1.0. How do I convert them to dB(A) of sound…
Zurechtweiser
  • 1,165
  • 2
  • 16
  • 29
-2
votes
1 answer

TOTAL CHANNEL POWER WHEN 1% IS -33.9 dBm

If a power meter measures 1% of the total channel power to be -33.9dBm, what is the total channel power?
martin
  • 11
  • 2
-2
votes
2 answers

ios audio unit how to get decibel directly

How can I get decibel by audio unit directly rather than calculate use formula ? I found occur error when I use formula to get decibel. So I want to exchange method get decibel.
小东邪
  • 21
  • 5
-2
votes
1 answer

Why isn't the sound volume tied to decibels

Why isn't the sound volume of a device tied to decibels? And could you deduct the decibels from the source of the sound and the volume, or at least the percentual difference of decibels between two moments?
JFugger_jr
  • 313
  • 1
  • 4
  • 13
1 2 3 4 5 6 7
8