uk.org.toot.control.automation
Class MidiFileSnapshotAutomation

java.lang.Object
  extended by uk.org.toot.control.automation.MidiFileSnapshotAutomation
All Implemented Interfaces:
SnapshotAutomation

public class MidiFileSnapshotAutomation
extends java.lang.Object
implements SnapshotAutomation

Implements the snapshot automation API in terms of standard midi files.

Author:
st

Constructor Summary
MidiFileSnapshotAutomation(MidiSequenceSnapshotAutomation auto, java.lang.String ext)
           
 
Method Summary
 void configure(java.lang.String name)
          Modify the controls structure to suit the named snapshot.
 java.lang.String[] list()
          List stored snapshot names.
 void recall(java.lang.String name)
          Recall a controls snapshot.
 void setPath(java.io.File path)
           
 void store(java.lang.String name)
          Store a controls snapshot.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MidiFileSnapshotAutomation

public MidiFileSnapshotAutomation(MidiSequenceSnapshotAutomation auto,
                                  java.lang.String ext)
Method Detail

setPath

public void setPath(java.io.File path)

configure

public void configure(java.lang.String name)
Description copied from interface: SnapshotAutomation
Modify the controls structure to suit the named snapshot. Not intended for use by user snapshots, just project snapshots. Intended to be called prior to recall() for project snapshots.

Specified by:
configure in interface SnapshotAutomation

recall

public void recall(java.lang.String name)
Description copied from interface: SnapshotAutomation
Recall a controls snapshot. Does not modify the controls structure, use configure() to do that.

Specified by:
recall in interface SnapshotAutomation

store

public void store(java.lang.String name)
Description copied from interface: SnapshotAutomation
Store a controls snapshot.

Specified by:
store in interface SnapshotAutomation

list

public java.lang.String[] list()
Description copied from interface: SnapshotAutomation
List stored snapshot names.

Specified by:
list in interface SnapshotAutomation
Returns:
an array of name Strings


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.