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
0 answers

Python read relative dB from MP3 and FLAC without PyDub

I need to read a relative, to itself, average dB from a MP3 or FLAC. I can't use PyDub because it relies on FFMPEG/ AVCONV which I cannot install. A work around solution is acceptable eg: converting the MP3/ FLAC to wav before processing.
savvamadar
  • 306
  • 2
  • 13
1
vote
1 answer

Why can't my program detect decibels over 90?

So, my main problem here is I don't yet know what the actual problem is. I have a two microphones, and when using either one, my program that detects the volume in db will only detect 90 max. I'm not sure if this is a limit on the microphone, or if…
tdog
  • 169
  • 2
  • 11
1
vote
0 answers

Custom post type sort by date and time - Wordpress

I'm using Decibel on Wordpress to enter concert dates and times for a music festival. There are 5-7 concerts every day. I want to sort the concerts with date and time, from earliest in the day to latest? Right now, I can't figure out how the list…
acorrig
  • 11
  • 1
1
vote
0 answers

Any way to get raw voltage value from iOS Microphone in swift

TL;DR, How do I get raw voltage values from iOS microphone in swift I am using AudioRecorder in swift 4 to take audio samples,cusing the averagePower(channel: Int) method, but I need a way to filter the decibel output from said function to dB(a)…
loadedjd
  • 97
  • 2
  • 6
1
vote
1 answer

Why is this decibels calculation /10 instead of /20?

AudioKit supports normalizing an audio file to a given max level in decibels (dB). My understanding is that these would be field quantities not power quantities. Thus, shouldn't this be / 20.0 instead of / 10.0? let gainFactor = Float( pow(10.0,…
Brian H
  • 314
  • 3
  • 13
1
vote
1 answer

load directly an audio file with librosa in dB

Is there a way to directly load an audio file with librosa in dB instead of amplitude as obtained by: y, sr = librosa.load(filename, sr=None)
Emanuela Liaci
  • 165
  • 1
  • 12
1
vote
1 answer

Converting Power Spectrum to decibel

I was able to display an acoustic data in Matlab using Signal Anaysis tool box but I have little challenge in converting that into dB. I'm really new to this kind of processing. Is there someone you can help with please? I also intend to remove 58…
Ali Isa
  • 11
  • 1
1
vote
1 answer

How to hook Raspberry Pi with Electret Microphone to detect sound levels in dB?

I have to detect sounds levels in an enclosed area, so I thought this could be the right choice. I purchased an Electret Microphone with Auto Gain from Adafruit https://www.adafruit.com/product/1713 I am trying to interface it with a raspberry pi 3…
Ming Jin
  • 331
  • 1
  • 5
  • 17
1
vote
0 answers

Java Sound, Converting Percentage Volume to Decibels

I have the following code. FloatControl volumeControl = (FloatControl) clip.getControl(FloatControl.Type.MASTER_GAIN); // Set the value to modify by in decibels volumeControl.setValue(float volume); Get minimum modification value in decibels (e.g.…
Lucien
  • 776
  • 3
  • 12
  • 40
1
vote
1 answer

Get More range in decibel values from AndroidRecoreder.MaxAmplitude()

Well I was trying to use AndroidRecorder to get maxAmplitude() and convert it in decibel. Here is the formula I am using - Double powerDb = 20 * log10((mRecorder.getMaxAmplitude()/2700.0)); But when I see my logs for powerDB I see values ranging…
navjosh
  • 187
  • 2
  • 2
  • 13
1
vote
1 answer

How can I normalized decibel value and make it between 0 and 1

I am trying to get the power of audio by looping on the audio samples and getting the average power per channel. I want to get a value between 0 and 1 that reflect the intensity of the audio being played. Right now I am getting dB (decibel value)…
Moody
  • 352
  • 3
  • 15
1
vote
1 answer

How to implement time-weighting in SPL Meter?

I would like to develop an android app to meassure sound pressure level but i am not sure how to implement time weighting. For the moment my algorithm works as follows: Record 20ms of audio (160 samples @ 8000Hz) Compute RMS Calculate SPL Update…
beleza_pura
  • 63
  • 1
  • 6
1
vote
1 answer

Audio Record class : calculate noise level

I'm trying to develop an android app (soundmeter) using the audio record class instead of the getMaxAmplitude() function. I followed this link to do it: Is there any Sound filtering library in android I have a few questions about this code: how…
amin89
  • 558
  • 1
  • 8
  • 26
1
vote
0 answers

QMediaPlayer and volume control in decibel

I’m rewriting my music player from Qt4 to Qt5. I switched from Phonon to QtMultimedia. I now have a serious problem with volume control. To support ReplayGain, I read the tags from media files and then change the volume with every track to keep it…
JeCh
  • 980
  • 1
  • 7
  • 14
1
vote
1 answer

Decibels in android

I have created a application that get the getMaxAmpitude and then converts it to decibels but i only get a range of 30dB. Does an android phone only have a range of 30dB or is it a problem in my code? public class getMaxAmpitude extends…
Laurence Nicolaou
  • 569
  • 2
  • 8
  • 28