/murasaki_samples_audio

Audio Sample projects for STM32CubeIDE

Primary LanguageCMIT LicenseMIT

murasaki_samples_audio

Audio Sample projects for STM32CubeIDE

Table of contents

Description

A collection of the Audio sample project for murasaki project.

The contents of this repository are collection of the STM32 CubeIDE projects. Each projects demonstrate the audio application by murasaki project. Recently, there is only one type of audio demonstration application. A talkthrough application which copies line-in audio signal to the headphone-out signal by digital domain.

Requirement

Usage

Following samples are available.

nucleo-f722-akashi02-i2s

A project for Nucleo F722ZE. The audio signal to Line-in is copied to HP-out. The Audio port of the microcomputer is the I2S port.

nucleo-f722-akashi02-sai

A project for Nucleo F722ZE. The audio signal to Line-in is copied to HP-out. The Audio port of the microconputer is the SAI port.

nucleo-g431-akashi04-i2s

A project for Nucleo G431RB. The audio signal to Line-in is copied to HP-out. The Audio port of the microprocessor is the I2S port.

Description

In these demonstrations, audio is processed in the TaskBodyFunction() of murasaki_platform.cpp. This function is running as independent FreeRTOS task at realtime priority. Algorithm of this task is very simple. It start and un-mute the codec. And then do the copy from input to output forever.

Nucleo 144 + audio board

Install

  1. Install the Egit to CubeIDE by Menu bar -> Help -> Eclipse Marketpalace...
  2. Clone this repository. Refer the appropriate section in the Egit documentation to understand how to clone a repository.
  3. Import the audio demo project(s) from git repository to workspace. Refer the appropriate section in the Egit Documentation.
  4. Build and run

For more information of importing, Refer Murasaki Samples project.

License

MIT

Author

suikan4github