Giter VIP home page Giter VIP logo

stm32f4-synth's Introduction

STM32F4-Discovery Faust Synthesizer Target

This is an example of running Faust code on the STM32F4-Discovery board. The synthesizer is controlled by the onboard accelerometer and the onboard audio codec is used for output.

Requirements

  • ChibiOS 2.6.3, must be in ../ChibiOS
  • dfu-util for direct uploading (or other way of uploading)
  • gcc-arm-none-eabi compiler
  • Faust

Usage

Build and upload to STM32F4-Discovery board using dfu-util:

make prog

Make sure the MCU is in upload mode by putting a jumper over the BOOT0-VDD pins and pressing the reset button.

The synthesizer is written in the Faust language and is called synth.dsp. The controllable parameters in this example are the absolute acceleration and normalized x, y, and z acceleration. They are now hard-coded on several locations: synth.h, main.c, faust2stm32f4.py.

The code for controlling the onboard CS43L22 DAC and sending data to it via DMA is based on an implementation by Abhishek.

This Faust target has been developed as part of the development of the Striso, a self-contained battery powered music instrument, and is written by Piers Titus van der Torren. See http://www.striso.org/.

stm32f4-synth's People

Contributors

pierstitus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stm32f4-synth's Issues

Great !

Thank you very much for sharing this ! It's a nice project !
I had some issues though :

  • works with ChibiOS 2.6.3 but not the actual 2.6.5 because of a rules.mk bug
    (Compiling crt0.c
    arm-none-eabi-gcc: error: unrecognized argument in option '-mfloat-abi=yes')
  • "make prog" must be run as root (maybe obvious...)

Thanks again,
sincerely,
Xavier

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.