Main Page | Modules | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | Related Pages

NoteType Class Reference

provides conversions between numeric note types and strings More...

#include <conversions.h>

List of all members.

Public Types

enum  type {
  undefined, t256th = 1, t128th = 1<<1, t64th = 1<<2,
  t32nd = 1<<3, t16th = 1<<4, eighth = 1<<5, quarter = 1<<6,
  half = 1<<7, whole = 1<<8, breve = 1<<9, tlong = 1<<10,
  count = 11
}

Static Public Member Functions

TRationalrational (type d, TRational &r)
 convert an integer note to a rational representation

const string xml (type d)
 convert an integer note type to a MusicXML string

type xml (const string str)
 convert an MusicXML string to an integer note type


Detailed Description

Type indicates the graphic note type. Valid values (from shortest to longest) are 256th, 128th, 64th, 32nd, 16th, eighth, quarter, half, whole, breve, and long.


Generated on Tue Mar 23 09:49:50 2004 for LibMusicXML by doxygen 1.3.3