FM Synthesis (somewhat OT)

Hmm. I’m in the awkward position of having two kinds of audio data that
I need to turn into an audio stream that I can pump out through SDL (for
four platforms and a bunch of sound cards…I’m beginning to understand
what a lot of DOS programmers went through years ago - I was in
unix-land for most of that period).

Thing is, I have what appears to be a set of waveform parameters for the
PCM chip on an adlib sound-card, or MIDI system-exclusive parameters
for a Roland MT-32 that generate equivalent audio.

What I need to do (I imagine) is turn one of these formats into mixable
audio data, either by synthesising the audio from the waveform
parameters in software, or converting it into a Gus instrument patch.

(What the heck is a Gus instrument patch anyway? Audio data, or some
kind of waveform parameter set itself?)

D

dancer at zeor.simegen.com wrote:

What I need to do (I imagine) is turn one of these formats into mixable
audio data, either by synthesising the audio from the waveform
parameters in software, or converting it into a Gus instrument patch.

FM synthesis is fairly straightforward, but it would be work to try to
simulate its effects in software, but much harder work would be to try
to do wave table synthesis… I still have Munnik and Oostendorp’s
book: “The Sound Blaster Book”, describing how to program the Adlib,
original SoundBlaster and all of its descendants (SBLive is arguably
NOT one of these!), including their FM synthesis chip. If you need an
explanation of how it all works, contact me by private email and I’ll
try to give one (I think it would be safer to continue this discussion
off the list anyway, as it’s becoming more and more OT).

(What the heck is a Gus instrument patch anyway? Audio data, or some
kind of waveform parameter set itself?)

It’s essentially digitized instrument data, which the GUS or a software
wave table synthesis program such as Timidity uses to generate the
instrument sounds at different pitches using a frequency shifting
algorithm. I have no idea, however, what format these digitized
instruments use.–
Rafael R. Sevilla <@Rafael_R_Sevilla> +63 (2) 4342217
ICSM-F Development Team +63 (917) 4458925
University of the Philippines Diliman