EbiseLutica / GroorineCore

Groorine port to .NET Standard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GroorineCore

A port of Groorine to .NET Standard 2.0

Example

using System.IO;
using Groorine;
using Groorine.DataModel;

// Load MIDI File
var smf = File.OpenRead("/path/to/midi.mid");
var data = SmfParser.Parse(smf);

// Play loaded file
var player = new Player();
player.Load(data);
player.Play();

// Create buffer of music
var buf = player.CreateBuffer(200);

while (player.IsPlaying)
{
    player.GetBuffer(buf);
    // use buf to output audio (implement platform-specificly)
}

LICENSE

MIT

About

Groorine port to .NET Standard

License:MIT License


Languages

Language:C# 100.0%