where is 0 dB?

josha's icon

Hi,

Max Patch
Copy patch and select New From Clipboard in Max.

I have a 1000Hz sine wave playing in this patch, hooked up to a meter. Is there any way i can get a read out from the meter showing the level in decibels. Also am i right that 128 is 0dB?

Floating Point's icon
Max Patch
Copy patch and select New From Clipboard in Max.

use atodb: (as you can see the convention is that an amplitude of 1.0 corresponds to 0dB)
edit : btw look at gain slider help for how it converts its range to a gain factor.

Roman Thilenius's icon

use noise~ to test such thigns out - sinewaves is the worst you can have for metering.

Emmanuel Jourdan's icon

@josha you're correct, 128 is the 0dB.