forked from XAYRGA/JAIMaker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Root.cs
48 lines (42 loc) · 1.26 KB
/
Root.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using JaiSeqX.JAI;
using JaiSeqX.JAI.Types;
using JaiSeqX.JAI.Types.WSYS;
using JaiSeqX.Player;
using JaiSeqX.Player.BassBuff;
namespace JaiMaker
{
static class Root
{
/// <summary>
/// The main entry point for the application.
/// </summary>
///
public static AABase g_AAF;
public static WaveSystem[] allWSYS;
public static InstrumentBank currentBank;
public static Instrument currentProg;
public static int ProgNumber;
public static int currentVel = 125;
public static int keyOffset = 34;
public static int[] instrumentBanks = new int[1024];
public static int[] programs = new int[1024];
public static int Tempo = 120;
[STAThread]
static void Main()
{
//MidiToBMS.doToBMS();
Engine.Init(); // Start audio engine.
Keyboard.init();
// Visualizer.Init();
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new RootWindow());
//*/
}
}
}