音频应用

 找回密码
 快速注册

QQ登录

只需一步,快速开始

音频应用 首页 音频插件 查看内容

WEBMIDI.js v3 Now Available

2021-12-3 09:25| 发布者: axaudio| 查看: 404| 评论: 0

摘要: WEBMIDI.js v3 Now AvailableDeveloper Jean-Philippe Côté let us know that v3 of the WEBMIDI.js library is now available.WEBMIDI.js is designed to make it easy for web developers to create browser ...
WEBMIDI.js v3 Now Available
Developer Jean-Philippe Côté let us know that v3 of the WEBMIDI.js library is now available.

WEBMIDI.js is designed to make it easy for web developers to create browser-based applications that can interact with MIDI instruments.

Version 3 has been rewritten from scratch to make it both future-proof and backwards-compatible. It uses a modern development paradigm and now has its own dedicated website at webmidijs.org.

The library offers numerous new features such as:

Support for Node.js. The exact same code can be used in supported browsers and in Node.js.
Distribution in 3 flavours: ESM (ECMAScript module for modern browsers), CJS (CommonJS module for Node.js) and IIFE (Immediately Invoked Function Expression for legacy browsers and ad hoc usage).
TypeScript Support. Every new release includes a TypeScript definition file for CJS and ESM in the dist directory.
New InputChannel and OutputChannel objects. You can now work with a single MIDI channel if that’s appropriate for your needs.
New Note object. Makes it easier to work with notes and pass them around from one method to the next.
New Message object that allows easier routing of MIDI messages, including the ability to automatically forward inbound MIDI messages to one, or more, outputs.
Improved support for system exclusive (sysex) messages.
Support for promises, while preserving legacy callback support.
Improved support for RPN/NRPN messages.
Addition of hundreds of unit tests to make sure the library remains stable at all times.

路过

雷人

握手

鲜花

鸡蛋

相关阅读

最新评论

音频应用广告
    音频应用
    音频编辑软件
    音频应用搜索

    小黑屋|手机版|音频应用官网微博|音频招标|音频应用 (鄂ICP备16002437号)

    Powered by Audio app

    返回顶部