Embedded Systems
synth.txt
Associated article: Real-Time Music Synthesis & Embedded Applications
Tags: Embedded Systems
Published source code accompanying the article by Max I. Fomitchev and Joe Hershberger in which they build an interactive musical toy that uses real-time music synthesis to generate music on the fly as much a software as hardware challenge. Also see SYNTH.ZIP.
Real-Time Music Synthesis & Embedded Applications
by Max I. Fomitchev and Joe Hershberger
Example 1:
memset(pMixBuffer, 0, BUFFER_SIZE);
for ( int i = 0; i < MAX_CHANNELS; i++ )
{
int NewLength = Sample[i].Size*BASE_FREQ/NewFreq;
for ( int k = 0; k < NewLeingth; ...


