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

■MIXER register

The digital mixer is a block that adjusts the level and balance of each audio signal in SCSP. A digital mixer consists of four parts: a direct audio adjustment section, a DSP input stage adjustment section, a DSP output stage adjustment section, and a final stage output adjustment section. Figure 4.47 shows the digital mixer block diagram and explains each block.

Figure 4.47 Digital mixer block diagram

Direct audio adjustment section
This is a mixer block that manages the path where each slot's output connects directly to the DAC output. You can control the output level ("DISDL") and output balance ("DIPAN") for each slot.

DSP input stage adjustment section
Mixing is performed to input the output of each slot to the DSP ("MIXS"). Actually, select "MIXS" to input the audio signal with "ISEL" of each slot, and adjust the input level with "IMXL". When mixing multiple sounds with "ISEL", it is necessary to balance each sound. "MIXS" allows you to mix and input multiple slot outputs, so you can apply the same effect processing to multiple sounds, such as BGM reverb. Also, if you want to apply effects with DSP, please transfer the audio data to "MIXS".

DSP output stage adjustment section
Audio that has been applied effects with DSP and audio that has been captured via external digital input is finally combined into stereo through mixing processing. You can adjust the output level ("EFSDL") and output balance ("EFPAN") for the audio signals output from "EFREG", which corresponds to DSP, and "EXTS", which receives external digital audio input. can. The data compiled here is also mixed with the direct audio component.

Final stage output adjustment section
Combines the direct and effect components of the audio and adjusts the output level to the DAC. Adjust the final output level with "MVOL".

*About direct ingredients and effect ingredients
When effects are applied to audio, the sound without effects (dry) and the sound with effects applied (wet) are mixed with the appropriate balance for each scene. The built-in effect program is divided into dry and wet parts inside the DSP and mixed at the end, so if you are creating dry and wet components inside the DSP, there is no need to output the direct component. This can be disabled by setting DISDL to "0". Figure 4.48 shows the paths of the direct component and effect component.

Figure 4.48 Path of direct component and effect component

When rewriting the DSP program, the DSP operation will become unstable and audio will not be output correctly from "EFREG", so please set "EFSDL" to "0H" to prevent audio from being output.

*About localization
SCSP's digital mixer supports a 31-step panning function, but if you want to make even more detailed settings, use the SCSP's built-in DSP to perform panning processing, as shown in Figure 4.49.

Figure 4.49 Localization calculation using DSP

Figure 5.56 shows a block diagram of a digital mixer.

Figure 4.50 Digital mixer block diagram

Next, we will explain how to set each parameter based on the detailed diagram in Figure 4.50.
The "IMXL", "ISEL", "DISDL", and "EPSDL" settings are used to prevent overflow when a considerable number of notes are output, and to prevent the overall volume from becoming low when not many notes are output. Therefore, the setting method described below is required.

(a) Mixer on the DSP input side
The "IMXL" and "ISEL" parameters correspond to the mixer on the DSP input side.
"MIXS" (mix stack will be explained later) can input multiple slot outputs. This register has the ability to mix multiple pieces of data. At this time, set "IMXL" to an appropriate value depending on the number of slots to be input, and be careful not to cause "MIXS" to overflow.
Table 4.18 shows the number of notes that can be input when changing the "IMXL" value. For example, if you set "IMXL" to "7H" for the input source and set the level input to "MIXS" to "0[dB]", the number of slots that can be input to "MIXS" is 1. It will be a sound minute.

Table 4.18 Relationship between the number of sources that can be input to IMXL and MIXS
"IMXL" value[2:0] level Number of notes that can be input (number of sources)
[dB] magnification
0H -MAX ×0.000000 --sound
1H -36 ×0.015625 64 sounds
2H -30 ×0.031250 32 sounds
3H -24 ×0.062500 16 sounds
4H -18 ×0.125000 8 sounds
5H -12 ×0.250000 4 sounds
6H -6 ×0.500000 2 sounds
7H -0 ×1.000000 1 note

(b) "DISDL" and "EFSDL"
"DISDL" and "EFSDL" have the same concept as "IMXL", but these two are determined by taking into account the total number of sound outputs.
The total number of sound outputs refers to the sum of direct components, effect components, and external input components that are in the state of outputting sound. This refers to the number of sources that output sound to the L/R cumulative adder in Figure 4.50 (considering the L/R pair as one). In other words, this means that it is not equal to the sum of the slots that are outputting sound.

(c) "DIPAN" and "EFPAN"
These registers are centered when the set value is "00H" or "10H".
If you increase the value of the lower 4 bits while leaving the most significant bit at "0B", the stereo position will move to the right.
If you increase the value of the lower 4 bits while leaving the most significant bit at "1B", the stereo position will move to the left.

IMXL[2:0](R/W) ; Input MiXing Level
Specify the mix stack input level for each slot when sound slot output data is input to the DSP mix stack (MIXS).

Table 4.19 Mix stack register input level
IMXL Level (dB)
0 -MAX (do not mix)
1 -36
2 -30
3 -24
4 -18
5 -12
6 -6
7 -0

ISEL[3:0](R/W) ; Input SELect
Specify the mix stack number for each slot when inputting sound slot output data to the DSP mix stack register ("MIXS").

Mix Stack ("MIXS") calculates the sum of inputs for all slots and uses it as the DSP input. The mix stack does not have an overflow protection function, so please set it so that the sum of all slots does not exceed "0[dB]".

