現場演奏
9 個節點
本頁內容 9
新增現場音軌
函數Adds a track to a live session: another pattern on another instrument, in time with the rest from the next cycle.
新增現場音軌 -> Live Session
會話: Live Session
節奏型: Pattern
樂器: Instrument
名稱: 文字
增益: 數字LiveSession AddTrack(
LiveSession session,
Pattern pattern,
Instrument instrument,
string name = "bass",
double gain = 1)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 會話 | Live Session | — | The session. |
| 節奏型 | Pattern | — | What the track plays. |
| 樂器 | Instrument | — | What plays it; the default SoundFont's piano when not connected. |
| 名稱 | 文字 | bass | What to call the track, for Update Live. |
| 增益 | 數字 | 1 | The track's level. |
返回
| 會話 | Live Session |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 現場演奏
- 所屬包
- 音樂
現場錄音
函數Starts recording what a live session plays, from the next block.
現場錄音(會話: Live Session) -> Live Session
LiveSession Record(LiveSession session)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 會話 | Live Session | — | The session. |
返回
| 會話 | Live Session |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 現場演奏
- 所屬包
- 音樂
渲染現場演奏
函數Runs the live engine offline: a pattern on an instrument for some cycles, rendered exactly as the device would hear it, into a clip.
渲染現場演奏 -> AudioBuffer
節奏型: Pattern
樂器: Instrument
每分鐘拍數: 數字
迴圈數: 整數
每迴圈拍數: 數字
尾音: 數字
取樣率: 整數AudioBuffer Render(
Pattern pattern,
Instrument instrument,
double beatsPerMinute = 120,
int cycles = 4,
double cycleBeats = 4,
double tail = 1,
int sampleRate = 44100)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 節奏型 | Pattern | — | What to play. |
| 樂器 | Instrument | — | What plays it; the default SoundFont's piano when not connected. |
| 每分鐘拍數 | 數字 | 120 | The tempo. |
| 迴圈數 | 整數 | 4 | How many cycles. |
| 每迴圈拍數 | 數字 | 4 | Beats a cycle lasts. |
| 尾音 | 數字 | 1 | Seconds after the last cycle, for the sound to ring out. |
| 取樣率 | 整數 | 44100 | Output rate. |
返回
| 音訊 | AudioBuffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 現場演奏
- 所屬包
- 音樂
設定現場速度
函數Changes a live session's tempo while it plays.
設定現場速度 -> Live Session
會話: Live Session
每分鐘拍數: 數字LiveSession SetTempo(
LiveSession session,
double beatsPerMinute = 120)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 會話 | Live Session | — | The session. |
| 每分鐘拍數 | 數字 | 120 | The new tempo. |
返回
| 會話 | Live Session |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 現場演奏
- 所屬包
- 音樂
設定現場音軌電平
函數Sets one track's level while it plays; 0 mutes it.
設定現場音軌電平 -> Live Session
會話: Live Session
音軌: 文字
增益: 數字LiveSession SetTrackGain(
LiveSession session,
string track = "",
double gain = 1)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 會話 | Live Session | — | The session. |
| 音軌 | 文字 | — | Which track; the first when empty. |
| 增益 | 數字 | 1 | The level. |
返回
| 會話 | Live Session |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 現場演奏
- 所屬包
- 音樂
開始現場演奏
函數Starts playing a pattern on the audio device, looping until it is stopped.
開始現場演奏 -> Live Session
節奏型: Pattern
樂器: Instrument
每分鐘拍數: 數字
每迴圈拍數: 數字LiveSession Start(
Pattern pattern,
Instrument instrument,
double beatsPerMinute = 120,
double cycleBeats = 4)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 節奏型 | Pattern | — | What to play. |
| 樂器 | Instrument | — | What plays it; the default SoundFont's piano when not connected. FM instruments play offline only. |
| 每分鐘拍數 | 數字 | 120 | The tempo. |
| 每迴圈拍數 | 數字 | 4 | Beats a cycle of the pattern lasts; 4 is a bar of 4/4. |
返回
| 會話 | Live Session |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 現場演奏
- 所屬包
- 音樂
停止現場演奏
函數Stops a live session.
停止現場演奏(會話: Live Session)
void Stop(LiveSession session)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 會話 | Live Session | — | The session. |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 現場演奏
- 所屬包
- 音樂
停止錄音
函數Stops recording a live session and gives back what was heard since Record Live, as a clip for the mixer or a file.
停止錄音(會話: Live Session) -> AudioBuffer
AudioBuffer StopRecording(LiveSession session)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 會話 | Live Session | — | The session. |
返回
| 音訊 | AudioBuffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 現場演奏
- 所屬包
- 音樂
更新現場演奏
函數Swaps what a track of a live session plays without stopping it, on the same beat grid: at the start of the next cycle unless told otherwise, so a phrase is never cut off halfway.
更新現場演奏 -> Live Session
會話: Live Session
節奏型: Pattern
音軌: 文字
量化: Live QuantizeLiveSession Update(
LiveSession session,
Pattern pattern,
string track = "",
LiveQuantize quantize = LiveQuantize.Cycle)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 會話 | Live Session | — | The session. |
| 節奏型 | Pattern | — | The new pattern. |
| 音軌 | 文字 | — | Which track; the first when empty. |
| 量化 | Live Quantize | Cycle | When the new pattern takes over. |
返回
| 會話 | Live Session |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 現場演奏
- 所屬包
- 音樂