When using this document, keep the following in mind:ntialGeneral Notice

1. This document is confidential. By accepting this document you acknowledge that you are boundby the terms set forth in the non-disclosure and confidentiality agreement signed separately and /inthe possession of SEGA. If you have not signed such a non-disclosure agreement, please contact
SEGA immediately and return this document to SEGA.

de2. This document may include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be incorporated in new versions of the
document. SEGA may make improvements and/or changes in the product(s) and/or the
program(s) described in this document at any time.

nfi

3. No one is permitted to reproduce or duplicate, in any form, the whole or part of this document
without SEGA’S written permission. Request for copies of this document and for technicalinformation about SEGA products must be made to your authorized SEGA Technical Services
representative.
4. No license is granted by implication or otherwise under any patents, copyrights, trademarks, orother intellectual property rights of SEGA Enterprises, Ltd., SEGA of America, Inc., or any third
party.

Co

5. Software, circuitry, and other examples described herein are meant merely to indicate the characteristics and performance of SEGA’s products. SEGA assumes no responsibility for any intellectual
property claims or other problems that may result from applications based on the examples
describe herein.

GA

6. It is possible that this document may contain reference to, or information about, SEGA products(development hardware/software) or services that are not provided in countries other than Japan.
Such references/information must not be construed to mean that SEGA intends to provide such
SEGA products or services in countries other than Japan. Any reference of a SEGA licensed product/program in this document is not intended to state or simply that you can use only SEGA’slicensed products/programs. Any functionally equivalent hardware/software can be used instead.
7. SEGA will not be held responsible for any damage to the user that may result from accidents or any
other reasons during operation of the user’s equipment, or programs according to this document.

SE

NOTE: A reader's comment/correction form is provided with thisdocument. Please address comments to :(6/27/95- 002)

SEGA of America, Inc., Developer Technical Support (att. Evelyn Merritt)
150 Shoreline Drive, Redwood City, CA 94065
SEGA may use or distribute whatever information you supply in any way
it believes appropriate without incurring any obligation to you.

SE

GA

Co

nfi

de

nti
al

TM

SEGA SATURNSound Tools Manual
Supplement• SEGA SATURN Sound Tools Manual V1.27 11/15/94• SATURN Sound Driver System Interface V3.02 12/1/94• SATURN Sound Simulator Manual V2.10 11/15/94

Doc. # ST-198-R1-121594© 1994-95 SEGA. All Rights Reserved.

nti
al

READER CORRECTION/COMMENT SHEETKeep us updated!
If you should come across any incorrect or outdated information while reading through the attacheddocument, or come up with any questions or comments, please let us know so that we can make therequired changes in subsequent revisions. Simply fill out all information below and return this form to
the Developer Technical Support Manager at the address below. Please make more copies of this form if
more space is needed. Thank you.
General Information:
Your Name

Phone

ST-198-R1-121594

Document name

SEGA SATURN Sound Tools Manual Supplement

deDocument number

Date

Corrections:
Correction

nfi

pg. #

GA

Co

Chpt.

SE

Questions/comments:

Fax:

Where to send your corrections:(415) 802-1717
Attn: Evelyn Merritt,
Developer Technical Support

Mail:

SEGA OF AMERICA
Attn: Evelyn Merritt,
Developer Technical Support
150 Shoreline Dr.
Redwood City, CA 94065

nti
al

REFERENCES
In translating/creating this document, certain technical words and/or phrases were interpretedwith the assistance of the technical literature listed below.

Dictionary of Science and Engineering, 350,000 words, 3rd Edition
Inter Press
Tokyo, Japan
1990

2.

Computer Dictionary
Kyoritsu Publishing Co., LTD.
Tokyo, Japan
1978

3.

IBM Dictionary of Computing
McGraw-Hill, Inc.
New York, New York
1994

SE

GA

Co

nfi

de

1.

nti
al

Contents
SEGA Custom Sound Processor (SCSP) ...................................................... 2

2

SEGA SATURN Sound Box (Model M) .......................................................... 33

Sound Development Tools and Library Provided by SEGA ............................ 4

4

Functions of the Wave Editor ......................................................................... 55

Functions of the Tone Editor .......................................................................... 5

6

Functions of the DSP Linker .......................................................................... 6

7

List of MIDI Channel Messages Supported by Sound Driver Version 1.27 .... 7

8

List of MIDI System Messages Supported by Sound Driver Version 1.27 .... 109Sound Driver CPU Execution Times ............................................................ 11de1

