找回密码
 立即注册

QQ登录

只需一步,快速开始

打印 上一主题 下一主题
开启左侧

[NUC505] Fast Fourier Transform Using M4 DSP

[复制链接]
跳转到指定楼层
楼主
admin 发表于 2022-7-12 09:57:36 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
Application: This sample code uses FFT to get main frequency from Line-in.
BSP Version: NUC505 Series BSP CMSIS V3.02.000
Hardware: NuTiny-EVB-NUC505 V1.6
This sample code uses NUC505 internal codec and gets audio data from LINE IN. Use CMSIS DSP library to do Fourier analysis. Users can hear the sound from LINE IN by connecting the headphones. In the sample code, only the right channel audio is analyzed, the sampling frequency is 8000 Hz, and the data length is 16 bits. The number of samples for FFT is 1024. Decreasing the number of samples reduces the computation time, but the resolution is worse. The user can set the volume threshold according to the VolTH parameter.

You can download the sample code at https://www.nuvoton.com/resource-downlo ... 1102163850

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 顶 踩
牛卧堂
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

新唐MCU