The Web Audio API as a Standardized Interface Beyond Web Browsers

IF 16.4 1区 化学 Q1 CHEMISTRY, MULTIDISCIPLINARY
Benjamin Matuszewski, Otto Rottier
{"title":"The Web Audio API as a Standardized Interface Beyond Web Browsers","authors":"Benjamin Matuszewski, Otto Rottier","doi":"10.17743/jaes.2022.0114","DOIUrl":null,"url":null,"abstract":"In this paper, the authors present two related libraries, web-audio-api-rs and node-web-audio-api , that provide a solution for using the Web Audio API outside the Web browsers. The first project is a low-level implementation of the Web Audio API written in the Rust language, and the second provides bindings of the core Rust library for the Node.js platform. The authors’ approach here is to consider Web standards and specifications as tools for defining standardized APIs across different environments and languages, which they believe could benefit the audio community in a more general manner. Although such a proposition presents some portability limitations due to the differences between languages, the authors think it nevertheless opens up new possibilities in sharing documentation, resources, and components across a wide range of environments, platforms, and users. The paper first describes the general design and implementation of the authors’ libraries. Then, it presents somebenchmarksoftheselibrariesagainststate-of-the-artimplementationfromWebbrowsers, andtheperformanceimprovementsthathavebeenmadeoverthelastyear.Finally,itdiscussesthecurrentknownlimitationsoftheselibrariesandproposessomedirectionsforfuturework. Thetwoprojectsareopen-source,reasonablyfeature-complete,andreadytouseinproductionapplications.","PeriodicalId":1,"journal":{"name":"Accounts of Chemical Research","volume":null,"pages":null},"PeriodicalIF":16.4000,"publicationDate":"2023-11-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Accounts of Chemical Research","FirstCategoryId":"5","ListUrlMain":"https://doi.org/10.17743/jaes.2022.0114","RegionNum":1,"RegionCategory":"化学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"CHEMISTRY, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

In this paper, the authors present two related libraries, web-audio-api-rs and node-web-audio-api , that provide a solution for using the Web Audio API outside the Web browsers. The first project is a low-level implementation of the Web Audio API written in the Rust language, and the second provides bindings of the core Rust library for the Node.js platform. The authors’ approach here is to consider Web standards and specifications as tools for defining standardized APIs across different environments and languages, which they believe could benefit the audio community in a more general manner. Although such a proposition presents some portability limitations due to the differences between languages, the authors think it nevertheless opens up new possibilities in sharing documentation, resources, and components across a wide range of environments, platforms, and users. The paper first describes the general design and implementation of the authors’ libraries. Then, it presents somebenchmarksoftheselibrariesagainststate-of-the-artimplementationfromWebbrowsers, andtheperformanceimprovementsthathavebeenmadeoverthelastyear.Finally,itdiscussesthecurrentknownlimitationsoftheselibrariesandproposessomedirectionsforfuturework. Thetwoprojectsareopen-source,reasonablyfeature-complete,andreadytouseinproductionapplications.
网络音频应用程序接口作为超越网络浏览器的标准化接口
在本文中,作者介绍了两个相关库:web-audio-api-rs 和 node-web-audio-api,它们为在网络浏览器之外使用网络音频 API 提供了解决方案。第一个项目是用 Rust 语言编写的网络音频 API 的底层实现,第二个项目为 Node.js 平台提供了核心 Rust 库的绑定。作者在此采用的方法是将网络标准和规范视为在不同环境和语言中定义标准化 API 的工具,他们认为这将以更普遍的方式惠及音频社区。尽管由于不同语言之间的差异,这样的主张会带来一些可移植性方面的限制,但作者认为它还是为在各种环境、平台和用户之间共享文档、资源和组件开辟了新的可能性。本文首先介绍了作者库的总体设计和实现。最后,本文讨论了目前已知的图书馆局限,并提出了未来的工作方向。这两个项目都是开源的,功能比较齐全,可以在生产应用中使用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Accounts of Chemical Research
Accounts of Chemical Research 化学-化学综合
CiteScore
31.40
自引率
1.10%
发文量
312
审稿时长
2 months
期刊介绍: Accounts of Chemical Research presents short, concise and critical articles offering easy-to-read overviews of basic research and applications in all areas of chemistry and biochemistry. These short reviews focus on research from the author’s own laboratory and are designed to teach the reader about a research project. In addition, Accounts of Chemical Research publishes commentaries that give an informed opinion on a current research problem. Special Issues online are devoted to a single topic of unusual activity and significance. Accounts of Chemical Research replaces the traditional article abstract with an article "Conspectus." These entries synopsize the research affording the reader a closer look at the content and significance of an article. Through this provision of a more detailed description of the article contents, the Conspectus enhances the article's discoverability by search engines and the exposure for the research.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信