Recursive AI
onespeechCookbook

onespeech cookbook

Short recipes for common OneSpeech tasks, each with complete code you can copy.

Speech recognition

Speech to text in C#Convert speech to text in C# with OneSpeech. Run a complete .NET 10 example locally, read the transcript, and save timed words as JSON.Transcribe an audio file in C#Transcribe audio files to text in C# with OneSpeech. Download a runnable .NET 10 example that saves plain text and transcript JSON.Run Whisper in C# without native librariesRun Whisper in C# without native inference libraries. Use OneSpeech on .NET 10, choose a model, and run a complete downloadable example.Generate SRT subtitles from audio in C#Generate SRT subtitles from audio in C# with OneSpeech. Download a runnable .NET 10 example, export captions, and remove leading caption spaces.Word timestamps in C#Get word timestamps from speech in C# with OneSpeech. Run a .NET 10 example with start and end times, timing provenance, and JSON export.Speaker diarization in C#Label speakers and print turn times in C# with OneSpeech voice clustering. Free, open source, with a runnable example and packaged English model.Real-time speech recognition in C#Recognize English speech from PCM blocks in C# with OneSpeech live sessions. Free, open source, with a runnable file-replay example.Transcribe an MP4 video in C#Transcribe MP4 audio to text in C# with OneSpeech.Media. Free, open source, with a real sample video, packaged model and runnable project.Offline speech recognition in C#Run offline English speech recognition in C# using packaged model weights. Free, open-source OneSpeech example with network model fetches refused.