Accent Conversion Device SDK
Supported Accents
- South African
- Filipino
- Indian
- Latin American
Supported Platforms
- Mac (armv8a, x64)
- Windows (armv8a, x64), (MT, MTd, MD, MDd)
- Linux (armv8a, x64)
- IOS
- Android
Code Snippet
try
{
globalInit(L"");
ModelInfo ncModelInfo;
ncModelInfo.path = L"/path/to/the/ac-model.kef";
NcSessionConfig ncCfg =
{
inRate,
frameDurationMillis,
outRate,
&ncModelInfo,
false,
nullptr
};
std::shared_ptr<Nc<SamplingFormat>> ncSession = Nc<SamplingFormat>::create(ncCfg);
while(frameAvailable)
{
ncSession->process(inFrame, inFrameSize, outFrame, outFrameSize);
}
// ncSession object should be released before globalDestroy()
ncSession.reset();
globalDestroy();
}
catch(std::exception& ex)
{
// Handle exception
}Updated about 2 hours ago
