大网数据广告活动
Web 标准与前端开发

AudioParamMap

· 52CE 我爱测

The **`AudioParamMap`** interface of the Web Audio API represents an iterable and read-only set of multiple audio parameters.

Web Audio API

The AudioParamMap interface of the Web Audio API represents an iterable and read-only set of multiple audio parameters.

An AudioParamMap instance is a read-only Map-like object, in which each key is the name string for a parameter, and the corresponding value is an AudioParam containing the value of that parameter.

Instance properties

The following methods are available to all read-only Map-like objects (the below links are to the Map global object reference page).

  • Map/size
    • : Returns the number of entries in the map.

Instance methods

The following methods are available to all read-only Map-like objects (the below links are to the Map global object reference page).

  • Map/entries
    • : Returns a new iterator object that yields entries in [key, value] pairs in the map in insertion order.
  • Map/forEach
    • : Calls a provided callback function once for each value and key present in the map, in insertion order.
  • Map/get
    • : Returns the AudioParam value associated with the string key, or undefined if there is none.
  • Map/has
    • : Returns a boolean indicating whether a key is present in the map or not.
  • Map/keys
    • : Returns a new iterator object that yields the string keys in the map in insertion order.
  • Map/values
    • : Returns a new iterator object that yields the AudioParam values in the map in insertion order.

Specifications

Browser compatibility

来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。

资料来源与适用范围

资料来源
MDN Web Docs / Mozilla 贡献者
适用范围
请按文中版本与环境说明核对
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 2.5

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。