summaryrefslogblamecommitdiffstats
path: root/src/gen.h
blob: 64de944f8fdd0d71b8cd0a45e77fcb115d820d64 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                         
#ifndef GEN_H
#define GEN_H

#include "synth_engine.h"
  
typedef struct {
  osc_t ** osc;
  int osci;
  osc_t ** lfo;
  int lfoi;
  adsr_t ** asdr;
  int adsri;
} gen_t;

float gen(synth_t * synth, midi_note_t * note, osc_t * osc, sample_rate);
  
#endif /* GEN_H */