DISDL[2:0](R/W) ; DIrect SenD Level
Specify the output level for each slot when outputting direct data to the D/A converter.

Table 4.20 D/A converter output level
DISDL Level (dB)
0 -∞(Do not send)
1 -36
2 -30
3 -24
4 -18
5 -12
6 -6
7 -0

DIPAN[4:0](R/W); DIrect PANpot
Specify the stereo position for each slot when sending direct data.

Table 4.21 Localization data by DIPAN
DIPAN Left localization (dB) Right localization (dB)
DIPAN Left localization (dB) Right localization (dB)
00H -00.0 -00.0
10H -00.0 -00.0
01H -03.0 -00.0
11H -00.0 -03.0
02H -06.0 -00.0
12H -00.0 -06.0
03H -09.0 -00.0
13H -00.0 -09.0
04H -12.0 -00.0
14H -00.0 -12.0
05H -15.0 -00.0
15H -00.0 -15.0
06H -18.0 -00.0
16H -00.0 -18.0
07H -21.0 -00.0
17H -00.0 -21.0
08H -24.0 -00.0
18H -00.0 -24.0
09H -27.0 -00.0
19H -00.0 -27.0
0AH -30.0 -00.0
1AH -00.0 -30.0
0BH -33.0 -00.0
1BH -00.0 -33.0
0CH -36.0 -00.0
1CH -00.0 -36.0
0DH -39.0 -00.0
1DH -00.0 -39.0
0EH -42.0 -00.0
1EH -00.0 -42.0
0FH -∞ -00.0
1FH -00.0 -∞

EFSDL[2:0](R/W); EFfect SenD Level
Specify the output level of waveform data (effect data) processed through DSP and external input waveform data to the D/A converter.

Table 4.22 Send level to D/A converter
EFSDL Level (dB)
0 -∞(Do not send)
1 -36
2 -30
3 -24
4 -18
5 -12
6 -6
7 -0

EFPAN[4:0](R/W); EFfect PANpot
Specify the stereo location of waveform data (effect data) that has undergone effect processing through DSP and external input waveform data.

Table 4.23 Localization data by EFPAN
EFPAN Left output (dB) Right output (dB)
EFPAN Left output (dB) Right output (dB)
00H -00.0 -00.0
10H -00.0 -00.0
01H -03.0 -00.0
11H -00.0 -03.0
02H -06.0 -00.0
12H -00.0 -06.0
03H -09.0 -00.0
13H -00.0 -09.0
04H -12.0 -00.0
14H -00.0 -12.0
05H -15.0 -00.0
15H -00.0 -15.0
06H -18.0 -00.0
16H -00.0 -18.0
07H -21.0 -00.0
17H -00.0 -21.0
08H -24.0 -00.0
18H -00.0 -24.0
09H -27.0 -00.0
19H -00.0 -27.0
0AH -30.0 -00.0
1AH -00.0 -30.0
0BH -33.0 -00.0
1BH -00.0 -33.0
0CH -36.0 -00.0
1CH -00.0 -36.0
0DH -39.0 -00.0
1DH -00.0 -39.0
0EH -42.0 -00.0
1EH -00.0 -42.0
0FH -∞ -00.0
1FH -00.0 -∞

"EFSDL" and "EFPAN" can be set individually for each "EFREG" and "EXTS". The addresses of the "EFSDL" and "EFPAN" registers corresponding to each "EFREG" and "EXTS" are shown in Table 4.24.

Table 4.24 Register addresses of EFSDL and EFPAN corresponding to each EFREG and EXTS
sauce address data sauce address data
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
EFREG0 100017H EFSDL0 EFPAN0 EFREG9 100137H EFSDL9 EFPAN9
EFREG1 100037H EFSDL1 EFPAN1 EFREG10 100157H EFSDL10 EFPAN10
EFREG2 100057H EFSDL2 EFPAN2 EFREG11 100177H EFSDL11 EFPAN11
EFREG3 100077H EFSDL3 EFPAN3 EFREG12 100197H EFSDL12 EFPAN12
EFREG4 100097H EFSDL4 EFPAN4 EFREG13 1001B7H EFSDL13 EFPAN13
EFREG5 1000B7H EFSDL5 EFPAN5 EFREG14 1001D7H EFSDL14 EFPAN14
EFREG6 1000D7H EFSDL6 EFPAN6 EFREG15 1001F7H EFSDL15 EFPAN15
EFREG7 1000F7H EFSDL7 EFPAN7 EXTS0 100217H EFSDL16 EFPAN16
EFREG8 100117H EFSDL8 EFPAN8 EXTS1 100237H EFSDL17 EFPAN17

MVOL[3:0](W) ; Master VOLume
Represents the output master volume to the D/A converter.
This is to control the overall output level, and even if you lower the gain by lowering the "MVOL" setting for output overflow, clipping noise will not disappear (to eliminate clipping noise, , please reconfigure "DISDL" and "EFSDL" to resolve the overflow).

DAC18B(W); DAC out 18Bit
Set this bit to "1B" when using the digital output as an interface for an 18-bit D/A converter. For 16 bits, set "0B". (Basically, a 16-bit type D/A converter is connected, so set "0B" in the register.)

Figure 4.51 SCSP and DAC connection


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