Sound Generator

An optional project was the course on DSP programming where students were taught in programming a Blackfin Digital Signal Processor. In Assembler language, I wrote a sound generator that ran directly on the DSP hardware. The sound generator could communicate with the computer over UART. The user could supply a sound file (in my own file format) that specified the tones to play. Because I was already experienced with ATMEL microcontrollers from my work with robots, I understood the basic DSP concepts quickly. The course helped me focusing more on hardware optimization, effective use of the stack and understanding how a CPU and DSP work on the low level.

The source code can be found at https://github.com/bekoeppel/Blackfin-DSP-Monophonic-Sound-Generator. Have a look at tonegen.S.