예제 #1
0
        private static void ReadWriteFileTest(String input, String output)
        {
            MidiFile mf = new MidiFile();

            mf.Import(input);
            mf.Export(output);
        }
예제 #2
0
        private static void ReadSplitWriteFileTest(String input, String output)
        {
            MidiFile midi = new MidiFile();

            midi.Import(input);
            midi.ConvertToMidiFilesByTrack(output);
            midi.ConvertToMidiFilesByRegionAndTrack(output);
        }
예제 #3
0
        private static void ReadFileTest(String pathAndFilename)
        {
            MidiFile mf = new MidiFile();

            mf.Import(pathAndFilename);
        }