サクラトップ 掲示板トップ ログイン

シーケンスエンジン(Sqr_engine.h) - サクラ曲掲示板6

曲掲示板6にエディタ機能が追加されました!気軽に曲を作成してみましょう!
庚申works

シーケンスエンジン(Sqr_engine.h)

MML先頭 2000 文字だけ表示していますダウンロード全文を見る
  1. //関数部---------//
  2.  
  3. // ※※ このスクリプトは構造化エディタ対応です。//
  4. // エンジンコントローラー
  5. //TrackName ={"コードコール ver0.60"}//
  6. //Copyright ={"庚申works"}//
  7.  
  8. //関数部---------//
  9. // Function {
  10.  
  11. //Function Apgptn( Int Part, Ptn(0)
  12. // Int Parthalf, Ptn(1)
  13. // Int Chd_typertn, Ptn(2)
  14. // Int Shift_keyrtn, Ptn(3)
  15. // Int Module_typertn, Ptn(4)
  16. // Int Master_keyrtn ){ Ptn(5)
  17.  
  18. // Chdcall( Ptn(2),
  19. // Ptn(3),
  20. // Ptn(4),
  21. // Ptn(5) );
  22. // 外のエンジンから呼び出している
  23.  
  24. //}
  25.  
  26.  
  27.  
  28. Function Chdcall( Array Ptn_type){ //コードタイプ
  29.  
  30. /*Function Chdcall( Int Chd_type, //コードタイプ
  31. Int Shift_key_type, //キー
  32. Int Module_type, //発音エンジン指定読み込み
  33. Int Master_key_type ){*/ //転調キー
  34.  
  35.  
  36. Int Chd_type =Ptn_type(0);
  37. Int Shift_key_type =Ptn_type(1);
  38. Int Module_type =Ptn_type(2);
  39. Int Master_key_type =Ptn_type(3);
  40. //---[初期設定]
  41.  
  42. Int Module_num_sw = Module_num; //モジュール選択
  43.  
  44. Int Chd_invert = 0; //コードヴォイシング選択
  45. //[0, 2:drop2, 3:drop3, 4:drop1&3, 5:drop2&3, 6:invert]
  46.  
  47. Int Btm_tmp = 0; //ヲンコード変換テンプ
  48. //Chd_typeの記述、117でCM7/D、1117でCM7/B
  49.  
  50. Int Chd_rev = 0; //コードリバースイッチ
  51. Int Rev_tmp = 0; //リバーステンプ
  52. Int Shift_sw= 0; //シフトスイッチ
  53.  
  54. Int Chd_type_btm =0;
  55.  
  56. // Array Elm_chd; //こちらでは初期化しない
  57. // Str Chd_str;
  58. // Int Master_key;
  59. // Int Shift_key;
  60. //コード指定
  61. IF(Chd_type<= -100){ //ドラムパターン
  62.  
  63. //[1]で鳴る、[0]は休符、[10]が続くとスラー、[ 2=> 8]でティドル、[-1=>-8]で裏打ちティドル
  64. //※[480/SizeOf(Bt_mrks)*2]の倍数を指定する、無理な指定は[Length_Error]が出力されます
  65.  
  66. // HH
  67. //[0]でClosed 、[2]でpedal、[4]でopen
  68.  
  69. //Cym
  70. // [0]でn49 CrashCymbal1、[2]でn51 RideCymbal1、[3]でn52 Chinese Cymbal1、
  71. // [6]でn55 Splash Cymbal、[8]でn57 Crash Cymbal 2、[10]でn59 Ride Cymbal 2
  72.  
  73.  
  74. //モジュール読み込み指定
  75. //A B Part
  76. IF(-119<= Chd_type & Chd_type<= -101){ Module_type= -101;} //バスドラ
  77. IF(-219<= Chd_type & Chd_type<= -201){ Module_type= -201;} //ハイハット
  78. IF(-319<= Chd_type & Chd_type<= -301){ Module_type= -301;} //スネア
  79. IF(-419<= Chd_type & Chd_t
作者からのコメント
下記のMMLに必要なシーケンスエンジンです。ダウンロードファイルを Sqr_engine.h とファイル名を書き換えて同じフォルダへ置いて下さい、でないと動きません。
作曲者
不明
ライセンス
🚫転載禁止商用利用 ×改変 ×作者に無断で使えません
転載
許可しない
ピコサクラ対応
未対応
ピコサクラバージョン
0.2.3
動画
なし
投稿日時
2011-11-21 11:12
更新日時
2011-11-21 15:04
お気に入り
(^o^)/
ダウンロード数
528
タグ
タグはありません。
→この曲(id:751)に問題がある場合こちらへ

感謝のコメント

感謝のコメント募集中です!!
この曲に「ありがとう」を伝えませんか?
ひとことの感想が、作った人にとって何よりの励みになります。
定型文のボタンもあるので、キーボードが苦手でも大丈夫です。