Public Types | Public Attributes
MusicNoteLib::Note Struct Reference

Class representing a Musical Note More...

#include <Note.h>

Inherited by MusicNoteLib::MusicStringParser::NoteContext.

List of all members.

Public Types

enum  NoteTypes { FIRST, SEQUENTIAL, PARALLEL }
enum  DefaultVelocities { DEFAULT_ATTACK_VELOCITY = 64, DEFAULT_DECAY_VELOCITY = 64 }
 Default Values More...

Public Attributes

bool isRest
 Specifies if this is a Rest Note or not.
short noteNumber
 Midi Note Value. C5 is 60.
double decimalDuration
 Specifies the Duration of the note in double.
long duration
 Specifies the Duration of the note in long.
bool isStartOfTie
 Indicates if this is the first note in a Tie.
bool isEndOfTie
 Indciates if this is the last note in a Tie.
unsigned short attackVelocity
 Specifies the attack velocity of this note.
unsigned short decayVelocity
 Specifies the decay velocity of this note.
enum MusicNoteLib::Note::NoteTypes type
 Specifies the type of this note.

Detailed Description

Class representing a Musical Note


Member Enumeration Documentation

Default Values

Enumerator:
DEFAULT_ATTACK_VELOCITY 

Default Note Attack Velocity.

DEFAULT_DECAY_VELOCITY 

Default Note Decay Velocity.

Enumerator:
FIRST 

Indicates if this is a First note in a group of notes.

SEQUENTIAL 

Indicates if this is a Sequential note in a group of notes.

PARALLEL 

Indicates if this is a Parallel note in a group of notes.


The documentation for this struct was generated from the following file:

CFugue, the C++ Music Programming Library © Copyright 2009 CineFx Digital Media Pvt Ltd. Gopalakrishna Palem