libmsx
C library for MSX
Loading...
Searching...
No Matches
sound_eg.h File Reference

Software envelope genenator interface for sound.h. More...

#include <stdbool.h>
#include <stdint.h>
+ Include dependency graph for sound_eg.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sound_eg_AHDSR
 Parameters for AHDSR envelope generator. More...
 
struct  sound_eg_LPCM
 Parameters for linear PCM (8-bit, 60Hz) envelope generator. More...
 
struct  sound_eg_attribute
 Attributes of a software envelope generator object. More...
 
union  sound_eg_attribute.__unnamed3__
 

Macros

#define SOUND_EG_H
 
#define SOUND_EG_TABLE_MAX   (16)
 The maximum number of elements for the envelope generator attribute table.
 
#define SOUND_EG_AHDSR   (0)
 The class identifier for AHDSR envelope generator.
 
#define SOUND_EG_LPCM   (1)
 The class identifier for LPCM envelope generator.
 

Functions

void sound_set_eg_table (const struct sound_eg_attribute *table)
 MSX (Re)set the software envelope generator attribute table.
 

Detailed Description

Software envelope genenator interface for sound.h.

Note
This is old and no longer maintained.

Definition in file sound_eg.h.

Macro Definition Documentation

◆ SOUND_EG_H

#define SOUND_EG_H

Definition at line 21 of file sound_eg.h.