10 Explanation of the Rear Panel LEDs on the Sound Target Box ................... 11
11 Precautions for the DSP Linker Version 1.11 ............................................... 13
12 Precautions for the Sound Simulator ........................................................... 13nfi

13 Precautions for the Tone Editor Version 1.13 andSound Driver Version 1.27 ........................................................................... 14
14 Precautions for the Wave Editor Version 1.13 .............................................. 15
15 Problems with Sound Playback Control ....................................................... 16Co

16 Recommended Third Party Software/Hardware Tools for Sound/MusicSEGA

Development ................................................................................................ 16

SEGA SATURN Sound Tools Manual Supplement11. SEGA Custom Sound Processor (SCSP)
Overview
The clock speed of the SCSP chip is 22.58 MHz.
The playback sampling frequency is 44.1 kHz.
DMA is built in.

nti
al

1.
·
·
·

de

2. Generator· PCM waveforms can be assigned individually to the 32 slots (oscillators)
separately. The standard AIFF format is used for the PCM waveform data, and16-bit and 8-bit linear data are used. The ADPCM format is also supported. Eachof the slots has a completely independent LFO and envelope, and loop playbackof PCM waveforms can be set to any one of four modes: ONESHOT, FORWARD,
REVERSE and ALTERNATE.

FM
One slot can be freely assigned as a carrier or a modulator, and a self-feedback
feature is also available. A waveform that can sufficiently stand up topractical use can be output by the use of the self-feedback feature alone, in whichcase the maximum FM output polyphony is 32 notes.

nfi

·

SE

GA

Co

3. Built-in Sound DSP· A sound DSP that can be programmed up to 128 steps is built in the SCSP. The 16
effects that are standard in the DSP library include Reverb, Early Reflection (ER),Delay, Pitch Shift, Chorus, Flanger, Symphonic (type of Chorus), Surround (type ofReverb), Voice Canceler, Auto Pan, Phaser, Distortion, Filter (high-pass, low-pass,band-pass), Dynamic Filter, Parametric EQ, and Mixer. The addition of an expansion
library that includes 3D sound is currently under development.

2

nti
al

4. Dedicated CPU for Sound Control· A 16-bit 11.3 MHz 68EC000 is used as the sound control CPU for the
SCSP. The 68EC000 is connected directly to the SCSP and operates independentlyof the SH2. The interface also allows access of the SCSP from the SH2. During
access from the SH2, neither the SCSP nor 68000 CPU will stop. However, since
time-shared processing is used, the performance of the 68000 CPU will decrease
if there is frequent access from the SH2.

2. SEGA SATURN Sound Box (Model M)

deThe SEGA SATURN Sound Box (Model M) has two sets of MIDI IN, OUT and THRU
ports and a SCSI port, so it may be operated like a commercially available MIDI soundmodule.

SE

GA

Co

nfi

Also, beginning with version 1.21 of the sound driver, error codes can be output from
the MIDI OUT port, thus making it possible to detect data problems.

SEGA SATURN Sound Tools Manual Supplement33. Sound Development Tools and Library Provided by SEGA
Sound Simulator
Tone Editor
Waveform Editor
DSP Linker and DSP Effect Library
Macintosh-based 68000 Assembler programming tool (SDSS)
Macintosh-based 68000 debugging tool (SSBug)
Invision sound library
DSP Assembler for the SCSP (dAsm)
Development board diagnostics programSound driver
Installation guide and ReadMe file explaining the use of the development board
diagnostics program.
· Sample demo tune

de

nti
al

·
·
·
·
·
·
·
·
·
·
·

SE

GA

Co

nfi

In addition to the resources above, manuals such as this one are provided by SEGA.
The SCSI firmware and the development board diagnostics program are supplied as
ROMs on the development board.

44. Functions of the Wave Editor

5. Functions of the Tone Editor

Co

nfi

FM sound editing with a graphical user interface.
Velocity curves can be set as desired.
Supports hardware LFO from 0.17 to 172.3 Hz.
Supports playback range from -8 octaves to +7 octaves.
Graphical editing of a 5-parameter envelope.
Effect send level, effect return level and pan/mixer settings for 16 channels.
Ability to edit a maximum of up to 128 layers and 128 voices.

SE

GA

·
·
·
·
·
·
·

de

nti
al

