Entropy Piano Tuner  1.1.3 (documentation not yet complete)
An open-source experimental software for piano tuning by entropy minimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
piano Namespace Reference

Enumerations

enum  PianoType { PT_GRAND = 0, PT_UPRIGHT, PT_COUNT }
 Enumeration of piano types. More...
 
enum  KeyState { STATE_NORMAL = 0, STATE_FORCED, STATE_COUNT }
 The KeyState enum. More...
 
enum  KeyColor { KC_BLACK = 0, KC_WHITE, KC_COUNT }
 The KeyColor enum. More...
 
enum  FileType { FT_NONE = 0, FT_EPT = 1, FT_CSV = 2 }
 supported piano file types More...
 

Functions

std::string toFileEnding (FileType ft)
 
FileType parseFileType (const std::string &fileEnding)
 

Enumeration Type Documentation

supported piano file types

Enumerator
FT_NONE 
FT_EPT 
FT_CSV 

Definition at line 59 of file pianodefines.h.

The KeyColor enum.

Enumerator
KC_BLACK 

Black key.

KC_WHITE 

White key.

KC_COUNT 

Definition at line 51 of file pianodefines.h.

The KeyState enum.

Enumerator
STATE_NORMAL 

Normal state.

STATE_FORCED 

Key is forced.

STATE_COUNT 

Definition at line 40 of file pianodefines.h.

Enumeration of piano types.

Enumerator
PT_GRAND 

The piano is a grand piano.

PT_UPRIGHT 

The piano is a upgright piano.

PT_COUNT 

Definition at line 28 of file pianodefines.h.

Function Documentation

FileType piano::parseFileType ( const std::string &  fileEnding)

Definition at line 33 of file pianodefines.cpp.

std::string piano::toFileEnding ( FileType  ft)

Definition at line 25 of file pianodefines.cpp.