Exemplo n.º 1
0
        public async Task Create()
        {
            var bytes = await File.ReadAllBytesAsync("../../../test.gp3");

            var gpfile = GP.Create("test.gp3", bytes);

            Assert.NotNull(gpfile);
        }
Exemplo n.º 2
0
        public async Task CreateMidi()
        {
            var bytes = await File.ReadAllBytesAsync("../../../test.gp3");

            var gpfile = GP.Create("test.gp3", bytes);
            var song   = new NativeFormat(gpfile);
            var midi   = song.toMidi();

            Assert.NotNull(midi);
        }