A startKIT audio effects demo

A startKIT audio effects demo

This application note shows a demo that applies audio effects to a stereo audio stream on the XMOS startKIT. It shows the use of driving audio using the I2S library, performing simple DSP in xC and accessing I/O on the startKIT using the startKIT support library.

The application loops audio input back to audio output with a biquad filter and a modulating gain applied to the signal. The effects are controlled via the button and the sliders on the startKIT. The example also shows the xSCOPE tracing functionality of the xTIMEcomposer tools by sending internal signal values to the development PC via program instrumentation.

Required tools and libraries

The code in this application note is known to work on version 14.1.1 of the xTIMEcomposer tools suite, it may work on other versions.

The application does not have any dependencies (i.e. it does not rely on any libraries).

Required hardware

The application note is designed to run on the XMOS startKIT with the XMOS audio slice card (XA-SK-AUDIO) connnected to it.

Prerequisites

  • This document assumes familiarity with the XMOS xCORE architecture, the XMOS GPIO library, the XMOS tool chain and the xC language. Documentation related to these aspects which are not specific to this application note are linked to in the references appendix.
  • For descriptions of XMOS related terms found in this document please see the XMOS Glossary [1].
  • The demo uses various libaries, full details of the functionality of a library can be found in its user guide [2].
[1]

http://www.xmos.com/published/glossary

[2]

http://www.xmos.com/support/libraries