Wavetable Synthesizer by Brett Lesnau

Score file:

The actual score file that generates the short demonstration of the wavetable synthesizer is here.
The audio file generated from this score file is here.

Features implemented:

Score file format:


The format for the wavetable synthesizer is as follows:

<instrument instrument="WavetableInstrument">
     <wave baseNote="C5" path="\waves\file1.wav" repeat="\waves\file1Repeat.wav" />
     ...
     ...
     <wave baseNote="C5" path="\waves\file2.wav" repeat="\waves\file2Repeat.wav" />
  
     <note wavetableNumber="0" amp="1" measure="1" beat="1" duration="0.5" note="G4" endNote="G5" /> 
     ...
     ...
     <note wavetableNumber="0" amp="1" measure="1" beat="1" duration="0.5" note="G4" endNote="G5" />
</instrument>

All information for a wavetable instrument is contained in the instrument node with the instrument attribute equal to 'WavetableInstrument'. The instrument node contains one or more wave nodes and one or more note nodes as children. The wave nodes represent a .wav audio file that is loaded to be played by the wavetable synthesizer instrument. The wave nodes are put into a zero based array in the order that they are listed in the score file. The note nodes represent an individual note that is played by the wavetable synthesizer isntrument.

Wavetable instrument nodes and attributes: