元編程參考文件

Live Signal Session

9 個節點

本頁內容 9

Dispose

函數

Stops the sound and closes the devices.

簽名
Dispose(Live Signal Session: Live Signal Session)
void Dispose(LiveSignalSession Live Signal Session)

參數

名稱型別預設值說明
Live Signal SessionLive Signal Session—
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Live Signal Session
所屬包
音訊處理

Added Delay

函數

The wait the session itself adds between a sound arriving and its being heard: the output block and the inputs' average wait in their rings. The devices add their own; Live.LiveLatencyProbe measures the whole.

簽名
AddedDelay(Live Signal Session: Live Signal Session) -> TimeSpan
TimeSpan AddedDelay(LiveSignalSession Live Signal Session)

參數

名稱型別預設值說明
Live Signal SessionLive Signal Session—

返回

結果TimeSpan
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Live Signal Session
所屬包
音訊處理

Elapsed

函數

How long it has played.

簽名
Elapsed(Live Signal Session: Live Signal Session) -> TimeSpan
TimeSpan Elapsed(LiveSignalSession Live Signal Session)

參數

名稱型別預設值說明
Live Signal SessionLive Signal Session—

返回

結果TimeSpan
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Live Signal Session
所屬包
音訊處理

Engine

函數

The engine the sound plays on.

簽名
Engine(Live Signal Session: Live Signal Session) -> Live Engine
LiveEngine Engine(LiveSignalSession Live Signal Session)

參數

名稱型別預設值說明
Live Signal SessionLive Signal Session—

返回

結果Live Engine
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Live Signal Session
所屬包
音訊處理

Inputs

函數

The inputs it reads.

簽名
Inputs(Live Signal Session: Live Signal Session) -> IReadOnlyList<Live Input>
IReadOnlyList<LiveInput> Inputs(LiveSignalSession Live Signal Session)

參數

名稱型別預設值說明
Live Signal SessionLive Signal Session—

返回

結果IReadOnlyList<Live Input>
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Live Signal Session
所屬包
音訊處理

Is Playing

函數

Whether it is still playing.

簽名
IsPlaying(Live Signal Session: Live Signal Session) -> 真否
bool IsPlaying(LiveSignalSession Live Signal Session)

參數

名稱型別預設值說明
Live Signal SessionLive Signal Session—

返回

結果真否
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Live Signal Session
所屬包
音訊處理

Stop

函數

Stops the sound and closes the devices, and hands back what was played if it was being recorded, or an empty clip.

簽名
Stop(Live Signal Session: Live Signal Session) -> AudioBuffer
AudioBuffer Stop(LiveSignalSession Live Signal Session)

參數

名稱型別預設值說明
Live Signal SessionLive Signal Session—

返回

結果AudioBuffer
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Live Signal Session
所屬包
音訊處理

To String

函數

此節點沒有文件說明。

簽名
ToString(Live Signal Session: Live Signal Session) -> 文字
string ToString(LiveSignalSession Live Signal Session)

參數

名稱型別預設值說明
Live Signal SessionLive Signal Session—

返回

結果文字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Live Signal Session
所屬包
音訊處理

Start

函數

Starts playing a stereo sound live: opens a recording device for each input it reads, then the output.

簽名
Start -> Live Signal Session
    left: Signal
    right: Signal
    sampleRate: 整數
    blockFrames: 可選整數
    record: 真否
    output: I Live Output
    capture: I Live Capture
LiveSignalSession Start(
    Signal left,
    Signal right,
    int sampleRate = 44100,
    int? blockFrames,
    bool record = false,
    ILiveOutput output,
    ILiveCapture capture)

參數

名稱型別預設值說明
leftSignal—The left side.
rightSignal—The right side; the left again for a mono sound.
sampleRate整數44100The rate to run at.
blockFrames可選整數—Frames the device renders at a time; 5 ms when not given. See LiveEngine.BlockFrames.
record真否FalseWhether to keep what is played, for LiveSignalSession.Stop to hand back.
outputI Live Output—Where to play; LiveOutput.Current when not given.
captureI Live Capture—Where inputs come from; LiveCapture.Current when not given.

返回

結果Live Signal Session
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Live Signal Session
所屬包
音訊處理