Class MusicTranslator
Defined in File MusicTranslator.hpp
Class Documentation
-
class MusicTranslator
This Translate capnp data into cpp data sturct.
Public Functions
-
bool Read(const CapReader<MusicBinaryCapnpData> &binary, unsigned long long startFrame)
reads capnp music binary data and fills BpmStruct.
- Parameters:
binary – capnp binary data
startFrame – the start beat’s frame position.
- Returns:
true
- Returns:
false
-
MusicTranslator() = default
-
~MusicTranslator() = default
-
bool Read(const CapReader<MusicBinaryCapnpData> &binary, unsigned long long startFrame)