mix.h (948B)
1 /* 2 3 TiMidity -- Experimental MIDI to WAVE converter 4 Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi> 5 6 In case you haven't heard, this program is free software; 7 you can redistribute it and/or modify it under the terms of the 8 GNU General Public License as published by the Free Software 9 Foundation; either version 2 of the License, or (at your option) 10 any later version. 11 12 This program is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with this program; if not, write to the Free Software 19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 20 21 mix.h 22 23 */ 24 25 extern void mix_voice( int32_t *buf, int v, int32_t c); 26 extern int recompute_envelope(int v); 27 extern void apply_envelope_to_amp(int v);