Skip to content

"Asynchronous SPDIF Mixer" synchronizes and mixes up to three asynchronous S/PDIF streams into a 48 kHz output. Running on an STM32H743 and developed in C++ with CubeIDE, it compensates for drift with interpolation. A custom KiCad-designed PCB hosts this real-time audio processing solution.

License

Notifications You must be signed in to change notification settings

DADDesign-Projects/Asynchronous-SPDIF-Mixer

Repository files navigation

Asynchronous S/PDIF Mixer

"Asynchronous SPDIF Mixer" is a hardware and software project designed to synchronize and mix up to three asynchronous S/PDIF streams into a single output stream at 48 kHz. The system compensates for drift and uses interpolation to ensure smooth audio transitions. The software, developed in C++ with CubeIDE, is optimized for real-time audio processing and runs on an STM32H743 microcontroller. A custom electronic board, designed with KiCad, has been developed to host this solution and provide a tailored hardware platform.

Image1 Image1

Author

This project is developed by DAD Design.

License

This project is licensed under the MIT License.

Evolutions

Recent updates to the project include:

  • Addition of a third input: Support for an additional audio stream has been integrated.
  • Development of a dedicated PCB: A printed circuit board (PCB) has been designed to host the software.

Features

  • Synchronization of Asynchronous S/PDIF Streams:
    The project synchronizes three input audio streams, each potentially running at different sample rates (96kHz, 48kHz, 44.1kHz, 32kHz), into a unified output stream at 48kHz.

  • Clock Drift Compensation:
    Drift between the input streams is handled through periodic drift factor recalculation, ensuring the output remains smooth and synchronized.

Hardware Platform

The KiCAD folder contains the schematics and PCB files for the project's hardware. These files were created using KiCAD version 8.0.

Development Environment

The project is developed and compiled using the CubeIDE environment provided by STMicroelectronics. CubeIDE is a fully integrated development environment (IDE) that supports STM32 microcontrollers and provides tools for debugging, flashing, and developing embedded systems.

About

"Asynchronous SPDIF Mixer" synchronizes and mixes up to three asynchronous S/PDIF streams into a 48 kHz output. Running on an STM32H743 and developed in C++ with CubeIDE, it compensates for drift with interpolation. A custom KiCad-designed PCB hosts this real-time audio processing solution.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages