Пример #1
0
 public static SmfMusic Generate(MmlResolvedMusic source)
 {
     var gen = new MmlSmfGenerator (source);
     gen.GenerateSong ();
     return gen.result;
 }
Пример #2
0
 MmlEventStreamGenerator(MmlSemanticTreeSet source)
 {
     this.source = source;
     result = new MmlResolvedMusic () { BaseCount = source.BaseCount };
 }
Пример #3
0
 MmlSmfGenerator(MmlResolvedMusic source)
 {
     this.source = source;
     result = new SmfMusic () { DeltaTimeSpec = (short) (source.BaseCount / 4) };
 }