demOS

- Main Page
- Modules
- Data Structures
- Files

All Data Structures Files Modules Pages
SND

SND provides SouNDtrack management. It is designed to be cheap in terms of CPU usage.

SND:

- plays PCM sample with STe DMA
- manages volumes of left / right channels : the idea is to listen in mono and use them as (free) mixers
- manages the musical score as a DSL code (coded as a co-routine)
- requires / synchronizes loading of samples and transfer PCM to the wished channel

Volume slides are managed by VBL interrupt PCM transfers are also sliced into VBL interrupt.