home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1999 February / PCO_0299.ISO / filesbbs / linux / mikmod-3.000 / mikmod-3 / mikmod-3.1.2 / playercode / npertab.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-07  |  1.6 KB  |  44 lines

  1. /*    MikMod sound library
  2.     (c) 1998 Miodrag Vallat and others - see file AUTHORS for complete list
  3.  
  4.     This library is free software; you can redistribute it and/or modify
  5.     it under the terms of the GNU Library General Public License as
  6.     published by the Free Software Foundation; either version 2 of
  7.     the License, or (at your option) any later version.
  8.  
  9.     This program is distributed in the hope that it will be useful,
  10.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12.     GNU Library General Public License for more details.
  13.  
  14.     You should have received a copy of the GNU Library General Public
  15.     License along with this library; if not, write to the Free Software
  16.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17. */
  18.  
  19. /*==============================================================================
  20.  
  21.   $Id: npertab.c,v 1.12 1998/12/07 06:00:49 miod Exp $
  22.  
  23.   MOD format period table.  Used by both the MOD and M15 (15-inst mod) Loaders.
  24.  
  25. ==============================================================================*/
  26.  
  27. #ifdef HAVE_CONFIG_H
  28. #include "config.h"
  29. #endif
  30.  
  31. #include <mikmod_internals.h>
  32.  
  33. UWORD npertab[7*OCTAVE]={
  34.     /* -> Tuning 0 */
  35.     1712,1616,1524,1440,1356,1280,1208,1140,1076,1016, 960, 906,
  36.      856, 808, 762, 720, 678, 640, 604, 570, 538, 508, 480, 453,
  37.      428, 404, 381, 360, 339, 320, 302, 285, 269, 254, 240, 226,
  38.      214, 202, 190, 180, 170, 160, 151, 143, 135, 127, 120, 113,
  39.      107, 101,  95,  90,  85,  80,  75,  71,  67,  63,  60,  56,
  40.  
  41.       53,  50,  47,  45,  42,  40,  37,  35,  33,  31,  30,  28,
  42.       27,  25,  24,  22,  21,  20,  19,  18,  17,  16,  15,  14
  43. };
  44.