There is a stereo/monaural switch in the sound driver, but it seems to be a setting for PCM vocalization, so this is different from the information I want.
Also, to obtain the multiplayer status (stereo/monaural), use the SMPC I/F library.
SND_Init initializes the shared variables used by the SND_* functions, and slInitSound initializes the parts of the SGL system variable area that are used by sounds, so when you use these sound functions, you have to look at uninitialized data. Of course, there will be no sound as you will be operating it.
These two function groups cannot be used at the same time, but if you use SND_* functions in Cinepak etc., but use slSnd* in the main program, you can use them by performing slInitSound before using the slSnd* functions. You can.
Of course, the process is the same in reverse.
( ( s^-OCT × 1024 × Fn ) / 44.1 - 1024 ) × OCT × 2048
It becomes. However, the OCT value is
5.5125KHz ~ 11.025KHz -3 11.025KHz ~ 22.05KHz -2 22.05KHz ~ 44.1KHz -1 44.1KHz ~ 88.2KHz 0 88.2KHz ~ 1
is. For details, please refer to 6.4.5 "Support for playback frequencies other than 44.1kHz" in the Sound Embedded Manual of PROGRAMMERS GUIDE VOL.1.
In the sound driver, it seems that the effect parameters such as volume, localization, and effect send level can be changed, but in the library, there was an annotation that ``DSP is not used'' and it was fixed to 0.
When data is loaded with non-floating specification like this, does it go into the upper 16 bits of the 24 bits of the MEMSXX register? Does it go into the lower 16 bits?