· Supports 16-bit and 8-bit AIFF formats· The following are editing functions that can be applied to waveforms.
Resample
Pitch ShiftSize Shift (time compression)
Scale (normalize)
FilterCompressor
Noise Gate
Cross Fade
Fade In
Fade OutSEGA SATURN Sound Tools Manual Supplement

5

de

nfi

· The following are the standard DSP effects:
ReverbER (Early Reflection)
Delay
Pitch Shift
ChorusFlangerSymphonic (type of chorus)
Surround (type of reverb)
Voice Canceler
Auto Pan
PhaserDistortion
Filter (high-pass, low-pass, band-pass)Dynamic Filter
Parametric EQ
Mixer (2 input, 3 input, 4 input, 8 input)

nti
al

6. Functions of the DSP Linker

SE

GA

Co

· Can patch input and output for up to 16 channels.

6

nti
al

7. List of MIDI Channel Messages Supported by Sound Driver
Version 1.27

deSupported: 8nH Note Off
Supported: 9nH Note On
Ignored: AnH Polyphonic Key Pressure (no plan to support)
Supported: CnH Program Change
The voice number in the tone bank (SCSP.BIN) is set for each MIDI channel.
If the voice number does not exist in the corresponding tone bank, the previous
voice number (program #) is assigned. When in default mode, the program
number is set to “0” for all MIDI channels.
Ignored: DnH Channel Pressure (no plan to support)
Supported: EnH Pitch Bend
: BnH control change

SE

GA

Co

nfi

Supported: 01H Modulation Wheel Sound Generator Hardware LFO
Ignored: 01H Modulation Wheel Sound Generator Software PEG
Ignored: 01H Modulation Wheel Sound Generator Software PLFO
Ignored: 05H Portamento Time
Supported: 07H Volume Control
The volume can be adjusted for each MIDI channel. When the parameter is
set to “0”, the volume is at MIN, and when it is set to “7FH (127)”, it is at MAX.
Since this indicates amplitude attenuation and is not a scaling factor, use caution.
The volume control functions even if issued during a note on event, but dependingon the waveform, there may be some hardware-based noise (clicks, pops) due to thedifference in volume.

SEGA SATURN Sound Tools Manual Supplement

7

nti
al

Supported: 0AH PAN pot
Rewrites the layer parameter DIPAN of all applicable voice numbers in the tonebank (SCSP.BIN) that is set for each MIDI channel.
The normal default fixed position is the pan setting of the original voice data. Whena MIDI program change is issued, the pan control data of the applicable MIDI
channel become invalid.

deSupported: 10H Mixer change
Uses MIDI control number 16.
When this control change is issued, the data of the applicable mixer number inthe tone bank (TONE.BIN) of the applicable MIDI channel are written to the
DSP block (EFREG0-15, EXTS0, EXTS1) of the SCSP sound generator. Therefore, it isimportant to understand the DSP effect status when a mixer change command isissued. Also, if the specified mixer number is invalid (data does not exist), then it isignored.
Mixer # 0 of bank # 0 in map # 0 is set as the default.

Co

nfi

Supported: 20H Tone bank change
The start address of the specified tone bank TONE.BIN is retrieved from thecurrent Area Map. After this is done, the pitches accessed by the applicablechannel are from this TONE.BIN. Also, since the voice number (program #) of
the corresponding MIDI channel is forced to “0” at the same time, it is necessary
to set the voice number by means of a MIDI program change command before a newsound is played.
Bank # 0 is set as the default.

SE

GA

Supported: 40H Damper
When the damper is enabled (on), key-off of the applicable channel is nolonger executed. When the damper is disabled (off), all of the slots that were turnedon during the damper-enabled period of the applicable channel are turned off.

8

nti
al

Ignored: 41H Portamento ON/OFF
Supported: 46H Effect Pan Change
Supported: 47H Effect Volume ChangeThis changes the currently active mixer data. Since the tone bank data
TONE.BIN is directly rewritten at this time, it is necessary to download mixer
data again from the host to return the mixer to its original settings.
The channel number corresponds to EFREG0--15, EXTS0, and 1 of the soundsource DSP block.

SE

GA

Co

nfi

de

Supported: 5BH Effect Change
Supported: 7BH Channel Note Off

SEGA SATURN Sound Tools Manual Supplement

9(see other table)(no plan to support)(no plan to support)(no plan to support)(no plan to support)(no plan to support)(no plan to support)de(no plan to support)(no plan to support)(no plan to support)(no plan to support)(no plan to support)(no plan to support)(no plan to support)

nfi

Supported: $F0 Exclusive
Ignored: $F1 Quarter Frame Message
Ignored: $F2 Song Position Data
Ignored: $F3 Song SelectIgnored: $F4
Ignored: $F5
Ignored: $F6 Tune Request
Supported: $F7 End of Exclusive
Ignored: $F8 Timing Clock
Ignored: $F9
Ignored: $FA Start
Ignored: $FB Continue
Ignored: $FC Stop
Ignored: $FD
Ignored: $FE Active Sensing
Supported: $FF System Resetntial

8. List of MIDI System Messages Supported by Sound Driver
Version 1.27

* When a system reset [=$FF] MIDI system message or a System Exclusive reset is received,
the sound target program starts up.

CommandCo

System Exclusive Command Table

SE

GA$00: Data Dump Request$01: Set Data
$02: Acknowledge$03: Not Acknowledged$04: Reset$05: Tone Bank Data Change$41: Data Dump

10

Saturn ← External
Saturn ← External
Saturn ←→ External
Saturn ←→ External
Saturn ← External
Saturn ← External
Saturn → External

Software DSP control is executed in 8 ms.
Software PLFO control is executed in 4 ms.
Other target programs are executed in 2 ms.

nti
al

9. Sound Driver CPU Execution Times

10. Explanation of the Rear Panel LEDs on the Sound Target BoxdeThe LED’s flash in sequence from LED 1 to LED 8 while the boot ROM isstarting up. This operation is momentarily interrupted while data is being transferredusing the SCSI interface but is restored upon completion of the transfer.
When the target program is executed after being transferred, LED 1 flashes, which
confirms that the CPU is operating normally.

Co

CPU is operating at its maximum capability.
Interrupts for BGM decompression (normally flashes) in progress.
IgnoreIgnoreIgnoreMIDI input from MIDI-IN2 on the board.
MIDI input from MIDI-IN1 on the board.

SEGA

LED 2:
LED 3:
LED 4:LED 5:LED 6:LED 7:LED 8:

nfi

The flashing of other LED’s while LED 1 is flashing (CPU is operating normally)
indicates the following.

SEGA SATURN Sound Tools Manual Supplement

11Description

nfi

de

YM3802(MIDI-1) IRQ vector error// (MIDI-2) //MIDI data error
YM3802 (MIDI-1) MIDI out error// (MIDI-2) //MIDI control change $60-$7F input
Host I/F command execute error. . . .
. . . .
Map change error
Bank change error
Mixer change error
Effect change error
68k undefined vector event. . . .
68k bus error
68k address error. . . .
68k level-3 event
68k level-4 event
68k level-7 event

SE

GA

Co

LED No.

1 2 3 4 5 6 7 8- - - - - - 0 0- - - - - 0 - - - - - - 0 - 0- - - - - 0 0 - - - - - 0 0 0- - - - 0 - - - - - - 0 - - 0- - - - 0 - 0 - - - - 0 - 0 0- - - - 0 0 0 - - - - 0 0 0 0- - - 0 - - - - - - 0 - - - 0- 0 - - - - - - 0 - - - - - 0- 0 - - - - 0 - 0 - - - - 0 0- 0 - - - 0 - - 0 - - - 0 - 0- 0 - - - 0 0 - 0 - - - 0 0 0- 0 - - 0 - - - 0 - - 0 - - 0

12

nti
al

Also, flashing of the other LED’s when the LED 1 is off indicates the following errors(if continuously on, then either the SCSI interface is being used or the SCSI driver
has halted).

11.

Precautions for the DSP Linker Version 1.11

12.

nfi

de

nti
al

· Modulation system effects cannot be used in version ES1 of the SCSP chip. It is
recommended that they be used in versions ES2 and ES3.
· All modulation voices must be keyed on as monophonic sounds (due to a bug in
Version 1.27 of the sound driver, use of the Tone Editor parameter MONO mode
should be avoided).
· Ring Buffer in the Option Menu
The Ring Buffer menu item is used to set the size of the ring buffer (memory fordelay) used in the algorithms that are being edited. The ring buffer is located in
the 4 MB sound DRAM. If the buffer size is too small, an error will occur when
linking is executed. Even if the link is successful, it is recommended that the data
size be set to the required minimum size by referring to the information
contained in the link result dialog box.
· Since a slight noise glitch will result during an effect change due to the SCSP's
chip design, the effect return level can be lowered through a mixer change command if the noise is annoying.

Precautions for the Sound Simulator

SE

GA

Co

· Place SYSTBL.TSK and SDDRV.TSK in the same folder as SndSimulator. Also, do
not change the names of these files.

SEGA SATURN Sound Tools Manual Supplement

13

nti
al

13. Precautions for the Tone Editor Version 1.13 and Sound Driver
Version 1.27

SE

GA

Co

nfi

de

· Only the poly mode is not supported. Do not use the mono mode since it has aplayback bug.
· PORTAMENTO TIME and VOLBIAS in the voice window do not function.
· Pan and Vol settings made with MIDI Control Change Events commands do nottake effect until a voice of that channel is turned on again.
· There are several bugs in the operation of the PEG, so it may not operate as
expected.
· The data format of the Tone Editor has been changed. Data created with Version
0.91 and older cannot be used.
· When playing a voice, send the number corresponding to the program change.
If the program change number of a nonexistent voice is sent, then it is ignored.
· The Tone Editor references AIFF data by file name to prevent the increase in theamount of data due to redundant tone data. That is, if AIFF data is selected that is
the same as another layer in the same tone data, then the data is not loaded again.
Instead, the AIFF data already stored in DRAM from the preceding tone is used.
Therefore, even if an AIFF file captured to the tone data is edited with a waveform
editor, the Tone Editor will not read the newly edited AIFF data if the file name isthe same. Because of this, the tone data will not be updated. To load the data,
either change the file name or load it again after loading different data.

1414. Precautions for the Wave Editor Version 1.13

SE

GA

Co

nfi

de

nti
al

· When recording audio, be sure to record after creating a new file with the New
command.
· When playing back audio from memory, noise will be output after 7FFEH if the
SCSP version being used is ES2.
· The only waveforms that can be played back in a loop are those with a sample sizeof less than 65535 (FFFEH) bytes. A sample size greater than FFFEH cannot beplayed back during memory playback, and therefore the unnecessary
parts should be cut and the loop switched off or the loop should be reset.
· The Play Audio playback in the SCSP menu results in the Play button being depressed, and therefore Stop should be applied when appropriate. When the
Macintosh itself is used for playback, notes at the high end of the keyboard are notplayed because the Macintosh Sound Manager will not produce sounds above
65.535 Hz. Also note that popping sounds may be emitted; however, this not a bug.
· Since the DRAM of the 68000 is used as a work area during hard disk recordings,
everything above address 10000H is destroyed.
· Due to hardware limitations, stereo hard disk recording is not possible.
· Only 44.1 kHz can be used as the input sampling frequency (fs). Do not input audio
data at other sampling frequencies.
· When using DAT output, second generation digital data recording (copying)cannot be performed due to the Serial Copy Management System (SCMS).
· The bug that prevented the loading of AIFF files created by Sound Designer II in
version 1.00 has been corrected. However, since the LoopStartPoint, LoopEndPoint,
BaseNote and other settings are ignored, reset them after loading the data in with
the Wave Editor. Also, since files loaded in with the Wave Editor are forcibly
overwritten by default (a warning in English is displayed when opening), makesure to save a copy if necessary.
· Be sure to set the loop start and end points. Since these settings enable theTone Editor to generate sounds, no sound will be generated if 0’s or other incorrect
values are used. In the case of single-shot playback samples in which a loop is not
used, be sure to set loop start to 1 and end point to the same value as the sample
size.

SEGA SATURN Sound Tools Manual Supplement1515. Problems with Sound Playback Control

ntial· The Version 1.00 specification which required that the MIDI channels of sequencesthat could be simultaneously played to be set to different channels has beenchanged to a method that plays the sequences (songs, SE) by means of playback
control numbers. Refer to the SATURN Sound Driver System Interface manual for
details.

· Make sure that the tempo of the sequence does not exceed the range of 40 to
300 quarter notes.

Recommended Third Party Software/Hardware Tools forSound/Music Development

de

16.

nfi

· Contact the following companies for MIDI sequencers:
Performer from Mark of the Unicorn
Vision from Opcode Systems
Cubase from Steinberg
Notator Logic from E-Magic* Basically, any sequencer that runs on either the NEC 9801 or the IBM PC compatible may also be
used as long as it can output standard Type 1 MIDI format files.

Co· For advanced PCM waveform editing (requires the Audio Media II or othersound card), contact these companies:
Alchemy from Passport Design
Sound Designer II from DigiDesign

SE

GA· CD players with optical output and DAT recorders.

16