元编程参考文档

播放

2 个节点

本页内容 2

播放是否可用

函数

Whether this machine has an audio device that AudioPlayback.Play can use.

签名
播放是否可用() -> 真否
bool IsPlaybackAvailable()

返回

可用真否
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
播放
所属包
音频处理

播放

函数

Plays a clip through the default audio device, and waits until it has finished.

签名
播放(音频: AudioBuffer) -> AudioBuffer
AudioBuffer Play(AudioBuffer audio)

参数

名称类型默认值说明
音频AudioBuffer—The clip to play.

返回

音频AudioBuffer

备注

Waiting is what lets a program play one sound after another: the next step starts when this one has been heard. With no audio device, this stops the program and says so rather than playing nothing silently.

所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
播放
所属包
音频处理