123456789101112131415161718192021222324252627 |
- #ifndef SEKAI_UNISYN_INDEX_H
- #define SEKAI_TRACK_H
- #include <sekai/common.h>
- #include <map>
- #include <string>
- #include <vector>
- struct PhoInfo {
- std::string basename;
- std::vector<float> alignment;
- };
- class UnisynIndex {
- private:
- std::map<std::string, std::string> headerMap;
- std::map<std::string, PhoInfo> phoMap;
- public:
- bool readFromFile(std::string fileName);
- inline PhoInfo getPho(std::string pho) {
- return phoMap[pho];
- }
- };
- #endif
|