新增:从samples读取响度,转化为灯效

- 版本更新至0.0.4
- 添加了缓存,以避免并行导致的数据冲突
- 重构了文件结构
- 增加了从sample提取响度,并转化为RMS的接口
- 增加了从RMS转换为dB的接口
This commit is contained in:
2023-11-24 17:59:03 +08:00
parent a595a7825c
commit 5024b92298
12 changed files with 290 additions and 85 deletions

View File

@@ -8,7 +8,7 @@
#include "stdint.h"
#include <stdio.h> // 包含基本的输入输出函数
#include <platform.h> // 包含对封装的定义,引用以使用 on tile[] 语法
#include "volume_level.h"
#include "samples_to_levels.h"
#include "rgb_effect.h"
int main() // 定义主函数