ble, therefore you may want to turn down the volume on your display before plugging an external audio reproduction device. Note also, that there is no volume control for the Audio Out socket so you should take that into account when using headphones or an amplifier.

Notes

TZX files are "perfect" ZX Spectrum tape images. Due to them being compressed, they require a much more powerful CPU than the Z80N present on the Spectrum Next in order to be decompressed to their original tape audio stream. While not audio in the strict sense we're discussing in this chapter, they do use the audio subsystem to be loaded on the ZX Spectrum Next side and as such they are covered here.

Exercises:

  1. Rewrite the Mahler program so that it uses FOR loops to repeat the bars.
  2. Program the computer so that it plays not only the funeral march, but also the rest of Mahler's first symphony.
  3. Repeat exercises 1 and 2 above by utilising PLAY instead of BEEP.

ZX Spectrum Next User Manual, 3rd Edition (ISBN 978-1-5272-5496-1), written and illustrated by Phoebus R. Dokos. Copyright © 2020-2024 Phoebus Dokos / SpecNext Ltd. Licensed under CC BY-NC-SA 4.0. This is a transcription and can contain errors; check any doubt against the printed page.