Sketch Class Reference
[Sketch class]

#include <Sketch.hh>

Inheritance diagram for Sketch:
PageContainer ArpeggiatorSketch AutoMidiControllerSketch LeoSketch MDEuclidRandomizeSketch MDNotesRecordSketch MDPatternEuclidSketch MDPitchEuclidSketch MDRandomizeSketch MDWesenLivePatchSketch MelodyHelperSketch MNMPatternEuclidSketch MNMWesenLivePatchSketch PitchEuclidSketch

List of all members.

Public Member Functions

 Sketch (char *_name=NULL)
virtual void setupMonster (bool _monster)
bool isVisible ()
virtual void setup ()
virtual bool handleEvent (gui_event_t *event)
bool handleTopEvent (gui_event_t *event)
virtual void loop ()
virtual void destroy ()
virtual void show ()
virtual void hide ()
virtual void doExtra (bool pressed)
virtual void mute (bool pressed)
virtual PagegetPage (uint8_t i)
virtual void getName (char *n1, char *n2)

Public Attributes

char * name
bool muted
bool monster

Detailed Description

The standard Sketch class, which is a PageContainer. This is used as the default parent class for individual "firmwares". Basically a Sketch is a standalone piece of functionality, using different Pages for controlling aspects of that functionality. A Sketch can be an arpeggiator, a standard MIDI controller with 4 different pages sending out CC messages, etc...

The Mididuino framework provides a huge number of ready to go Sketches that can be further modified or just use as is.

Different Sketch classes can be merged together in a big Monster firmware. This enables further configuration of the sketch itself by presenting a "high-level" view. It allows the user to "mute" the sketch, trigger an "extra" function, and display different pages of the sketch. This Monster functionality is used by the SwitchSketchPage described further below.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on Tue Dec 1 21:01:22 2009 for Mididuino Framework by  doxygen 1.6.1