コード例 #1
0
 public void Initialize()
 {
     //audio
     audioEngine = new AudioEngine("Content/noDrums.xgs");
     waveBank    = new WaveBank(audioEngine, "Content/Wave Bank.xwb");
     soundBank   = new SoundBank(audioEngine, "Content/Sound Bank.xsb");
     //drumPlayer = new DrumPlayer(audioEngine);
     melodyPlayer = new MelodyPlayer(audioEngine);
 }
コード例 #2
0
ファイル: AudioEnginev1.cs プロジェクト: maest/AudioEngine
 public void Initialize()
 {
     //audio
     audioEngine = new AudioEngine("Content/noDrums.xgs");
     waveBank = new WaveBank(audioEngine, "Content/Wave Bank.xwb");
     soundBank = new SoundBank(audioEngine, "Content/Sound Bank.xsb");
     //drumPlayer = new DrumPlayer(audioEngine);
     melodyPlayer = new MelodyPlayer(audioEngine);
 }