00001 /* 00002 00003 TiMidity -- Experimental MIDI to WAVE converter 00004 Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi> 00005 00006 In case you haven't heard, this program is free software; 00007 you can redistribute it and/or modify it under the terms of the 00008 GNU General Public License as published by the Free Software 00009 Foundation; either version 2 of the License, or (at your option) 00010 any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program; if not, write to the Free Software 00019 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00020 00021 mix.h 00022 00023 */ 00024 00025 #ifdef USE_TIMIDITY_MIDI 00026 00027 #ifndef TIMIDITY_MIX_H_INCLUDED 00028 #define TIMIDITY_MIX_H_INCLUDED 00029 00030 #include "timidity.h" 00031 00032 00033 #ifdef NS_TIMIDITY 00034 namespace NS_TIMIDITY { 00035 #endif 00036 00037 extern void mix_voice(sint32 *buf, int v, sint32 c); 00038 extern int recompute_envelope(int v); 00039 extern void apply_envelope_to_amp(int v); 00040 00041 #ifdef NS_TIMIDITY 00042 }; 00043 #endif 00044 00045 #endif 00046 00047 #endif //USE_TIMIDITY_MIDI