---
updatedAt: 2026-10-09T20:37:33.000Z
agentTools:
  projectIndex: https://sdk-docs.krisp.ai/llms.txt
---

# Accent Conversion Device SDK

Integrate Krisp Accent Conversion into desktop and mobile apps with the Device SDK.

Accent Conversion (AC) Device SDK is designed to be integrated into Desktop and Mobile apps.

# Supported Platforms

* Mac (armv8a, x64)
* Windows (armv8a, x64), (MT, MTd, MD, MDd)
* Linux (armv8a, x64)
* iOS
* Android

## Code Snippet

```cplusplus
try
{
    globalInit(L"");

    ModelInfo acModelInfo;
    acModelInfo.path = L"/path/to/the/ac-model.kef";

    NcSessionConfig acCfg =
    {
        inRate,
        frameDurationMillis,
        outRate,
        &acModelInfo,
        false,
        nullptr
    };

    std::shared_ptr<Nc<SamplingFormat>> acSession = Nc<SamplingFormat>::create(acCfg);

    while(frameAvailable)
    {
        acSession->process(inFrame, inFrameSize, outFrame, outFrameSize);
    }

    // acSession object should be released before globalDestroy()
    acSession.reset();
    globalDestroy();
}
catch(std::exception& ex)
{
  // Handle exception
}
```

# Sibling pages

* [Overview](https://sdk-docs.krisp.ai/docs/accent-conversion.md)
* [Accent Conversion Browser SDK](https://sdk-docs.krisp.ai/docs/rtc-accent-conversion-web-browser-sdk.md)
* [Accent Conversion Server SDK](https://sdk-docs.krisp.ai/docs/rtc-accent-conversion-server-sdk.md)