"thank you for being interested in creative electronic music."
DIYDSP.com is run by Noah Vawter and a select few, trusted collaborators.
We are obsessed with building electronic music instruments using DSP techniques for the next century. We seek ways to synthesize every sound imaginable in playable music instrument form.
We operate by exchanging information, computer code and hardware designs that put this power into the hands of instrument designers and musicians.
Below is a lot of information about our current favorite CPU, the STM32F4. When we first discovered this CPU, it was so searing hot, there was no time to give it its own page, so info on it was shared here. Since then, it's moved to the main STM32F4 page, where there's even more up-to-date info. It's Happening.
Also, if you are in Somerville MA and looking for co-working/hackerspace/makerspace, Join the Pirateship!
This is a set of GNU/Linux instructions for developing for stm32f4. They include the hard floating-point support in the compiler.
1. Install the gcc compiler, a.k.a. arm-none-eabi-gcc
Prepare by installing necessary libraries:
sudo apt-get build-dep gcc-4.5 git zlib1g-dev python-yaml
sudo apt-get install libexpat1 and libexpat1-dev
2. Install st-util, a simple, free open debugger that works with arm-none-eabi-gdb:
Go here: https://github.com/texane/stlink
git clone https://github.com/texane/stlink.git
sudo make install
3. Get libopencm3 and its examples:
Go here: http://www.libopencm3.org/wiki/Main_Page
git clone git://github.com/libopencm3/libopencm3.git
sudo make install
4. Go into the examples and try and build some programs.
5. Debug programs in the debugger
Use these instructions:
libopencm3 comes with example code to generate an ASCII mandelbrot set on the STM32F4 discovery board. However, it won't run on a stock CERB40, "Since the Discovery kit has an 8 MHz crystal while the FEZ Cerberus has a 12 MHz one." Follow that link to see more info. In my example below, I simply run using the HSI (High-Speed Internal clock). Notice how I was wrong about there being no external crystal on the Cerb40...
Come join us at http://webchat.freenode.net/ sometime and channel #libopencm3
1. Make these changes to mandel.c:
Additional threads about DSP and electronic music instument design: