AY-3-8910/12 ZX Spectrum Sound Chip Emulator

"Mixer" dialog box

Hot key is G. "Mixer" box give you full control under AY/YM sound emulation. All settings are used not only for playing, all of them used during generating WAV files too. The most parameters can be changed during playing. If "Get from list" option were checked then corresponding parameter would be got from playlist global or item parameters or format headers. In dark fields current playing parameters are shown.

Tab sheet AY Emulation.

Channels amplification. For each of chip channels (A, B and C) amplification to right and left channels can be set by input number (range 0–255, equivalent to k = 0.0–1.0) or by moving controls. Use predefined patterns by choosing item of list in lower side of Channels amplification control group. Beeper amplification is not attached to ABC-levels in this version. Preamp is a volume of AY and beeper emulation, use higher value for better emulation.

Optimization. Choose emulation algorithm. If for quality is checked then linear interpolation is added, but process is a little slower, than if for performance is checked. You can add FIR-filter in “for quality” mode for better quality of downsampling from sound chip frequency to sample rate of sound card. For AY frequency 1,7734 MHz and sample rate 44,1 KHz Filter quality option must be not lower than 32 to complete rejecting all ultrasound frequencies.

Sound chip frequency. Choose standard external clock frequency or input own value.

Chip type. Choose chip type (AY or YM).

Interrupt frequency. Choose or input player frequency (not used for playing non-synchronized files – OUT, ZXAY, EPSG, AY and AYM, they use TStates per frame instead).

OUT, ZXAY, AY, AYM. Interrupt offset parameter is used for converting from OUT and ZXAY into PSG, VTX and YM6. Its value is time of first outing to chip from beginning of OUT or ZXAY file (in Z80 tacts). The offset must be smaller than TStates per frame parameter. TStates per frame parameter defines range in Z80 TStates (tacts) between interrupts. The parameter is used with Z80 frequency for playing AY and AYM files, and with Interrupt offset for converting from OUT and ZXAY. If OUT and ZXAY are created by using "Z80" Speccy emulator by G.A. Lunter then TStates per frame must be 69888.

Z80 frequency. Set Z80 clock frequency for playing OUT, ZXAY, EPSG, AY and AYM. If OUT files are created in "Z80" Speccy emulator by G.A. Lunter then Z80 frequency is 3494400 Hz. If EPSG files are created in “Pentagon 128K” mode of Z80 Stealth emulator then Z80 frequency is 3500000 Hz.

YM5, YM6 (MFP Timer). Timer frequency for playing special effects in YM5 and YM6 files. Option AY/YM x 16/13 attaches MFP timer frequency to clock frequency of the sound chip with factor 16/13. Very conveniently for listening these files on frequency AY/YM other than 2 MHz. Option Atari ST allows to set documented frequency 2457600 Hz. Option Another allows to enter any other value.

Tab sheet WaveOut.

Sample rate, Bit rate, Channels. Parameters of your sound card for digital audio playing. For exact emulation use 16 bit Stereo sound at sample rate frequency is equal to AY counters frequency (press AY / 8 button and required frequency will be calculated automatically). In fact, this high sample rate can be used only for generating WAV files for resampling to some lower rate with external resampler. For listening sound in Ay_Emul select sample rate not lower than 44100 Hz. If your sound device does not support selected sample rate, error message will appear during trying start playing or maybe sound quality will be worse even than at lower but supported rate. Anyway, refer to your sound card documentation.

Buffers. Allows set sound Buffer length in ms and select Number of buffers. Total length is calculated automatically. It defines sound latency after changing AY emulation parameters on corresponding tabsheet. Small length can bring to unstable sound.

Device. Allows select sound device. Wave Mapper is recommended.

All setting of tab sheet WaveOut cannot be changed during playing. To stop playing, press Stop playing button at lower side of tab sheet.

Tab sheet MIDIOut.

Device. Allows select MIDI-device (cannot be changed during playing).

Seek to first “Note On” MIDI-event. Allows to skip silence at begin of MIDI-files. There are many ones in Internet MIDI-collections, that have 2–3 seconds delay before playing (some time about 10 seconds), so it is very useful feature. Option works only if pause is greater then 0.5 sec, then Progess thumb jumps to 20 ms before first note in MIDI-file.

Tab sheet Global Volume.

Select desired mixer to associate with global volume control on main window. By checking Linear scale you are disabling logarithmic one. Save volume position allows to store current volume before closing application.

Tab sheet BASS.DLL v2.2.

For the moment, you can adjust only visualization of playing BASS.DLL files. FFT Quality – higher value for better visualization in low frequency range, but it takes more CPU time. Hanning window – check for more accurate FFT algorithm. AmpMin/AmpMax – parameter for logarithmic amplitude scale. 0.003 corresponds to about 300 levels of sound (very close to reality).

Restore button is used for setting all "Mixer" box parameters to default values. Close button closes mixer window (use Esc from keyboard).