com.github.dakusui.symfonion.song
Class Stroke

java.lang.Object
  extended by com.github.dakusui.symfonion.song.Stroke

public class Stroke
extends Object


Constructor Summary
Stroke(com.google.gson.JsonElement cur, Pattern.Parameters params, NoteMap noteMap)
           
 
Method Summary
 void compile(MidiCompiler compiler, MidiCompiler.CompilerContext context)
           
 double gate()
           
 Fraction length()
           
 List<Note> notes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stroke

public Stroke(com.google.gson.JsonElement cur,
              Pattern.Parameters params,
              NoteMap noteMap)
       throws SymfonionException
Throws:
SymfonionException
Method Detail

length

public Fraction length()

gate

public double gate()

notes

public List<Note> notes()

compile

public void compile(MidiCompiler compiler,
                    MidiCompiler.CompilerContext context)
             throws InvalidMidiDataException
Throws:
InvalidMidiDataException


Copyright © 2013. All Rights Reserved.