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 PI 3.1415926535897931
22 typedef void (*mix_callback
)(void* data
, float out
[], int count
);
23 typedef void (*control_callback
)(void* data
, int type
, int val1
, int val2
, int val
);
24 typedef void (*cleanup_callback
)(void* data
);
28 control_callback control
;
29 cleanup_callback cleanup
;
33 enum instrument_name
{
41 instrument
orc_load(enum instrument_name name
);
42 void orc_init(int sample_rate
);