WebMIDI测试页

Yesterday I had to plug in my keyboard to the computer and wasn't sure if it was working. How do I test? Well, I had to look up an older post, copy and paste some code to the console... what a drag.

昨天我不得不将键盘插入计算机,不确定是否可以正常工作。 我该如何测试? 好吧,我不得不查找一个较旧的帖子,将一些代码复制并粘贴到控制台中……真是太麻烦了。

I though it would be cool to have a page where you can test midi devices without touching any dirty filthy half-baked console code.

虽然有一个页面可以测试Midi设备,而无需触碰任何肮脏的,半生不熟的控制台代码,但我很酷。

Hence https://www.onlinemusictools.com/webmiditest/ was born. A quick and dirty half-baked tool.

因此https://www.onlinemusictools.com/webmiditest/诞生了。 快速又脏的半熟工具。

Here's a demonstration in a video:

这是视频中的演示:

演示地址

The code is pretty simple. You find one input device and listen to its onmidimessage events. They you find one output device and call its send() method with an array of three values.

代码很简单。 您找到一个输入设备并听其onmidimessage事件。 他们找到一个输出设备,并使用三个值的数组调用其send()方法。

For more info see this previous post.

有关更多信息,请参见上一篇文章

Tell your friends about this post on Facebook and Twitter

FacebookTwitter上告诉您的朋友有关此帖子的信息

翻译自: https://www.phpied.com/webmidi-test-page/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值