mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
32 lines
593 B
C++
32 lines
593 B
C++
|
/*
|
||
|
* TVLChord.cpp
|
||
|
* Vocalese
|
||
|
*
|
||
|
* Created by Matthias Neeracher on 12/19/05.
|
||
|
* Copyright 2005 __MyCompanyName__. All rights reserved.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#include "VLModel.h"
|
||
|
|
||
|
#include <iostream>
|
||
|
|
||
|
int main(int, char *const [])
|
||
|
{
|
||
|
std::string chordName;
|
||
|
|
||
|
while (std::cin >> chordName) {
|
||
|
VLChord chord(chordName);
|
||
|
|
||
|
std::string baseS, extS, rootS, baseF, extF, rootF;
|
||
|
|
||
|
chord.Name(baseS, extS, rootS, true);
|
||
|
chord.Name(baseF, extF, rootF, false);
|
||
|
|
||
|
std::cout << baseS << "[" << extS << "]" << rootS << " "
|
||
|
<< baseF << "[" << extF << "]" << rootF
|
||
|
<< std::endl;
|
||
|
}
|
||
|
exit(0);
|
||
|
}
|