演奏事件
13 個節點
本頁內容 13
演奏事件
函數One note as it sounds: when, how long, which key, how hard, on what.
簽名
演奏事件 -> Music Event
Start: 數字
Length: 數字
Key: 整數
Velocity: 整數
Instrument: General Midi Instrument
Percussion: 真否MusicEvent MusicEvent(
double Start,
double Length,
int Key,
int Velocity,
GeneralMidiInstrument Instrument,
bool Percussion)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Start | 數字 | — | Seconds from the beginning. |
| Length | 數字 | — | Seconds it sounds. |
| Key | 整數 | — | MIDI key; for drums, the drum. |
| Velocity | 整數 | — | MIDI velocity, 1 to 127. |
| Instrument | General Midi Instrument | — | The General MIDI instrument; ignored for drums. |
| Percussion | 真否 | — | Whether it is played on the drum kit. |
返回
| 演奏事件 | Music Event |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 演奏事件
- 所屬包
- 音樂
Deconstruct
函數此節點沒有文件說明。
簽名
Deconstruct(Music Event: Music Event) -> (Start: 數字, Length: 數字, Key: 整數, Velocity: 整數, Instrument: General Midi Instrument, Percussion: 真否)
void Deconstruct(
MusicEvent Music Event,
out double Start,
out double Length,
out int Key,
out int Velocity,
out GeneralMidiInstrument Instrument,
out bool Percussion)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Music Event | Music Event | — |
返回
| Start | 數字 |
| Length | 數字 |
| Key | 整數 |
| Velocity | 整數 |
| Instrument | General Midi Instrument |
| Percussion | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 演奏事件
- 所屬包
- 音樂
Equals
函數此節點沒有文件說明。
過載 1/2
簽名
Equals(Music Event: Music Event, obj: 任意) -> 真否
bool Equals(MusicEvent Music Event, object obj)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Music Event | Music Event | — | |
| obj | 任意 | — |
返回
| 結果 | 真否 |
過載 2/2
簽名
Equals(Music Event: Music Event, other: Music Event) -> 真否
bool Equals(MusicEvent Music Event, MusicEvent other)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Music Event | Music Event | — | |
| other | Music Event | — |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 演奏事件
- 所屬包
- 音樂
Instrument
函數The General MIDI instrument; ignored for drums.
簽名
Instrument(Music Event: Music Event) -> General Midi Instrument
GeneralMidiInstrument Instrument(MusicEvent Music Event)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Music Event | Music Event | — |
返回
| 結果 | General Midi Instrument |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 演奏事件
- 所屬包
- 音樂
Key
函數MIDI key; for drums, the drum.
簽名
Key(Music Event: Music Event) -> 整數
int Key(MusicEvent Music Event)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Music Event | Music Event | — |
返回
| 結果 | 整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 演奏事件
- 所屬包
- 音樂
Length
函數Seconds it sounds.
簽名
Length(Music Event: Music Event) -> 數字
double Length(MusicEvent Music Event)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Music Event | Music Event | — |
返回
| 結果 | 數字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 演奏事件
- 所屬包
- 音樂
Percussion
函數Whether it is played on the drum kit.
簽名
Percussion(Music Event: Music Event) -> 真否
bool Percussion(MusicEvent Music Event)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Music Event | Music Event | — |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 演奏事件
- 所屬包
- 音樂
Start
函數Seconds from the beginning.
簽名
Start(Music Event: Music Event) -> 數字
double Start(MusicEvent Music Event)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Music Event | Music Event | — |
返回
| 結果 | 數字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 演奏事件
- 所屬包
- 音樂
Velocity
函數MIDI velocity, 1 to 127.
簽名
Velocity(Music Event: Music Event) -> 整數
int Velocity(MusicEvent Music Event)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Music Event | Music Event | — |
返回
| 結果 | 整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 演奏事件
- 所屬包
- 音樂
Get Hash Code
函數此節點沒有文件說明。
簽名
GetHashCode(Music Event: Music Event) -> 整數
int GetHashCode(MusicEvent Music Event)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Music Event | Music Event | — |
返回
| 結果 | 整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 演奏事件
- 所屬包
- 音樂
To String
函數0.50 s C4 0.25 s v100 AcousticGrandPiano.
簽名
ToString(Music Event: Music Event) -> 文字
string ToString(MusicEvent Music Event)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Music Event | Music Event | — |
返回
| 結果 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 演奏事件
- 所屬包
- 音樂
Op Equality
函數此節點沒有文件說明。
簽名
op_Equality(left: Music Event, right: Music Event) -> 真否
bool op_Equality(MusicEvent left, MusicEvent right)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| left | Music Event | — | |
| right | Music Event | — |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 演奏事件
- 所屬包
- 音樂
Op Inequality
函數此節點沒有文件說明。
簽名
op_Inequality(left: Music Event, right: Music Event) -> 真否
bool op_Inequality(MusicEvent left, MusicEvent right)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| left | Music Event | — | |
| right | Music Event | — |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 演奏事件
- 所屬包
- 音樂