2-4.Creating a DSP program
- In addition to the songs played by the built-in sound source, the Saturn allows you to apply effects using the built-in DSP to sounds from SE and CD. Here we will explain how to create a DSP program for this purpose.
However, the sound will still be produced even without this DSP program, so if you want to produce sound without effects, you can skip this item.
- 1) Start DSP Linker
- First, double-click DSP Linker to start it. To create a new file, select “New” from the File menu and give it a name. The Algorithm Edit window will then open and a “.YLI” extension will be automatically added to the file name.
- 2) Placement of DSP input/output module
- Select “I/O Modules” from the Window menu to open the “I/O Module” window.
Figure 2-20 I/O Module window
- By double-clicking the “Input” (input to the DSP) and “Output” (output from the DSP) modules in the “I/O Module” window, or by clicking to select them and selecting them using the “Select” button. , import each module into the algorithm edit window. We'll build a reverb as an example, so let's import one “Input” module and two “Output” modules.
Move each imported module to a position where it can be easily seen so that they do not overlap.
Figure 2-21 DSP input/output module arrangement
- 3) Effect module placement
- Select "Effect Modules" from the Window menu to open the "Effect Module" window.
Figure 2-22 Effect Module Window
- Select the effect you want to apply from among these and import it into the Algorithm Edit window in the same way as for the input/output module.
Figure 2-23 Effect module arrangement
- 4) Wiring between modules
- In order to determine the flow of sound data between each module, we will connect each module. If you click the output port of a module and then click the input port of the next module, a line will connect each module.
Figure 2-24 Wiring between modules
- This allows sound data to flow from the input module through the effect module(s) to the output module.
- 5) Link
- After connecting the modules, select “Link” from the Process menu to link the created effect algorithm. If the link is successful, the "Link Result Information" dialog will be displayed. This dialog displays information regarding the usage status of DSP-related hardware resources.
Figure 2-25 "Link result information" dialog
- The value shown in "Free Area Required" in this "Link Result Information" dialog is the size of the DSP work RAM to be secured in the map.
When setting the DSP work RAM in the sound simulator, the first address is separated by 2000h. If you try to set an address smaller than that, it will be automatically moved back to a well-separated address.
- Processing when “Ring buffer too small” message occurs
- When you try to link, you may get a “Ring buffer too small” message and be unable to link. In this case, select “Ring Buffer” from the Option menu to increase the size of the ring buffer. (The larger the ring buffer, the larger the amount of DSP work RAM that must be reserved for the map.)
Figure 2-26 Ring buffer size selection
- 6) Download
- Once linked, select “Download” from the Process menu. The created effect algorithm will now be downloaded to the target (development board) and the DSP will start operating.
Figure 2-27 Download to target
- 7) Editing effect parameters
- The parameter edit window will be opened by double-clicking the margin (where no text is displayed) of each module in the algorithm edit window, or by selecting it and selecting “Parameters” from the Window menu. Masu.
Figure 2-28 Editing the reverb module
- By changing the values in this parameter edit window, you can change the detailed parameters of the effect. This work can be done in real time while actually playing the song or SE. However, please note that if you frequently operate the slider while playing a sequence, SCSI problems may occur more easily.
- For effects that give a stereo feel like reverb, prepare two output modules. Then, by assigning different exits, you can move each to the left and right to create a stereo effect.
The “ch” of the output module corresponds to the channel in the mixer window of the tone editor.
In addition, the input channel “ch” corresponds to the “Effect Select” of each layer in the tone editor.
Figure 2-29 Editing the input/output module
- 8) Save file
- At this stage, the effect algorithm you created only exists in the target's memory and is not saved as a file. If you want to save the effect algorithm after completing it, or even while you are working on it, select “Save” from the File menu.
When you save, four files with the extensions “.YLI”, “.EXL”, “.LRI”, and “.EXB” will be created.
- If you want to reopen a previously saved file, open the file with the “.YLI” extension.
- The files that are actually included in the map or passed to the main programmer are files with an “.EXB” extension.
- 9) Modulation effects
- Modulation effects such as chorus and autopan cannot be linked unless you specify the modulator input buffer number (DSP input buffer number).
Click on the “M” part to open the modulator input buffer settings dialog.
Figure 2-30 Modulation effects
- Be sure to select the “Slot” side for the “Slot” and “Soft” buttons.
- Please incorporate the modulation voices such as “VoiceForAutoPan” and “VoiceForModulations” in the DSP tool folder into the tone bank you are using.
Make sure that the DSP input buffer number (Effect Select) of these voices and the modulator input buffer number are the same. (15 is selected for these Voices by default)
- When using these effects, the modulation voice must be activated. Please include the data that will make this Voice sound in the sequence data (as the Direct Level is set to 0, this Voice will not sound as a sound).
Adjust the modulation speed using the pitch of this Voice.