摘要:
InnerAudioContext.offCanplay(function listener) 基础库 1.9.0 开始支持,低版本需做兼容处理。 小程序插件:支持 功能描述 移除音频进入可以播放状态的事件的监听函数 参数 function listener onCanplay 传入的监听函数。不传 阅读全文
posted @ 2025-01-06 09:26
AtlasLapetos
阅读(8)
评论(0)
推荐(0)
摘要:
InnerAudioContext.destroy() 小程序插件:支持 功能描述 销毁当前实例 阅读全文
posted @ 2025-01-06 09:25
AtlasLapetos
阅读(6)
评论(0)
推荐(0)
摘要:
InnerAudioContext InnerAudioContext 实例,可通过 wx.createInnerAudioContext 接口获取实例。注意,音频播放过程中,可能被系统中断,可通过 wx.onAudioInterruptionBegin、wx.onAudioInterruption 阅读全文
posted @ 2025-01-06 09:25
AtlasLapetos
阅读(124)
评论(0)
推荐(0)
摘要:
BufferSourceNode.stop(number when) 小程序插件:不支持 微信 Windows 版:支持 微信 Mac 版:支持 功能描述 停止播放 参数 number when 延迟停止播放的时间,单位是秒。与 AudioContext 使用相同的时间坐标系统。省略此参数、指定值 阅读全文
posted @ 2025-01-06 09:25
AtlasLapetos
阅读(7)
评论(0)
推荐(0)
摘要:
BufferSourceNode.disconnect() 小程序插件:不支持 微信 Windows 版:支持 微信 Mac 版:支持 功能描述 与已连接的目标节点断开连接 阅读全文
posted @ 2025-01-06 09:25
AtlasLapetos
阅读(5)
评论(0)
推荐(0)
摘要:
BufferSourceNode.connect(AudioNode|AudioParam destination) 小程序插件:不支持 微信 Windows 版:支持 微信 Mac 版:支持 功能描述 连接到一个指定目标。这个指定的目标可能是另一个 AudioNode(从而将音频数据引导到下一个指 阅读全文
posted @ 2025-01-06 09:25
AtlasLapetos
阅读(11)
评论(0)
推荐(0)
摘要:
BufferSourceNode 音频源节点,通过 WebAudioContext.createBufferSource方法获得。 属性 AudioBuffer buffer 是一个 AudioBuffer, 它定义了要播放的音频,当设置它的值为 0 时,它会定义一个静默的单通道。(可读可写) Bo 阅读全文
posted @ 2025-01-06 09:25
AtlasLapetos
阅读(21)
评论(0)
推荐(0)
摘要:
AudioParam 基础库 2.19.0 开始支持,低版本需做兼容处理。 AudioParam 接口代表音频相关的参数,通常是 AudioNode(例如 GainNode.gain)的参数 属性 number defaultValue 代表被具体的 AudioNode 创建的 AudioParam 阅读全文
posted @ 2025-01-06 09:25
AtlasLapetos
阅读(8)
评论(0)
推荐(0)
摘要:
AudioListener 空间音频监听器,代表在一个音频场景内唯一的位置和方向信息。 属性 number positionX 右手笛卡尔坐标系中X轴的位置。 number positionY 右手笛卡尔坐标系中Y轴的位置。 number positionZ 右手笛卡尔坐标系中Z轴的位置。 numb 阅读全文
posted @ 2025-01-06 09:25
AtlasLapetos
阅读(13)
评论(0)
推荐(0)
摘要:
AudioContext.setSrc(string src) 从基础库 1.6.0 开始,本接口停止维护,请使用 wx.createInnerAudioContext 代替 小程序插件:支持 功能描述 设置音频地址 参数 string src 音频地址 阅读全文
posted @ 2025-01-06 09:25
AtlasLapetos
阅读(4)
评论(0)
推荐(0)
浙公网安备 33010602011771号