C# Quick start

Installation

To integrate iris-sdk with C#:

  • Add the NuGet feed containing the Iris.Sdk package to your project (or drop the .nupkg produced by the SDK build into a local feed).

Running the sample code

Build and run the sample using the .NET CLI from the sample root directory:

dotnet add package Iris.Sdk --source path/to/nuget/package
dotnet build
dotnet run

View the sample code results

The example application reads in the file breaking_point_f32_48k.raw, processes it and writes the result to breaking_point_f32_48k_processed.raw.

These raw files can be opened in Audacity or any application that supports header-less raw audio files.

Open Audacity and import raw data → encoding 32-bit float / sample rate 48000.

Note

The native iris-sdk library is platform-specific. Make sure you received the correct iris-sdk package for your target platform (operating system and CPU architecture).