GUIDOLib
1.7.7
A Music Score Rendering Engine
|
Go to the documentation of this file. 1 #ifndef GUIDOPianoRollAPI_H 2 #define GUIDOPianoRollAPI_H
Definition: GUIDOPianoRoll.h:33
const int kALine
Definition: GUIDOPianoRoll.h:48
const int kELine
Definition: GUIDOPianoRoll.h:43
GuidoErrCode GuidoPianoRollSetHtmlColorToVoice(PianoRoll *pr, int voiceNum, long color)
Sets a html color to a voice (first voice is number 1) (black by default)
GuidoErrCode GuidoPianoRollSetPitchLinesDisplayMode(PianoRoll *pr, int mode)
Sets the pitch lines display mode (automatic by default). Use Pitch lines display mode constants to p...
const int kBLine
Definition: GUIDOPianoRoll.h:50
GuidoErrCode GuidoPianoRollEnableMeasureBars(PianoRoll *pr, bool enabled)
Enables or not measure bars (false by default)
PianoRoll * GuidoAR2PianoRoll(PianoRollType type, ARHandler arh)
Creates a new piano roll from AR, corresponding to type : simplePianoRoll -> basic piano roll traject...
const int kDLine
Definition: GUIDOPianoRoll.h:41
GuidoDate startDate
Definition: GUIDOPianoRoll.h:58
const int kCSharpLine
Definition: GUIDOPianoRoll.h:40
#define GUIDOAPI
Definition: GUIDOExport.h:39
Definition: GUIDOPianoRoll.h:34
GuidoErrCode GuidoPianoRollRemoveColorToVoice(PianoRoll *pr, int voiceNum)
remove a color to a voice (first voice is number 1) (black by default)
GuidoErrCode GuidoPianoRollSetRGBColorToVoice(PianoRoll *pr, int voiceNum, int r, int g, int b, int a)
Sets a RGB color to a voice (first voice is number 1) (black by default)
const int kGLine
Definition: GUIDOPianoRoll.h:46
const int kAutoLines
Definition: GUIDOPianoRoll.h:51
const int kCLine
Pitch lines display mode.
Definition: GUIDOPianoRoll.h:39
GuidoErrCode GuidoPianoRollEnableAutoVoicesColoration(PianoRoll *pr, bool enabled)
Enables or not the automatic voices coloration (not enabled by default) (not for a midi rendering) //...
GuidoErrCode GuidoPianoRollEnableKeyboard(PianoRoll *pr, bool enabled)
Enables keyboard or not (not enabled by default)
std::vector< TMapSegments > Time2GraphicMap
Definition: GUIDOScoreMap.h:89
GuidoErrCode
The guido error codes list.
Definition: GUIDOEngine.h:211
const int kFLine
Definition: GUIDOPianoRoll.h:44
const int kNoLine
Definition: GUIDOPianoRoll.h:52
struct LimitParams LimitParams
A struct to set a piano roll boundaries in time and in pitch.
Representation of a date as a rational value.
Definition: GUIDOEngine.h:83
Generic platform independant drawing device.
Definition: VGDevice.h:68
GuidoErrCode GuidoDestroyPianoRoll(PianoRoll *pr)
Destroys a guido piano roll and releases all the associated ressources.
const int kASharpLine
Definition: GUIDOPianoRoll.h:49
PianoRoll * GuidoMidi2PianoRoll(PianoRollType type, const char *midiFileName)
Creates a new piano roll from Midi, corresponding to type : simplePianoRoll -> basic piano roll traje...
A struct to set a piano roll boundaries in time and in pitch.
Definition: GUIDOPianoRoll.h:57
GuidoErrCode GuidoPianoRollGetKeyboardWidth(PianoRoll *pr, int height, float &keyboardWidth)
Gets the piano roll keyboard width.
PianoRollType
PianoRollType.
Definition: GUIDOPianoRoll.h:32
int lowPitch
Definition: GUIDOPianoRoll.h:60
struct NodeAR * ARHandler
Definition: GUIDOEngine.h:36
const int kDSharpLine
Definition: GUIDOPianoRoll.h:42
GuidoErrCode GuidoPianoRollGetMap(const PianoRoll *pr, int width, int height, Time2GraphicMap &outmap)
Gets the piano roll map.
int highPitch
Definition: GUIDOPianoRoll.h:61
GuidoErrCode GuidoPianoRollSetLimits(PianoRoll *pr, LimitParams limitParams)
Sets limits to a piano roll (start/end date, lower/higher pitch)
GuidoErrCode GuidoPianoRollOnDraw(PianoRoll *pr, int width, int height, VGDevice *dev)
Draw the piano roll on a VGDevice.
const int kFSharpLine
Definition: GUIDOPianoRoll.h:45
GuidoErrCode GuidoPianoRollSetColorToVoice(PianoRoll *pr, int voiceNum, const std::string &color)
Sets a html color to a voice (first voice is number 1) (black by default)
const int kGSharpLine
Definition: GUIDOPianoRoll.h:47
GuidoDate endDate
Definition: GUIDOPianoRoll.h:59