Play sound in .NET using generated waveform data

后端 未结 6 1741
感情败类
感情败类 2021-02-02 03:55

How can I play a sound based on waveform data that my .NET program is generating from user input and mathematical functions?

By \"waveform data\" I mean SPL (sound press

6条回答
  •  不要未来只要你来
    2021-02-02 04:18

    I think you'll need to use DirectSound (DirectX API) for that. It works off buffers which you could fill with your generated data.

    Maybe something like this (here in way back machine) will help

提交回复
热议问题