SBMastering ·
Is there something I can use that will input a signal and output the RMS as an Integer, to at least two decimal places?
From the original SynthMaker forum (2004–2014), with its members’ names and dates.
SBMastering ·
Is there something I can use that will input a signal and output the RMS as an Integer, to at least two decimal places?
Dell ·
Search the forums. There was one made a few years ago.
SBMastering ·
I found this RMS detector, but it has a stream in and a stream out. Does anyone know how one would go about getting a stream in and an Integer out?
Xtinct ·
Use a poly to mono connected to a mono to float
SBMastering ·
Whenever I try to connect Fast RMS ->Poly to Mono->Mono to Float, and play some audio through it with Wave Player, Synthmaker crashes!
infuzion ·
Have you looked inside SM's compressor?
trogluddite ·
SBMastering wrote: Whenever I try to connect Fast RMS ->Poly to Mono->Mono to Float,
Presumably, you are looking at the levels of an audio stream (i.e. blue audio input) - so there is no need for any Poly at all (that applies only when using SM to build a synth). Simply connecting an M2F directly at the output (driven by a Tick25) should give you a 'Green' output. Integers don't have decimal places (that would be a float), but I guess that what you mean is that you need a dB readout, rather than the 0-1 that the RMS module puts out by default. You can most easily do that conversion using 'Green' primitives after the M2F. The equation is...
dB = 10 * log (RMSpower / FullScale).
Where the log is in base 10, RMSpower is the output of the M2F, and FullScale represents the sample value of your 0dB reference point. Within SM, maximum audio level is simply = 1, so most likely, you don't even need the divide. This will give you the usual dB reading that goes in negative numbers down from zero = Full Scale.
The only thing to watch is that if the audio level is zero (silence!), the log primitive outputs zero, which is not correct (should be minus infinity, which SM doesn't understand) - so you might want to check the output of the M2F for zero's, and use that to switch over your display to show "-inf" or such-like.
EDIT: Ooops - I forgot that we may be taking power readings from an amplitude measurement here (depends on the RMS code) - so you may need to multiply by 20 instead of 10 to get the correct reading (comparing against a calibrated meter will soon tell you).
Wrote something here? To have a post removed or your name hidden, write to [email protected].