maug
Quick and dirty C mini-augmentation library.
Loading...
Searching...
No Matches
RETROSND_TUNE Struct Reference

Simple tune designed to be played on the software synthesizer. More...

#include <retrosnd.h>

Data Fields

size_t sz
 Size of this struct (useful for serializing).
size_t total_sz
 Size of the tune in bytes (including this struct header).
uint8_t notes_ct
int8_t current_note_idx
int16_t ms_per_note
retroflat_ms_t next_note_at
uint8_t notes [][RETROSND_CHANNEL_CT_MAX]

Detailed Description

Simple tune designed to be played on the software synthesizer.

Requires retrosnd_tune_update() to be called at regular intervals.


The documentation for this struct was generated from the following file: