SSBM Decomp
Loading...
Searching...
No Matches
__syn.h File Reference
#include <dolphin/syn.h>

Go to the source code of this file.

Functions

void __SYNClearAllNotes (struct SYNSYNTH *synth)
void __SYNSetController (struct SYNSYNTH *synth, u8 midiChannel, u8 function, u8 value)
void __SYNResetController0 (struct SYNSYNTH *synth, u8 midiChannel)
void __SYNResetController (struct SYNSYNTH *synth, u8 midiChannel)
void __SYNResetAllControllers (struct SYNSYNTH *synth)
void __SYNRunInputBufferEvents (struct SYNSYNTH *synth)
s32 __SYNGetEnvelopeTime (s32 scale, s32 mod, u8 key)
void __SYNSetupVolumeEnvelope (struct SYNVOICE *voice)
void __SYNSetupPitchEnvelope (struct SYNVOICE *voice)
void __SYNRunVolumeEnvelope (struct SYNVOICE *voice)
void __SYNRunPitchEnvelope (struct SYNVOICE *voice)
void __SYNSetupLfo (struct SYNVOICE *voice)
void __SYNRunLfo (struct SYNVOICE *voice)
void __SYNSetupVolume (struct SYNVOICE *voice)
void __SYNSetupPan (struct SYNVOICE *voice)
long __SYNGetVoiceInput (struct SYNVOICE *voice)
long __SYNGetVoiceFader (struct SYNVOICE *voice)
void __SYNUpdateMix (struct SYNVOICE *voice)
float __SYNGetRelativePitch (struct SYNVOICE *voice)
void __SYNSetupPitch (struct SYNVOICE *voice)
void __SYNSetupSrc (struct SYNVOICE *voice)
void __SYNUpdateSrc (struct SYNVOICE *voice)
void __SYNSetupSample (struct SYNVOICE *voice)
void __SYNClearVoiceReferences (void *p)
void __SYNSetVoiceToRelease (struct SYNVOICE *voice, unsigned long priority)
void __SYNServiceVoice (int i)
int __SYNGetWavetableData (struct SYNVOICE *voice)

Variables

struct SYNSYNTH__SYNSynthList
float __SYNn128 [128]
long __SYNVolumeAttenuation [128]
long __SYNAttackAttnTable [100]
struct SYNVOICE __SYNVoice [64]

Function Documentation

◆ __SYNClearAllNotes()

void __SYNClearAllNotes ( struct SYNSYNTH * synth)

◆ __SYNSetController()

void __SYNSetController ( struct SYNSYNTH * synth,
u8 midiChannel,
u8 function,
u8 value )

◆ __SYNResetController0()

void __SYNResetController0 ( struct SYNSYNTH * synth,
u8 midiChannel )

◆ __SYNResetController()

void __SYNResetController ( struct SYNSYNTH * synth,
u8 midiChannel )

◆ __SYNResetAllControllers()

void __SYNResetAllControllers ( struct SYNSYNTH * synth)

◆ __SYNRunInputBufferEvents()

void __SYNRunInputBufferEvents ( struct SYNSYNTH * synth)

◆ __SYNGetEnvelopeTime()

s32 __SYNGetEnvelopeTime ( s32 scale,
s32 mod,
u8 key )

◆ __SYNSetupVolumeEnvelope()

void __SYNSetupVolumeEnvelope ( struct SYNVOICE * voice)

◆ __SYNSetupPitchEnvelope()

void __SYNSetupPitchEnvelope ( struct SYNVOICE * voice)

◆ __SYNRunVolumeEnvelope()

void __SYNRunVolumeEnvelope ( struct SYNVOICE * voice)

◆ __SYNRunPitchEnvelope()

void __SYNRunPitchEnvelope ( struct SYNVOICE * voice)

◆ __SYNSetupLfo()

void __SYNSetupLfo ( struct SYNVOICE * voice)

◆ __SYNRunLfo()

void __SYNRunLfo ( struct SYNVOICE * voice)

◆ __SYNSetupVolume()

void __SYNSetupVolume ( struct SYNVOICE * voice)

◆ __SYNSetupPan()

void __SYNSetupPan ( struct SYNVOICE * voice)

◆ __SYNGetVoiceInput()

long __SYNGetVoiceInput ( struct SYNVOICE * voice)

◆ __SYNGetVoiceFader()

long __SYNGetVoiceFader ( struct SYNVOICE * voice)

◆ __SYNUpdateMix()

void __SYNUpdateMix ( struct SYNVOICE * voice)

◆ __SYNGetRelativePitch()

float __SYNGetRelativePitch ( struct SYNVOICE * voice)

◆ __SYNSetupPitch()

void __SYNSetupPitch ( struct SYNVOICE * voice)

◆ __SYNSetupSrc()

void __SYNSetupSrc ( struct SYNVOICE * voice)

◆ __SYNUpdateSrc()

void __SYNUpdateSrc ( struct SYNVOICE * voice)

◆ __SYNSetupSample()

void __SYNSetupSample ( struct SYNVOICE * voice)

◆ __SYNClearVoiceReferences()

void __SYNClearVoiceReferences ( void * p)

◆ __SYNSetVoiceToRelease()

void __SYNSetVoiceToRelease ( struct SYNVOICE * voice,
unsigned long priority )

◆ __SYNServiceVoice()

void __SYNServiceVoice ( int i)

◆ __SYNGetWavetableData()

int __SYNGetWavetableData ( struct SYNVOICE * voice)

Variable Documentation

◆ __SYNSynthList

struct SYNSYNTH* __SYNSynthList
extern

◆ __SYNn128

float __SYNn128[128]
extern

◆ __SYNVolumeAttenuation

long __SYNVolumeAttenuation[128]
extern

◆ __SYNAttackAttnTable

long __SYNAttackAttnTable[100]
extern

◆ __SYNVoice

struct SYNVOICE __SYNVoice[64]
extern