如何使用C#编写和播放音乐?如何使用、音乐

2023-09-03 12:05:40 作者:墙都不扶就服你

所以,长话短说,我放下来创建一个进化算法,会写的音乐,并将其导出到一个文件给我听的框架。

So, long story short, I am laying down the framework to create an evolutionary algorithm that will write music and export it to a file for me to listen to.

我的问题是,有没有计划在那里,我可以用的接口,这样我可以只给软件说明和它建立了一块?

My question is, are there any programs out there that I can interface with, so that I can just feed the software notes and it builds the piece?

如果没有,我怎么做自己?

If not, how do I do this myself?

推荐答案

我不知道什么样的答案你期待,考虑到有关的话题范围之内。我只是把 n音讯表可以帮助你在你的事业。

I wonder what kind of answers you expect, considering the scope of relevant topics. I'd just bring NAudio to the table which may help you in your undertaking.

由于它也知道MIDI,也许你有一个MIDI设备(声卡?)然后就可以创建MIDI事件,并将它们发送到您的设备。其结果可能是音乐。

Since it also knows MIDI, maybe you have a Midi device (your soundcard?) Then you can create MIDI events and send them to your device. The result could be music.