从头开始创建 mp3 文件 C#
作为一些实验的一部分,我想到了一些事情,如何在 C# 中从头开始创建一个 .mp3 文件,这实际上听起来像什么,例如,创建一个播放音符的 mp3 文件:C# 或 B 降调?
我怎样才能实现这一点,它必须是 mp3 文件,而不是 wav 或其他任何文件。
As part of some experimentation, I thought of something, how can I create a .mp3 file from scratch in C#, that actually sounds like something, e.g, create an mp3 file that plays the note: C#, or B flat?
How can I achieve this, and it must be an mp3 file, not a wav, or anything else.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
所以我无法给你确切的代码,但我可以给出一个起点。
所以基本上步骤是
So I'm not going to be able to give you exact code, but I can give a starting point.
So basically the steps would be
我会尝试使用 NAudio 它非常强大。主要目的是操作音频文件,但值得尝试。
I would try using NAudio it's quite powerful. The main purpose was to manipulate audio files but it's worth to try.