InnerAudioContext.offTimeUpdate
摘要:InnerAudioContext.offTimeUpdate(function listener) 基础库 1.9.0 开始支持,低版本需做兼容处理。 小程序插件:支持 功能描述 移除音频播放进度更新事件的监听函数 参数 function listener onTimeUpdate 传入的监听函数
阅读全文
posted @
2025-01-06 09:31
AtlasLapetos
阅读(9)
推荐(0)
InnerAudioContext.offStop
摘要:InnerAudioContext.offStop(function listener) 基础库 1.9.0 开始支持,低版本需做兼容处理。 小程序插件:支持 功能描述 移除音频停止事件的监听函数 参数 function listener onStop 传入的监听函数。不传此参数则移除所有监听函数。
阅读全文
posted @
2025-01-06 09:31
AtlasLapetos
阅读(6)
推荐(0)
InnerAudioContext.offSeeking
摘要:InnerAudioContext.offSeeking(function listener) 基础库 1.9.0 开始支持,低版本需做兼容处理。 小程序插件:支持 功能描述 移除音频进行跳转操作的事件的监听函数 参数 function listener onSeeking 传入的监听函数。不传此参
阅读全文
posted @
2025-01-06 09:30
AtlasLapetos
阅读(8)
推荐(0)
InnerAudioContext.offSeeked
摘要:InnerAudioContext.offSeeked(function listener) 基础库 1.9.0 开始支持,低版本需做兼容处理。 小程序插件:支持 功能描述 移除音频完成跳转操作的事件的监听函数 参数 function listener onSeeked 传入的监听函数。不传此参数则
阅读全文
posted @
2025-01-06 09:30
AtlasLapetos
阅读(9)
推荐(0)
InnerAudioContext.offPlay
摘要:InnerAudioContext.offPlay(function listener) 基础库 1.9.0 开始支持,低版本需做兼容处理。 小程序插件:支持 功能描述 移除音频播放事件的监听函数 参数 function listener onPlay 传入的监听函数。不传此参数则移除所有监听函数。
阅读全文
posted @
2025-01-06 09:29
AtlasLapetos
阅读(9)
推荐(0)
InnerAudioContext.offPause
摘要:InnerAudioContext.offPause(function listener) 基础库 1.9.0 开始支持,低版本需做兼容处理。 小程序插件:支持 功能描述 移除音频暂停事件的监听函数 参数 function listener onPause 传入的监听函数。不传此参数则移除所有监听函
阅读全文
posted @
2025-01-06 09:28
AtlasLapetos
阅读(9)
推荐(0)
InnerAudioContext.offError
摘要:InnerAudioContext.offError(function listener) 基础库 1.9.0 开始支持,低版本需做兼容处理。 小程序插件:支持 功能描述 移除音频播放错误事件的监听函数 参数 function listener onError 传入的监听函数。不传此参数则移除所有监
阅读全文
posted @
2025-01-06 09:28
AtlasLapetos
阅读(7)
推荐(0)
InnerAudioContext.offEnded
摘要:InnerAudioContext.offEnded(function listener) 基础库 1.9.0 开始支持,低版本需做兼容处理。 小程序插件:支持 功能描述 移除音频自然播放至结束的事件的监听函数 参数 function listener onEnded 传入的监听函数。不传此参数则移
阅读全文
posted @
2025-01-06 09:27
AtlasLapetos
阅读(11)
推荐(0)
InnerAudioContext.offCanplay
摘要:InnerAudioContext.offCanplay(function listener) 基础库 1.9.0 开始支持,低版本需做兼容处理。 小程序插件:支持 功能描述 移除音频进入可以播放状态的事件的监听函数 参数 function listener onCanplay 传入的监听函数。不传
阅读全文
posted @
2025-01-06 09:26
AtlasLapetos
阅读(9)
推荐(0)
InnerAudioContext.destroy
摘要:InnerAudioContext.destroy() 小程序插件:支持 功能描述 销毁当前实例
阅读全文
posted @
2025-01-06 09:25
AtlasLapetos
阅读(6)
推荐(0)
InnerAudioContext
摘要:InnerAudioContext InnerAudioContext 实例,可通过 wx.createInnerAudioContext 接口获取实例。注意,音频播放过程中,可能被系统中断,可通过 wx.onAudioInterruptionBegin、wx.onAudioInterruption
阅读全文
posted @
2025-01-06 09:25
AtlasLapetos
阅读(128)
推荐(0)
BufferSourceNode.stop
摘要:BufferSourceNode.stop(number when) 小程序插件:不支持 微信 Windows 版:支持 微信 Mac 版:支持 功能描述 停止播放 参数 number when 延迟停止播放的时间,单位是秒。与 AudioContext 使用相同的时间坐标系统。省略此参数、指定值
阅读全文
posted @
2025-01-06 09:25
AtlasLapetos
阅读(8)
推荐(0)
BufferSourceNode.disconnect
摘要:BufferSourceNode.disconnect() 小程序插件:不支持 微信 Windows 版:支持 微信 Mac 版:支持 功能描述 与已连接的目标节点断开连接
阅读全文
posted @
2025-01-06 09:25
AtlasLapetos
阅读(5)
推荐(0)
BufferSourceNode.connect
摘要:BufferSourceNode.connect(AudioNode|AudioParam destination) 小程序插件:不支持 微信 Windows 版:支持 微信 Mac 版:支持 功能描述 连接到一个指定目标。这个指定的目标可能是另一个 AudioNode(从而将音频数据引导到下一个指
阅读全文
posted @
2025-01-06 09:25
AtlasLapetos
阅读(13)
推荐(0)
BufferSourceNode
摘要:BufferSourceNode 音频源节点,通过 WebAudioContext.createBufferSource方法获得。 属性 AudioBuffer buffer 是一个 AudioBuffer, 它定义了要播放的音频,当设置它的值为 0 时,它会定义一个静默的单通道。(可读可写) Bo
阅读全文
posted @
2025-01-06 09:25
AtlasLapetos
阅读(24)
推荐(0)
AudioParam
摘要:AudioParam 基础库 2.19.0 开始支持,低版本需做兼容处理。 AudioParam 接口代表音频相关的参数,通常是 AudioNode(例如 GainNode.gain)的参数 属性 number defaultValue 代表被具体的 AudioNode 创建的 AudioParam
阅读全文
posted @
2025-01-06 09:25
AtlasLapetos
阅读(9)
推荐(0)
AudioListener
摘要:AudioListener 空间音频监听器,代表在一个音频场景内唯一的位置和方向信息。 属性 number positionX 右手笛卡尔坐标系中X轴的位置。 number positionY 右手笛卡尔坐标系中Y轴的位置。 number positionZ 右手笛卡尔坐标系中Z轴的位置。 numb
阅读全文
posted @
2025-01-06 09:25
AtlasLapetos
阅读(14)
推荐(0)
AudioContext.setSrc
摘要:AudioContext.setSrc(string src) 从基础库 1.6.0 开始,本接口停止维护,请使用 wx.createInnerAudioContext 代替 小程序插件:支持 功能描述 设置音频地址 参数 string src 音频地址
阅读全文
posted @
2025-01-06 09:25
AtlasLapetos
阅读(4)
推荐(0)
AudioContext.seek
摘要:AudioContext.seek(number position) 从基础库 1.6.0 开始,本接口停止维护,请使用 wx.createInnerAudioContext 代替 小程序插件:支持 功能描述 跳转到指定位置。 参数 number position 跳转位置,单位 s
阅读全文
posted @
2025-01-06 09:25
AtlasLapetos
阅读(8)
推荐(0)
AudioContext.play
摘要:AudioContext.play() 从基础库 1.6.0 开始,本接口停止维护,请使用 wx.createInnerAudioContext 代替 小程序插件:支持 功能描述 播放音频。
阅读全文
posted @
2025-01-06 09:25
AtlasLapetos
阅读(10)
推荐(0)