1 /*----------------------------------------------------------------------------
2 ChucK Concurrent, On-the-fly Audio Programming Language
3 Compiler and Virtual Machine
5 Copyright (c) 2004 Ge Wang and Perry R. Cook. All rights reserved.
6 http://chuck.cs.princeton.edu/
7 http://soundlab.cs.princeton.edu/
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
23 -----------------------------------------------------------------------------*/
25 //-----------------------------------------------------------------------------
27 // desc: raw waves from STK
29 // author: Ge Wang (gewang@cs.princeton.edu)
30 // Perry R. Cook (prc@cs.princeton.edu)
32 //-----------------------------------------------------------------------------
33 #ifndef __UTIL_RAW_H__
34 #define __UTIL_RAW_H__
36 #include "chuck_def.h"
39 #if defined(_cplusplus) || defined(__cplusplus)
43 // begin the abuse of memory
44 extern SAMPLE ahh_data
[];
45 extern SAMPLE britestk_data
[];
46 extern SAMPLE dope_data
[];
47 extern SAMPLE eee_data
[];
48 extern SAMPLE fwavblnk_data
[];
49 extern SAMPLE halfwave_data
[];
50 extern SAMPLE impuls10_data
[];
51 extern SAMPLE impuls20_data
[];
52 extern SAMPLE impuls40_data
[];
53 extern SAMPLE mand1_data
[];
54 extern SAMPLE mandpluk_data
[];
55 extern SAMPLE marmstk1_data
[];
56 extern SAMPLE ooo_data
[];
57 extern SAMPLE peksblnk_data
[];
58 extern SAMPLE ppksblnk_data
[];
59 extern SAMPLE silence_data
[];
60 extern SAMPLE sineblnk_data
[];
61 extern SAMPLE sinewave_data
[];
62 extern SAMPLE snglpeak_data
[];
63 extern SAMPLE twopeaks_data
[];
64 extern SAMPLE glot_ahh_data
[];
65 extern SAMPLE glot_eee_data
[];
66 extern SAMPLE glot_ooo_data
[];
67 extern SAMPLE glot_pop_data
[];
69 extern t_CKUINT ahh_size
;
70 extern t_CKUINT britestk_size
;
71 extern t_CKUINT dope_size
;
72 extern t_CKUINT eee_size
;
73 extern t_CKUINT fwavblnk_size
;
74 extern t_CKUINT halfwave_size
;
75 extern t_CKUINT impuls10_size
;
76 extern t_CKUINT impuls20_size
;
77 extern t_CKUINT impuls40_size
;
78 extern t_CKUINT mand1_size
;
79 extern t_CKUINT mandpluk_size
;
80 extern t_CKUINT marmstk1_size
;
81 extern t_CKUINT ooo_size
;
82 extern t_CKUINT peksblnk_size
;
83 extern t_CKUINT ppksblnk_size
;
84 extern t_CKUINT silence_size
;
85 extern t_CKUINT sineblnk_size
;
86 extern t_CKUINT sinewave_size
;
87 extern t_CKUINT snglpeak_size
;
88 extern t_CKUINT twopeaks_size
;
89 extern t_CKUINT glot_ahh_size
;
90 extern t_CKUINT glot_eee_size
;
91 extern t_CKUINT glot_ooo_size
;
92 extern t_CKUINT glot_pop_size
;
95 #if defined(_cplusplus) || defined(__cplusplus)