我如何在NAudio中播放MidiEventCollection? [英] how do I play a MidiEventCollection in NAudio?

查看:103
本文介绍了我如何在NAudio中播放MidiEventCollection?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试制作midi音轨。我知道如何将其导出到文件但我不知道如何直接从代码中播放它。顺便说一下这个类是NAudio.Midi.MidiEventCollection

解决方案

看看这套教程

http://opensebj.blogspot.co.uk/2009/08/naudio-tutorial-6 -midi-interfacing_27.html [ ^ ]



和此MSDN文章 http://msdn.microsoft.com/en-us/magazine/ee336028.aspx [ ^ ]



但更好的响应来源可能好的是 http://naudio.codeplex.com/discussions [ ^

Hi, I'm trying to make an midi track. I know how to export it to a file but i don't know how to play it directly form code. By the way the class is an NAudio.Midi.MidiEventCollection

解决方案

Have a look at this set of tutorials
http://opensebj.blogspot.co.uk/2009/08/naudio-tutorial-6-midi-interfacing_27.html[^]

and at this MSDN article http://msdn.microsoft.com/en-us/magazine/ee336028.aspx[^]

But a better source for a response might well be http://naudio.codeplex.com/discussions[^]


这篇关于我如何在NAudio中播放MidiEventCollection?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