Hi,
Hopefully this elementary audio question is not too stupid.
If I have some signal source how I can I measure the relative change in Db when some change is made to the signal? E.g. if I have an [osc~ 440] going into a [*~] and I change the multiplier, how can I measure the output from that and determine relative change in Db when I change the multiple?
Also does this even make sense on Db scale?
Thank you!
Cheers,
Chris.
I don't think I get it, but the value change in the multiplier would be a ratio. Say you go from 0.5 to 1, that's like multiplying it by 2, so you have to convert this ratio to a dB change, formula is db = log10(ratio) * 20, and a ratio of 2 is a 6.0206 dB increase.
Em sáb., 4 de nov. de 2023 às 05:15, Chris McCormick chris@mccormick.cx escreveu:
Hi,
Hopefully this elementary audio question is not too stupid.
If I have some signal source how I can I measure the relative change in Db when some change is made to the signal? E.g. if I have an [osc~ 440] going into a [*~] and I change the multiplier, how can I measure the output from that and determine relative change in Db when I change the multiple?
Also does this even make sense on Db scale?
Thank you!
Cheers,
Chris.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hi,
Thanks Alexandre this equation was exactly what I needed for my
purposes. I also didn't realize the output from env~
is Db already,
thanks all!
Cheers,
Chris.
On 4/11/23 4:28 pm, Alexandre Torres Porres wrote:
I don't think I get it, but the value change in the multiplier would be a ratio. Say you go from 0.5 to 1, that's like multiplying it by 2, so you have to convert this ratio to a dB change, formula is db = log10(ratio) * 20, and a ratio of 2 is a 6.0206 dB increase.
Em sáb., 4 de nov. de 2023 às 05:15, Chris McCormick <chris@mccormick.cx mailto:chris@mccormick.cx> escreveu:
Hi, Hopefully this elementary audio question is not too stupid. If I have some signal source how I can I measure the relative change in Db when some change is made to the signal? E.g. if I have an [osc~ 440] going into a [*~] and I change the multiplier, how can I measure the output from that and determine relative change in Db when I change the multiple? Also does this even make sense on Db scale? Thank you! Cheers, Chris. -- https://mccormick.cx/ _______________________________________________ Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Measure rather than determine (by calculating the change in the multiplier) means resampling the signal, and I've always been a bit confused about what is the best way to do that, the choices being [samphold] and [env]. So I'd also be interested in the best (most accurate) answer.
On Sat, Nov 04, 2023 at 04:13:15PM +0800, Chris McCormick wrote:
Hi,
Hopefully this elementary audio question is not too stupid.
If I have some signal source how I can I measure the relative change in Db when some change is made to the signal? E.g. if I have an [osc~ 440] going into a [*~] and I change the multiplier, how can I measure the output from that and determine relative change in Db when I change the multiple?
Also does this even make sense on Db scale?
Thank you!
Cheers,
Chris.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
[...]
confused about what is the best way to do that, the choices being [samphold] and [env]. So I'd also be interested in the best (most accurate) answer.
Andy, [samphold] as well as [snapshot~] do give you the amplitude value of one single sample, which for audio signals is often in the range between -1 and 1. [env~] will give you an dBRMS value (the mean of all absolute amplitudes over a certain time window, converted to dB.
Was that your question?
I'rather be interested in the difference between [samphold~] and [snapshot~]. They seem to almost do the same thing to me.
best, P
I'rather be interested in the difference between [samphold~] and [snapshot~]. They seem to almost do the same thing to me.
The only difference is that [samphold~] is audio rate and [snapshot~] is control rate.
Christof
On 04.11.2023 10:05, Peter P. wrote:
- Andy Farnell padawan12@obiwannabe.co.uk [2023-11-04 09:49]:
[...]
confused about what is the best way to do that, the choices being [samphold] and [env]. So I'd also be interested in the best (most accurate) answer.
Andy, [samphold] as well as [snapshot~] do give you the amplitude value of one single sample, which for audio signals is often in the range between -1 and 1. [env~] will give you an dBRMS value (the mean of all absolute amplitudes over a certain time window, converted to dB.
Was that your question?
I'rather be interested in the difference between [samphold~] and [snapshot~]. They seem to almost do the same thing to me.
best, P
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Am 4. November 2023 10:05:22 MEZ schrieb "Peter P." peterparker@fastmail.com:
I'rather be interested in the difference between [samphold~] and [snapshot~]. They seem to almost do the same thing to me.
[snapshot~] does a signal->message conversion (so it's output will only ever come after (actually before, but that's nitpicking) a block boundary, whereas [samphold~] is a signal->signal object (which you can use to downsample (with a sample-and-hold algorithm, hence the name) your input signal at an arbitrary rate).
If you drive the [samphold~] object with a [phasor~] at block-frequency you about the same output as driving a [sig~] with [snapshot~] (but hey, both an [osc~] and a [phasor~] have comparable output when run at sr/2)
mfg.sfg.jfd IOhannes
Am 4. November 2023 10:27:35 MEZ schrieb "IOhannes m zmölnig" zmoelnig@iem.at:
If you drive the [samphold~] object with a [phasor~] at block-frequency you about the same output as
[...] you *get* about [...]
mfg.sfg.jfd IOhannes
Hi,
Hopefully this elementary audio question is not too stupid.
If I have some signal source how I can I measure the relative change in Db when some change is made to the signal? E.g. if I have an [osc~ 440] going into a [*~] and I change the multiplier, how can I measure the output from that and determine relative change in Db when I change the multiple?
Why not use [env~]? If its result changes, try a longer measurement window. See the help patch.
best, Peter
Folllowing up on Chris's question; has anyone done much calibration for more scientific projects like audiometry? I'm quite interested in ways of measuring and, if needed, slightly rescaling to get accurate dBV (analog domain signals) assuming a decent sound DAC, good holiday wishes a.
On Sat, Nov 04, 2023 at 04:13:15PM +0800, Chris McCormick wrote:
Hi,
Hopefully this elementary audio question is not too stupid.
If I have some signal source how I can I measure the relative change in Db when some change is made to the signal? E.g. if I have an [osc~ 440] going into a [*~] and I change the multiplier, how can I measure the output from that and determine relative change in Db when I change the multiple?
Also does this even make sense on Db scale?
Thank you!
Cheers,
Chris.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list