voice_audio_multi/include/engine/community_models/soulx_flashhead/dit.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

18 lines
694 B
C++

#pragma once
#include "engine/community_models/soulx_flashhead/assets.h"
#include "engine/framework/core/execution_context.h"
namespace engine::community_models::soulx_flashhead {
class Denoiser {
public:
Denoiser(core::ExecutionContext & execution, const Assets & assets);
~Denoiser();
void prepare_audio(const std::vector<float> & audio, int64_t height, int64_t width);
std::vector<float> predict(const std::vector<float> & noisy, const std::vector<float> & reference,
float timestep, int64_t height, int64_t width);
private:
struct State;
std::unique_ptr<State> state_;
};
} // namespace engine::community_models::soulx_flashhead