0

I'm doing programm, that will generate sin waves. I can save them in file and after play them, but i don't now how to play them from buffer.

Is there a way of doing it?

Monliker
  • 9
  • 2
  • Does this answer your question? [Play audio from a stream using C#](https://stackoverflow.com/questions/184683/play-audio-from-a-stream-using-c-sharp) – E_net4 Jul 14 '22 at 09:34
  • @E_net4-MrDownvoter: will that work on linux? – Stefan Jul 14 '22 at 09:39
  • @Stefan At least [NAudio](https://github.com/naudio/NAudio) claims to support Linux, so long as the Windows-specific modules are excluded. – E_net4 Jul 14 '22 at 09:55
  • NAudio relies on API calls to DirectSound, WaveIn/WaveOut, and other dependencies that do not run on linux. – Monliker Jul 14 '22 at 09:56

0 Answers0