Skip to content

Using anywhere else

Coloride edited this page Jun 16, 2024 · 2 revisions

Introduction

Tip

The following tutorial is up to you to adapt according to your needs but we will have to cover the entire things via 4 bullet points:

  • Installing OpenVoiceSharp: How to install the NuGet package and its dependencies (.NET 6 / .NET Standard)
  • Recording: How to record the microphone data
  • Sending, receiving & decoding the data: How to handle the entire sending/receiving process from an agnostic* standpoint
  • Playing back: Playing the PCM data back into your ears or modifying

*not requiring any particular networking system or infrastructure

To demonstrate the entire project goal, I have provided an agnostic console example, meaning that you can reproduce these steps to implement the system anywhere.

By anywhere I mean:

  • Your own game engine
  • Not a game (in case of something like a voice chat/audio streaming app)
  • Using an engine that I haven't listed here
  • Any other niche case..

Warning

I heavily recommend that you read Getting Started in order to learn the basics of voice chat in order to proceed without confusion.

Installing OpenVoiceSharp

soon

Recording

soon

Sending

soon

Playing back

soon

Conclusion

soon