3 various software synths and samples
5 Copyright (C) 2009 Evan Rinehart
7 This software comes with no warranty.
8 1. This software can be used for any purpose, good or evil.
9 2. Modifications must retain this license, at least in spirit.
12 #define SAMPLE_RATE 44100
13 #define PI 3.1415926535897931
23 typedef void (*mix_callback
)(void* data
, float out
[], int count
);
24 typedef void (*control_callback
)(void* data
, int type
, int val1
, int val2
, int val
);
25 typedef void (*cleanup_callback
)(void* data
);
29 control_callback control
;
30 cleanup_callback cleanup
;
34 enum instrument_name
{
41 instrument
load_instrument(enum instrument_name name
);