-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfsynth.h
27 lines (20 loc) · 1015 Bytes
/
fsynth.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* fsynth.h
* header file for the Ncurses based fourier synth
* Jim Jackson <[email protected]> May 2008
*/
#include "config.h"
#define VERSTR "%s Ver. %s Ncurses based Fourier Waveform Synthesiser"
extern int vflg,dflg,vikeys;
extern char *sys;
extern char dac[]; /* name of output device */
extern int DAC;
extern unsigned int samplerate; /* Samples/sec */
extern unsigned int stereo; /* stereo mono */
extern unsigned int afmt; /* format for DSP */
extern int Bufspersec; /* Number of Buffers per sec */
extern int Nfragbufs; /* number of driver buffers */
extern int fragsize; /* size of driver buffer fragments */
extern int fragsamplesize; /* size of fragments in samples */
extern char wf[32]; /* waveform type */
extern unsigned int freq; /* signal frequency */
extern int channels; /* number of harmonics */