home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.lbl.gov / 2014.05.ftp.ee.lbl.gov.tar / ftp.ee.lbl.gov / bmd-1.0beta.tar.Z / bmd-1.0beta.tar / bmd-1.0beta / app / omtd / setting.h < prev    next >
C/C++ Source or Header  |  1991-01-22  |  1KB  |  44 lines

  1. /*
  2.  * Copyright (c) 1990 Regents of the University of California.
  3.  * All rights reserved.
  4.  *
  5.  * Redistribution and use in source and binary forms are permitted
  6.  * provided that the above copyright notice and this paragraph are
  7.  * duplicated in all such forms and that any documentation,
  8.  * advertising materials, and other materials related to such
  9.  * distribution and use acknowledge that the software was developed
  10.  * by the University of California, Lawrence Berkeley Laboratory,
  11.  * Berkeley, CA.  The name of the University may not be used to
  12.  * endorse or promote products derived from this software without
  13.  * specific prior written permission.
  14.  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  15.  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  16.  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  17.  */
  18. struct click {
  19.     int click_len;
  20.     int click_veloc;
  21.     int click_chan;
  22.     int click_note;
  23.     int click_accbeat;
  24. };
  25.  
  26. struct setting {
  27.     u_long start;
  28.     u_long end;
  29.     int echo_channel;
  30. /*    int lead_in; */
  31.     struct pt_list *tempo;
  32.     u_long ticks_per_beat;
  33.     u_long beats_per_bar;    /* XXX */
  34.     struct click click;
  35. };
  36.  
  37. extern struct setting s;
  38.  
  39.  
  40.  
  41. /* XXX */
  42. #define BASETEMPO 120
  43.  
  44.