Tag: 分贝

我是否正确地将分贝从-120 – 0转换为0 – 120

我会喜欢测量周围的音量,不太确定我是否做正确的事情。 我想创build一个范围从0(安静)到120(非常嘈杂)的VU表。 我获得了峰值和平均功率,但是在正常的安静环境中非常高。 请给我一些指针。 – (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //creating an audio CAF file in the temporary directory, this isn't ideal but it's the only way to get this class functioning (the temporary directory is erased once the app quits). Here we […]