1 /* 2 csbeats.h: 3 4 Copyright (C) 2012 John ffitch, 5 6 This file is part of Csound. 7 8 The Csound Library is free software; you can redistribute it 9 and/or modify it under the terms of the GNU Lesser General Public 10 License as published by the Free Software Foundation; either 11 version 2.1 of the License, or (at your option) any later version. 12 13 Csound is distributed in the hope that it will be useful, 14 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 GNU Lesser General Public License for more details. 17 18 You should have received a copy of the GNU Lesser General Public 19 License along with Csound; if not, write to the Free Software 20 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 21 02110-1301 USA 22 */ 23 24 25 typedef struct instr { 26 struct instr *next; 27 int n; /* self referencial */ 28 int largest; 29 double *p; 30 } INSTR; 31 32 extern INSTR *instr; 33 extern int yyline; 34 extern int last_note; 35 extern int last_integer; 36 extern double last_duration; 37 extern double bpm; 38 extern int permeasure; 39 extern int yydebug; 40 extern int yyparse(void); 41 extern void print_instr_structure(void); 42 extern INSTR *find_instr(int); 43 44 45