Close
0%
0%

Audio Codec - Input FTT

This example shows how to use the FFT class to calculate the fast Fourier transform of the audio signal recorded by the microphone.

Public Chat
Similar projects worth following
A hardware circuit that converts sound waves into PCM digital code and vice versa. The term may refer to only the A/D and D/A conversion, or it may include the compression technique for further reducing the signal (definition #1 above). If the codec is specialized for human voice, it is known as a "speech codec," "voice codec" or "vocoder" (see speech codec).

Ameba RTL8722DM is a low-power dual-band WLAN and Bluetooth Low Energy SoC by Realtek. The RTL8722DM also include memory for Wi-Fi protocol functions and application making it simple for anyone to develop various kind of IoT applications. At the same time it has a wide range of peripheral interfaces. With all these interfaces, it can connect to most of the electronics components like LEDs, temperature and humidity sensors, and so on.

More Resources:

If you need additional technical documents or the source code for this project. Please visit the official websites and join the Facebook group and forum.

  • 1 × RTL8722DM_MINI Microcontroller

  • 1
    Setup

    As RTL8722DM MINI have a built in microphone on the board, there is no need for any external microphone.

    Next, Open the example, “Files” -> “Examples” -> “AmebaAudioCodec” -> “InputFFT”.

  • 2
    Final

    Upload the code and press the reset button on Ameba once the upload is finished.
    Open the serial monitor and change the baud rate to 2000000. A stream of FFT results of audio samples will be displayed. Try playing music or use a smartphone app to generate a sine wave into the microphone, and you should be able to see the FFT output change.

View all instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates