Typedefs | Functions

GUIDOFactory.h File Reference

Go to the source code of this file.

Typedefs

typedef void * ARFactoryHandler

Functions

GuidoErrCode GuidoFactoryOpen (ARFactoryHandler *outFactory)
 Opens the Guido Factory.
void GuidoFactoryClose (ARFactoryHandler inFactory)
 Closes the Guido Factory.
GuidoErrCode GuidoFactoryOpenMusic (ARFactoryHandler inFactory)
 Creates and opens a new music score.
ARHandler GuidoFactoryCloseMusic (ARFactoryHandler inFactory)
 Closes the current music score.
GuidoErrCode GuidoFactoryOpenVoice (ARFactoryHandler inFactory)
 Creates and opens a new voice.
GuidoErrCode GuidoFactoryCloseVoice (ARFactoryHandler inFactory)
 Closes the current voice.
GuidoErrCode GuidoFactoryOpenChord (ARFactoryHandler inFactory)
 Creates and open a new chord.
GuidoErrCode GuidoFactoryCloseChord (ARFactoryHandler inFactory)
 Closes the current chord.
GuidoErrCode GuidoFactoryInsertCommata (ARFactoryHandler inFactory)
 Begins a new chord note commata.
GuidoErrCode GuidoFactoryOpenEvent (ARFactoryHandler inFactory, const char *inEventName)
 Creates and opens a new event (note or rest).
GuidoErrCode GuidoFactoryCloseEvent (ARFactoryHandler inFactory)
 Closes the current event.
GuidoErrCode GuidoFactoryAddSharp (ARFactoryHandler inFactory)
 Adds a sharp to the current event.
GuidoErrCode GuidoFactoryAddFlat (ARFactoryHandler inFactory)
 Add a flat to the current event.
GuidoErrCode GuidoFactorySetEventDots (ARFactoryHandler inFactory, int dots)
 Sets the number of dots the current event.
GuidoErrCode GuidoFactorySetEventAccidentals (ARFactoryHandler inFactory, int accident)
 Sets the accidentals of the current event.
GuidoErrCode GuidoFactorySetOctave (ARFactoryHandler inFactory, int octave)
 Sets the register (octave) of the current event.
GuidoErrCode GuidoFactorySetDuration (ARFactoryHandler inFactory, int numerator, int denominator)
 Sets the duration of the current event.
GuidoErrCode GuidoFactoryOpenTag (ARFactoryHandler inFactory, const char *name, long tagID)
GuidoErrCode GuidoFactoryOpenRangeTag (ARFactoryHandler inFactory, const char *name, long tagID)
GuidoErrCode GuidoFactoryEndTag (ARFactoryHandler inFactory)
 Indicates the end of a range tag.
GuidoErrCode GuidoFactoryCloseTag (ARFactoryHandler inFactory)
 Closes the current tag.
GuidoErrCode GuidoFactoryAddTagParameterString (ARFactoryHandler inFactory, const char *val)
 Adds a new string parameter to the current tag.
GuidoErrCode GuidoFactoryAddTagParameterInt (ARFactoryHandler inFactory, int val)
 Adds a new integer parameter to the current tag.
GuidoErrCode GuidoFactoryAddTagParameterFloat (ARFactoryHandler inFactory, double val)
 Adds a new floating-point parameter to the current tag.
GuidoErrCode GuidoFactorySetParameterName (ARFactoryHandler inFactory, const char *name)
 Defines the name (when applicable) of the last added tag-parameter.
GuidoErrCode GuidoFactorySetParameterUnit (ARFactoryHandler inFactory, const char *unit)
 Defines the unit of the last added tag-parameter.