Japanese
HARDWARE ManualSCSP User's Manual
BackForward
SCSP User's Manual/4.2 Sound source register

■Loop control register

KYONEX(W) : KeY ON EXecution
Every time "1B" is written, KEY_ON and OFF of all slots are executed.

KYONB(R/W) : KeY ON Bit
Register KEY_ON,OFF. If you want to turn KEY_ON at the same time, set "KYONB" of the slot you want to turn on to "1B".

KYONB Bit Features
0=Register KEY_OFF
1=Register KEY_ON

About KYONEX bit and KYONB bit

"KYONEX" and "KYONB" exist in each slot. The KEY_ON and KEY_OFF sequence is shown in Figure 4.2.
"KYONEX" does not need to write "0B" after writing "1B". No matter which slot is set to "1B", it will affect all slots, so there is no need to set it to "1B" in a specific slot.

Figure 4.2 KEY_ON and KEY_OFF functions

SBCTL[1:0](R/W); Source Bit ConTroL
Specifies a bit-reversal operation that removes the sign bit of the sound input data.
The inversion function of the bit to which "1B" is written is enabled.

SBCTL function
SBCTL0: Specify to invert all but the sign bit of the source waveform data
SBCTL1: Specifies inversion of sign bit of source waveform data

SSCTL[1:0](R/W) ; Sound Source ConTroL
Specifies the data to be used as sound input data. If you want to generate sound using the waveform data on the sound memory, write "0B". When this register is set to "1B", noise will be output from the slot for which this setting is made (LFO attached to each slot).
The relationship between the block diagram and LFO related to noise generation when "SSCTL"="1B" is shown in Figure 4.3 with ALFO attached.

Figure 4.3 Block diagram related to noise generation and relationship between LFO
* ALFO is included here.

Each slot uses the output of the LFO's noise oscillator to output noise. At this time, the LFO parameters ("LFORE", "LFOF", "ALFOWS", "ALFOS", "PLFOWS", "PLFOS" in Figure 4.3) have no effect on the noise as audio data.
Also, as shown in Figure 4.3, when using the LFO for low frequency modulation and setting the LFO waveform selection to noise (ALFOWS="3H" or PLFOWS="3H"), the reset by "LFORE" is not applied. yeah. Also, the frequency cannot be changed. This means that when selecting noise, the LFO can select the waveform, but cannot change other parameters.

Features of SSCTL
00B=External DRAM data
01B=Internally generated data (noise)
10B=Internally generated data (ALL"0")
11B=Not available

SA[19:0](R/W) ; Start Address
When using waveform data in memory to produce a sound, specify the start address of the waveform data using a byte address. However, if the waveform data is in "16-bit PCM format" ("PCM8B" = "0B"), be sure to set the value of the least significant bit (SA0) of the register to "0B".

LSA[15:0](R/W); Loop Start Address
The loop start address of the sound data is expressed as the number of samples from "SA".

LEA[15:0](R/W) ; Loop End Address
The loop end address of the sound data is expressed as the number of samples from "SA".

PCM8B(R/W); PCM 8Bit
Specify the word length (format) of the waveform data.

Types of sound data (PCM8B functions)
0B=16 bit PCM data 2'S complement
1B=8-bit PCM data 2'S complement

LPCTL[1:0](R/W) LooP ConTroL
Set the loop format.

Loop type (LPCTL function)
00B=Loop OFF
01B=Normal loop
10B=Reverse loop
11B=Alternative loop

Loop processing or sound memory access ends under one of the following two conditions.

  1. When the amount of attenuation reaches its maximum after release.
  2. When the read point reaches the loop end point when the loop is OFF.

When using normal loop and reverse loop, set the data corresponding to "SA+LSA" (loop start address) in the waveform data and the data corresponding to "SA+LEA" (loop end address) to the same value. Please set it to . By using the same method for the alternate loop, you can match the pitch of the normal and reverse loops.
Figure 4.10 shows specific examples of loop types.

Figure 4.4 Types of loops

┌────┬────┬────┬────┬────┐ 
│haaa│hiii│huuu│heee│hooo│ 
└────┴────┴────┴────┴────┘ 
↑ Attack  ↑      Loop    ↑ 
↑  data   ↑      data    ↑ 
SA       LSA            LEA

When you use the sound of “hah hee hee hee ho” as the waveform data and set the start address (SA), loop start address (LSA), and loop end address (LEA) as shown in the diagram above,

●For normal loop
┌────┬────┬────┬────┬────┬────┬────┬────┬──── 
│haaa│hiii│huuu│heee│hooo│huuu│heee│hooo│huu 
└────┴────┴────┴────┴────┴────┴────┴────┴──── 
↑         ↑              ↑              ↑      
SA       LSA            LEA(LSA)       LEA(LSA)
 
●For reverse loop 
┌────┬────┬────┬────┬────┬────┬────┬────┬──── 
│haaa│hiii│oooh│eeeh│uuuh│oooh│eeeh│uuuh│ooo 
└────┴────┴────┴────┴────┴────┴────┴────┴──── 
↑         ↑              ↑              ↑      
SA       LEA            LSA(LEA)       LSA(LEA)
 
●In the case of alternative loop 
┌────┬────┬────┬────┬────┬────┬────┬────┬──── 
│haaa│hiii│huuu│heee│hooo│oooh│eeeh│uuuh│huu 
└────┴────┴────┴────┴────┴────┴────┴────┴─── 
↑         ↑              ↑              ↑      
SA       LSA            LEA            LEA     

is pronounced.

Furthermore, the waveforms of the normal loop, reverse loop, and alternative loop can be expressed as shown in Figure 4.5. Note that the waveforms for uuuh, eeeh, and oooh are inverted from those for huuu, heee, and hooo.

Figure 4.5 Loop waveform
Define each waveform of “fuu”, “heh”, and “ho” as shown in the figure below.

●For normal loop

●For reverse loop

●In the case of alternative loop


BackForward
HARDWARE ManualSCSP User's Manual
Copyright SEGA ENTERPRISES, LTD., 1997