Techniques are described of generating a digital waveform for a Musical
Instrument Digital Interface (MIDI) voice using a set of machine-code
instructions that is specialized for the generation of digital waveforms
for MIDI voices. For example, a processor may execute a software program
that generates a digital waveform for a MIDI voice. The instructions of
the software program may be machine code instructions from an instruction
set that is specialized for the generation of digital waveforms for MIDI
voices. In particular, the execution of one of the instructions may
involve a selection of an operation based on a set of parameters that
define a MIDI voice and the performance of the selected operation.