I hope the bug is with me and not in Contrast.
Code: Select all
(let ((time (- (get-duration 1) (/ (snd-srate s)))))
(linear-to-db (sqrt (/ (snd-sref (integrate (prod s s)) time) time))))
Code: Select all
(let ((time (- (get-duration 1) (/ (snd-srate s)))))
(linear-to-db (sqrt (/ (snd-sref (integrate (prod s s)) time) time))))
Code: Select all
(linear-to-db (snd-fetch (rms s (/ (get-duration 1)))))Maybe not much. I've used the one from work and it's a respectable performer. I use my Expensive Microphone® because it has multiple patterns and other controls and sounds very slightly crisper. But if someone said I had to shoot something with a Snowball, I would not be horrified. I would start looking for a graceful environment and bring my furniture pads with me.I am not expert enough to know what I am missing in a costlier mic.
INTEGRATE loses a bit of accuracy as (apparently) it is calculated with single precision.Paul L wrote:I was avoiding the 2 million sample limit. My answers seem to be slightly more than from Contrast, and differences seem larger with time, but still tenths of dB or less out to 30 minutes.
Code: Select all
(let* ((s (if (> len 2000000)
(let ((step (round (/ len 1000000))))
(snd-avg (mult s s) step step op-average))
(mult s s)))
(slen (snd-length s ny:all))
(s (snd-avg s slen slen op-average)))
(linear-to-db (sqrt (snd-fetch s))))
True, damage to the signal that looks like one big spike, is not quite like natural but undesirable click noises that do oscillate and decay on a fine scale, and the best math for finding and fixing each is perhaps not the same.kozikowski wrote:Nice try. Pop and click removal is used to remove cat hairs from vinyl records. Those pops are usually distinctive enough to allow software to find them. Not so mouth noises. Those "look like" the rest of your show and voice and don't have a significant signature.
I first heard that term "Nyquist elf" from Koz, I think. Gee, it seems I have become one.I'm remembering we got someone else past mouth noises a while back. It wasn't pretty. I think an elf designed custom software for his voice.