com.github.dakusui.symfonion.song
Class Groove

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

public class Groove
extends Object


Nested Class Summary
static class Groove.Unit
           
 
Field Summary
static Groove DEFAULT_INSTANCE
           
 
Constructor Summary
Groove()
           
Groove(int resolution)
           
 
Method Summary
 void add(Fraction length, long ticks, int accent)
           
static Groove createGroove(String grooveName, com.google.gson.JsonArray grooveDef, Song song)
           
 Groove.Unit resolve(Fraction offset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_INSTANCE

public static final Groove DEFAULT_INSTANCE
Constructor Detail

Groove

public Groove()

Groove

public Groove(int resolution)
Method Detail

resolve

public Groove.Unit resolve(Fraction offset)

add

public void add(Fraction length,
                long ticks,
                int accent)

createGroove

public static Groove createGroove(String grooveName,
                                  com.google.gson.JsonArray grooveDef,
                                  Song song)
                           throws SymfonionException
Throws:
SymfonionException


Copyright © 2013. All Rights Reserved.