voice_audio_multi/include/engine/models/ming3_audio/talker_frontend.h
Fabio c36510c21e
Some checks failed
Linux Build / Linux cpu (push) Has been cancelled
Linux Build / Linux cpu-clang (push) Has been cancelled
Linux Build / Linux vulkan (push) Has been cancelled
mac-build / macOS CPU (push) Has been cancelled
Nix Build / Nix (cpu) (push) Has been cancelled
Nix Build / Nix (vulkan) (push) Has been cancelled
windows-build / Windows CPU (push) Has been cancelled
Initial import: audio.cpp with Orange Pi documentation
2026-11-04 19:05:22 +01:00

19 lines
574 B
C++

#pragma once
#include "engine/models/ming3_audio/talker.h"
#include "engine/framework/tokenizers/llama_bpe.h"
namespace engine::models::ming3_audio {
class TalkerFrontend {
public:
explicit TalkerFrontend(const MingAudioAssets & assets);
TalkerPrompt build(const std::string & text, const std::string & voice, const std::string & language,
bool reference, const std::string & reference_text = {}, int64_t reference_patches = 0) const;
private:
tokenizers::LlamaBpeTokenizer tokenizer_;
};
} // namespace engine::models::ming3_audio