home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Format 22
/
Disk22.iso
/
VEDIT.ZIP
/
VEDIT.DOC
< prev
next >
Wrap
Text File
|
1993-04-14
|
5KB
|
150 lines
CMF Voice Editor
Version 1.0
by
Colin Paterson
April 1993
To run this program you require : EGA or VGA graphics, a mouse and a
sound blaster card.
Introduction
------------
This is my first attempt at PD programming and was prompted by the lack
of free software for using the FM synthesis on my Sound Blaster card.
This is very much an on going project on which I have grand plans,
conquer the PC market and become a household name, that sort of thing.
To this end I would be grateful if people would send me any comments and
suggestions for version 2.0.
In particular I have been slowed by the lack of publication of file
standards !! how can a file be standard if no one knows the format ? so
if anyone knows the format of BNK or ROL files please let me know.
Thanks.
CMF files
---------
CMF stands for creative music file and is essentially a straight MIDI
(musical instrument digital interface) file with a header containing
sound blaster (ADLIB) instrument definitions. Although CMF music editors
are fairly rare it is more than possible to create MID and ROL files
and convert them into the CMF format.
FM synthesis
------------
Each voice on the Sound Blaster uses two operators which are configured
to create either FM or additive synthesis. During FM synthesis operator
one is known as the phase modulator and determines the frequency of the
sound, whilst operator two acts as an envelope thus shaping the sound.
The resultant wave form may be feed back and in this wave very complex
sounds created.
The envelope is split into four phases Attack, Decay, Sustain and
Release (ADSR). The best way to evaluate the effects is to try editing a
sound envelope.
|----------------------------|
| |
| /\ |
| / \Decay |
| / \____________ |
| / Sustain \ |
| / \ |
| /Attack \ |
| / Release\ |
|/ \|
------------------------------
During additive synthesis both operators produce a sine wave which are
then added together. This form of synthesis is easier to understand,
but does not produce complex sounds.
The Editing panel
-----------------
Once the program is loaded you will be greeted with a block diagram
schematic of the operators and their interconnections (sorry I'm a
control engineer). This is much easier to use than it looks see
The entire program is mouse driven and the various boxes are activated
by clicking in them with the mouse button. This either causes the value
(or diagram) to change automatically or enables you to control the
position of the controller with the mouse (Use it and you'll see what I
mean).
KSR Key Scale Rate, when this is on ( the box shows a tick) the
envelope is shortened as the notes pitch rises.
Hold When on the sustain level is held until the note is
released, otherwise the sound begins to decay once the sustain
level is reached.
Vib Toggle switch for vibrato.
AM Toggle Switch for amplitude modulation.
Harm Takes a value of between 0 and 15 which determines the
frequency at which the note will be produced.
To edit the ADSR envelope click the mouse button in one of the four
small boxes on the envelope vertices and then move the mouse. Click the
mouse button once more when the envelope is the desired shape.
The L.P (Low Pass) filter has four positions, each providing more
attenuation at high frequencies.
The three sliders work in much the same way as the ADSR envelope
shaping, click the mouse in the slider box, move to the desired position
and click to release.
The final sound editing box is the switch after the first operator, and
places the system in either additive or FM synthesis mode.
If you don't understand any of these options then just load up a CMF
file and play with the voices.
The editing screen also offers a number of menu options
Exit Leave the program
Play Output the current sound to the sound blaster until a key is
pressed on the keyboard.
Next Edit the next instrument in the CMF file
Prev Edit the previous instrument in the CMF file
Save Save the current voice back to the CMF file
Using the program
-----------------
To start the program you must give the name of the CMF file you wish to
work with,
vedit file.cmf
you will then be presented with a title screen, press any key
to proceed to the voice editing panel. I suggest you make a backup of
the CMF file before you edit it as you may not like the results of your
edits. After exiting the program use the PlayCMF file distributed by
Creative software to check your results.
Have fun.
Colin