DSP Labs
  • INTRODUCTION
  • BILL OF MATERIALS
  • 1. OVERVIEW AND INSTALLATION
    • 1.1 Hardware
    • 1.2 Software
      • CubeMX
      • SW4STM32
      • Eclipse tips
    • 1.3 First project!
  • 2. AUDIO PASSTHROUGH
    • 2.1 Audio I/O theory
      • Microphone
      • Stereo decoder
    • 2.2 Updating peripherals
    • 2.3 Wiring audio I/O
    • 2.4 Coding passthrough
  • 3. ALIEN VOICE EFFECT
    • 3.1 How it works
    • 3.2 Real-time DSP tips
    • 3.3 Real-time with Python
    • 3.4 C implementation
  • 4. DIGITAL FILTER DESIGN
    • 4.1 Design approaches
    • 4.2 Real-time implementation
  • 5. GRANULAR SYNTHESIS
    • 5.1 How it works
    • 5.2 Implementation
  • 6. LINEAR PREDICTION
    • 6.1 Theory behind LPC
    • 6.2 Implementation
  • 7. DFT PITCH SHIFTING
    • 7.1 How it works
    • 7.2 Python implementation
Powered by GitBook
On this page

Was this helpful?

2. AUDIO PASSTHROUGH

Previous1.3 First project!Next2.1 Audio I/O theory

Last updated 6 years ago

Was this helpful?

A "passthrough" can be viewed as the audio equivalent of "hello world". In this chapter, we will build a passthrough with the hardware and software components previously introduced. Moreover, we will point out some key specifications from the microphone and the DAC (Digital-to-Analog Converter) components so that our STM32 board can successfully interface with them. This will be done in .

Using the CubeMX software, we will update the configuration of the microcontroller in . We will guide you through the wiring in . Finally, we will program our passthrough in using the SW4STM32 software.

Highlighted boxes, as shown below, specify a task for you to determine 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!

Figure: Final wiring.

Section 2.1
Section 2.2
Section 2.3
Section 2.4