Csound Csound-dev Csound-tekno Search About

[Csnd] measuring decibels in CSound

Date2012-10-25 09:24
Fromzappfinger
Subject[Csnd] measuring decibels in CSound
Could one use CSound to measure decibels in a certain room?

Richard





--
View this message in context: http://csound.1045644.n5.nabble.com/measuring-decibels-in-CSound-tp5717347.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-10-25 09:28
FromRory Walsh
SubjectRe: [Csnd] measuring decibels in CSound
Sure. Check out the crude example:


instr 1
ain inch 1 ;access audio input
printk, .2, dbamp(ain) ;print db levels of incoming audio
endin



On 25 October 2012 09:24, zappfinger  wrote:
> Could one use CSound to measure decibels in a certain room?
>
> Richard
>
>
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/measuring-decibels-in-CSound-tp5717347.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>

Date2012-10-25 10:56
FromRichard Dobson
SubjectRe: [Csnd] measuring decibels in CSound
This would correspond to "input metering" as would be incorporated into 
any recording application. However it is not quite the same as 
"measuring decibels in a certain room". That is the task of a sound 
level meter, which is a closed system using a carefully calibrated 
microphone, measuring the absolute sound pressure level at that 
position, and with respect to industry standard weightings (as in 
"A-weighted".

See e.g. http://en.wikipedia.org/wiki/Sound_level_meter

Richard Dobson

On 25/10/2012 09:28, Rory Walsh wrote:
> Sure. Check out the crude example:
>
>
> instr 1
> ain inch 1 ;access audio input
> printk, .2, dbamp(ain) ;print db levels of incoming audio
> endin
>
>
>
> On 25 October 2012 09:24, zappfinger  wrote:
>> Could one use CSound to measure decibels in a certain room?
>>


Date2012-10-25 10:59
FromRory Walsh
SubjectRe: [Csnd] measuring decibels in CSound
Good point.

On 25 October 2012 10:56, Richard Dobson  wrote:
> This would correspond to "input metering" as would be incorporated into any
> recording application. However it is not quite the same as "measuring
> decibels in a certain room". That is the task of a sound level meter, which
> is a closed system using a carefully calibrated microphone, measuring the
> absolute sound pressure level at that position, and with respect to industry
> standard weightings (as in "A-weighted".
>
> See e.g. http://en.wikipedia.org/wiki/Sound_level_meter
>
> Richard Dobson
>
>
> On 25/10/2012 09:28, Rory Walsh wrote:
>>
>> Sure. Check out the crude example:
>>
>>
>> instr 1
>> ain inch 1 ;access audio input
>> printk, .2, dbamp(ain) ;print db levels of incoming audio
>> endin
>>
>>
>>
>> On 25 October 2012 09:24, zappfinger  wrote:
>>>
>>> Could one use CSound to measure decibels in a certain room?
>>>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>