LogoLogo
  • DSP4.3 - Real-Time DSP
  • Bill of materials
  • The Microcontroller
    • The ST Nucleo
    • STM32 Cube IDE
      • Useful tips
    • A simple test project
  • The Audio Peripherals
    • The Adafruit Boards
    • Real-time audio I/O
    • The digital microphone
    • The stereo DAC
    • The audio passthrough project
      • Setting up the I/O
      • Connecting the peripherals
      • Coding the passthrough
  • Real-World DSP
    • Numerical precision
    • Code efficiency
    • Signal levels
    • Benchmarking
    • Low Level Debugging
  • Voice Transformers
    • Introduction
    • Alien Voice
      • Basic implementation
      • The ON/OFF button
    • Granular Synthesis
      • The Formulas
      • Implementation
      • Last Details
    • About
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. The Audio Peripherals

The audio passthrough project

PreviousThe stereo DACNextSetting up the I/O

Last updated 5 years ago

Was this helpful?

A "passthrough" can be viewed as the audio processing equivalent of a "hello world" program. In this section we will program the Nucleo to simply pass the audio samples from the microphone to the DAC.

Using the CubeMX software, we will first . We will then guide you through the and, finally, we will using the SW4STM32 software.

Highlighted boxes, as shown below, specify a task for which you need to find out the appropriate solution and implementation.

TASK: This is a task for you!

A passthrough is a great sanity check when first beginning with an audio DSP system. Moreover, it serves as a useful starting point for new projects, as we will see in the following chapters when we develop more complicated programs.

update the configuration of the microcontroller
wiring
program our passthrough
Figure: Final wiring.