home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 3 / FREEWARE.BIN / towns_os / taropyon / music / comp04 / comp04.h next >
C/C++ Source or Header  |  1980-01-02  |  6KB  |  214 lines

  1. .mmltype    fb386
  2. .fm            fmtone2
  3. .pcm        ensam07
  4. .nulline    skip
  5. .partmax    13
  6. /*
  7. #define    TEMPO    t210    /* あいかわらず忙しいテンポである    */
  8. #define    TEMPO2    t207
  9. /*
  10. /*    パート設定
  11. /*
  12. .part     0     0    /* Melody    [FM]            (1)
  13. .part     1     0    /* Melody    [LFO用]
  14. .part     2     1    /* Melody    [FM]            (1)
  15. .part     3     2    /* Backing    [FM]            (1)
  16. .part     4     3    /* Backing    [FM]            (1)
  17. .part     5     4    /* Bass        [FM]            (1)    ギターのあつみを出すのに
  18. .part     6     5    /* Bass        [FM]            (1)    4音も使っちまったぜ
  19. .part     7     6    /* Bass        [PCM]            (1)
  20. .part     8     7    /* Bass        [PCM]            (1)
  21. .part     9     8    /* Drums Clash Symbal        (1)
  22. .part    10     9    /* Drums Hi-Hat                (1)
  23. .part    11    10    /* Drums Snare | Tom.Tom.    (2)
  24. .part    12    11    /* Drums Bass | etc.        (2)
  25. /*
  26. .fmch    0:0        1:1        2:2        3:3        4:4        5:5
  27. .pcmch    0:6        1:7        2:8        3:9
  28. .pcmch    4:10    5:10    6:11    7:11
  29. /*
  30. /*    ノートアサイン
  31. /*
  32. .noteasn    0    bnd    0-127:-56
  33. .noteasn    1    bnd    0-127:+56
  34. .noteasn    2    bnd    0-127:-64
  35. .noteasn    3    bnd    0-127:+64
  36. .noteasn    4    bnd    0-127:+20
  37. .noteasn    5    bnd    0-127:0
  38. .noteasn    6    bnd    0-127:+8
  39. .noteasn    7    bnd    0-127:-20
  40. /*
  41. .noteasn    4    vel    0-127:3
  42. .noteasn    5    vel    0-127:-34
  43. .noteasn    6    vel    0-127:0
  44. .noteasn    7    vel    0-127:-10
  45. /*
  46. /*
  47. /*************************************************************
  48. /*
  49. /*    音色設定
  50. /*
  51. #define    T_MELA    %d%0 @14%c0        /* メロディ
  52. #define      MELA    o4v#92,127q8u0
  53. #define    T_MELB    %d%30@14%c0
  54. #define      MELB    o4v#82,127q8u0
  55.  
  56. #define    T_MELC    %d%0  @73%c0    /* PSG すぐにコレに頼ってしまう…    */
  57. #define      MELC    o5v#88,127q4u0
  58. #define    T_MELD    %d%57 @79%c-8    /* でもPSG っていい味だすンだよなぁ    */
  59. #define      MELD    o5v#82,127q8u0
  60.  
  61. #define    T_SYNTH    @78%c0            /* シンセ・フルート    */
  62. #define      SYNTH    o4v#91q8u0
  63.  
  64. #define    T_BACA    @6%c            /* エレピ [PCM]    */
  65. #define      BACA    o4@v80q8u0
  66.  
  67. #define    T_BACB    @1%c            /* ピアノ [FM]    */
  68. #define      BACB    o4@v74q8u0
  69.  
  70. #define    T_BACC    @74%c            /* シンセ・クラリネット [FM]    */
  71. #define      BACC    o4@v69q8u0
  72.  
  73. #define    T_BASFM    @50%c0            /* ディストーション・ギター [FM]    */
  74. #define      BASFM    o2@v82q8u0
  75.  
  76. #define    T_BASS    @3%c+4            /* ギターベース [PCM]    */
  77. #define      BASS    o3@v50q#94u0
  78.  
  79. /*
  80. /*    PCM 音色メモ    for "ensam07.pmb"
  81. /*
  82. /*    @1    DRUMS_A    o1    バスドラム                (f±3)
  83. /*                o2    スネアドラム            (f±1)
  84. /*                o3    タムタム                (c~b)
  85. /*                o4    シェーカー                (f±2)
  86. /*                o6    クラッシュシンバル        (f±1)
  87. /*                o6    オープンド・ハイハット    (b   )
  88. /*                o7    クローズド・ハイハット    (c   )
  89. /*                o8    ライドシンバル            (c±2)
  90. /*    @2    DRUMS_B    基本的にはAと同じ
  91. /*                o8    はカウベル
  92. /*    @3    GUITAR        ディストーション・ギター(o2~o3)
  93. /*    @4    SlapBass    スラップベース(o2~o3。o3でも高音にいくとはずれる)
  94. /*
  95.  
  96. /*
  97. /*    ドラムス音程定義
  98. /*
  99. /* #define    MIDI    MIDIを使うときに定義してねン
  100. #ifdef    MIDI
  101. /*
  102. /*    リズムパートはMIDIにまかせるのよン♪
  103. /*
  104. .    part     9     8
  105. .    part    10     8
  106. .    part    11     8
  107. .    part    12     8
  108. .    trkport        8:MIDI_A
  109. .    trkch        8:10    /* 楽器側のMIDIチャンネルは1を足して“11”になる */
  110. /*                  ↑
  111. /*     RolandのMT-32/CM-64とかなら9(MIDI ch.10)を指定すればいいンだけど…。
  112. /*    ノート番号は自分で合わせてネ(この設定はYAMAHA のに合わせてあるから)。
  113. /*
  114. #    define    DRUMS    q8u0
  115. #    define    DRUMS_B    q8u0
  116. #    define    T_BSD    o2@v110    /* バスドラム    */
  117. #    define     BSD    c
  118. #    define    T_SNR    o6@v90    /* スネアドラム    */
  119. #    define      SNR    c
  120. #    define      SNR4    $SNR(4)
  121. #    define      SNR8    $SNR(8)
  122. #    define      SNR16    $SNR(16)
  123. #    define      SNR_N $SNR
  124. #    define    T_CLS    o4@v104    /* クラッシュシンバル    */
  125. #    define      CLS    c
  126. #    define    T_RID    o4@v100    /* ライドシンバル    */
  127. #    define      RID    d
  128. #    define    T_TT     o6@v99    /*    タムタム    */
  129. #    define      TT1    a
  130. #    define      TT2    a-
  131. #    define      TT3    g
  132. #    define      TT4    g-
  133. #    define      TM1    $TT1
  134. #    define      TM2    $TT2
  135. #    define      TM3    $TT3
  136. #    define      TM4    $TT4
  137. #    define    T_HH    o3@v80    /* ハイハット    */
  138. #    define      CHH    a        /* クローズド    */
  139. #    define      OHH    b        /* オープンド    */
  140. #    define    T_BRS    o3@v50    /* シェーカ        */
  141. #    define      BRS    g+
  142. /*
  143. /*    (MIDIでやると楽でいいんだよなぁ~)
  144. /*
  145. #else
  146. #define DRUMS    @1q8u0
  147. #define DRUMS_B    @2q8u0
  148. #define T_BSD    o1@v80%c    /*    バスドラム    */
  149. #define   BSD    f
  150. #define T_SNR    o2@v85        /* スネアドラム    */
  151. #define   SNR    {%c '#150f-[#32 %c-1f&f&%c-2f&f&%c-3f&f&%c-4f]#32}
  152. #define   SNR4    %c0'#160 e-%16,50 %l+1[#28e%80,86]#28
  153. #define   SNR8    %c0'#160 e-%16,50 %l+1[#28e%32,38]#28
  154. #define   SNR16    %c0'#160 e-%16,50 %l+1[#28e% 8,14]#28
  155. #define   SNR_N %l1'#160 e
  156. #define T_CLS   o6@v110        /* クラッシュシンバル    */
  157. #define   CLS    f-
  158. #define T_RID    @1o8@v58%l5    /* ライドシンバル    */
  159. #define   RID   c
  160. #define T_TT     o3@v88        /*    タムタム    */
  161. #define   TT1    {%c0 '#140b- [#38%l+1b& b& %l+1b& b& %l+1b& b& b ]#38}
  162. #define   TT2    {%l4 '#140a- [#38%l+1a& a& %l+1a& a& %l+1a& a& a ]#38}
  163. #define   TT3    {%l10 '#140f  [#38%l+1g-&g-&%l+1g-&g-&%l+1g-&g-&g-]#38}
  164. #define   TT4    {%l13'#140c  [#38%l+1d-&d-&%l+1d-&d-&%l+1d-&d-&d-]#38}
  165. #define   TM1    %r1 '#150b-
  166. #define   TM2    %l3 '#150a-
  167. #define   TM3    %l7 '#150f 
  168. #define   TM4    %l12'#150d 
  169. #define T_HH    o7@v127%r2q8    /*    ハイハット    */
  170. #define   CHH    c
  171. #define   OHH    c-
  172. #define    T_BRS    o4@v47%c+11q8    /* シェーカー    */
  173. #define      BRS    f
  174. #endif
  175. /*
  176. /*    ソフトウェアLFO (トレモロ…。ちゃんときいてんのかね?)
  177. /*
  178. /*    これ使うとデータサイズは大爆発します。
  179. /*
  180. #define    MEL_LFO    $wave(@c7/,r,48,48,,sin,115,12,45)
  181. /#define    MEL_LFO    r1
  182. /*
  183. /*    ベースパターン
  184. /*
  185. #define    BsG_01    l8gggg]#2b-4.>]#3c4&    /* Gm    */
  186. #define    BsG_02    c[#5<gr]#2b-g4g[#2
  187.  
  188. #define    BsF_01    l8ffff]#2f4.]#3a&        /*    F    */
  189. #define    BsF_02    a4[#5fraf4f
  190. #define    BsF_03    a4[#5frffrg&
  191. #define    BsF_04    a4[#5frffr4
  192.  
  193. /*
  194. /*    ドラムスパターン
  195. /*
  196. #define    DD_01    l8$T_BRS ($BRS)4 r2
  197. #define    DD_02    l8r4.$T_CLS [#30$CLS(&)$CLS    ]#30r r $CLS(&)
  198. #define    DD_03    l8$T_BRS$BRS$BRS r4 $BRS$BRS r4
  199. #define    DD_04    l8$T_BRS$BRS$BRS r$T_CLS[#30$CLS(&)$CLS]#30rr%d%47$CLS(&)%d%0
  200.  
  201. #define    DA_01    l8$T_HH ($OHH)4 ($CHH)4
  202. #define    DA_02    l8$T_HH ($CHH)8
  203. #define    DA_03    l8$T_TT ($CHH)4 $CHH $OHH & $OHH r
  204. #define    DA_04    l8$T_HH $CHH $CHH r4 $CHH$CHH r4
  205.  
  206. #define    DB_01    l8$T_TT ($TT2)4 r4 $T_SNR $SNR4
  207. #define    DB_02    $T_SNR r4 $SNR4 r4 $SNR4
  208.  
  209. #define    DC_01    l8$T_BSD [#12($BSD)4$BSD(4)]#12r4
  210. #define    DC_02    l8$T_BSD $BSD(4) r4 $BSD$BSD r4
  211. #define    DC_03    l8$T_BSD $BSD$BSD r4 $BSD$BSD r4
  212.  
  213. /*
  214.