Package at.ofai.music.worm
Class WormFile
- java.lang.Object
-
- at.ofai.music.worm.WormFile
-
public class WormFile extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field and Description static int
BAR
static int
BEAT
static double
defaultFramePeriod
static int
SEG1
static int
SEG2
static int
SEG3
static int
SEG4
static int
TRACK
-
Constructor Summary
Constructors Constructor and Description WormFile(int size)
WormFile(int size, double step)
WormFile(EventList el, double step)
WormFile(Worm w, EventList el)
WormFile(Worm w, java.lang.String fileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
convertList(EventList el)
void
editParameters()
void
init()
void
read(java.lang.String fileName)
void
smooth(int mode, double left, double right, int smoothLevel)
void
update()
void
write(java.lang.String fileName)
-
-
-
Field Detail
-
BAR
public static final int BAR
- See Also:
- Constant Field Values
-
BEAT
public static final int BEAT
- See Also:
- Constant Field Values
-
defaultFramePeriod
public static final double defaultFramePeriod
- See Also:
- Constant Field Values
-
SEG1
public static final int SEG1
- See Also:
- Constant Field Values
-
SEG2
public static final int SEG2
- See Also:
- Constant Field Values
-
SEG3
public static final int SEG3
- See Also:
- Constant Field Values
-
SEG4
public static final int SEG4
- See Also:
- Constant Field Values
-
TRACK
public static final int TRACK
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WormFile
public WormFile(int size)
-
WormFile
public WormFile(int size, double step)
-
WormFile
public WormFile(EventList el, double step)
-
WormFile
public WormFile(Worm w, java.lang.String fileName)
-
-
Method Detail
-
init
public void init()
-
smooth
public void smooth(int mode, double left, double right, int smoothLevel)
-
editParameters
public void editParameters()
-
update
public void update()
-
convertList
public void convertList(EventList el)
-
write
public void write(java.lang.String fileName)
-
read
public void read(java.lang.String fileName)
-
-