CFugue
Public Types | Public Attributes | List of all members
CFugue::Note Struct Reference

Class representing a Musical Note More...

#include <Note.h>

Public Types

enum  NoteTypes { FIRST, SEQUENTIAL, PARALLEL }
 
enum  DefaultVelocities : long { 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 CFugue::Note::NoteTypes type
 Specifies the type of this note.
 

Detailed Description

Class representing a Musical Note

Definition at line 19 of file Note.h.

Member Enumeration Documentation

Default Values

Enumerator
DEFAULT_ATTACK_VELOCITY 

Default Note Attack Velocity.

DEFAULT_DECAY_VELOCITY 

Default Note Decay Velocity.

Definition at line 37 of file Note.h.

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.

Definition at line 29 of file Note.h.


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

CFugue, the C++ Music Programming Library © Copyright 2009 Cenacle Research India Private Limited Gopalakrishna Palem