音符
12 個節點
本頁內容 12
音符
函數此節點沒有文件說明。
過載 1/2
音符 -> F Note
音高: F Note Pitch 陣列
基礎音級: 整數
力度: 整數
延長時值: 整數FNote FNote(
FNotePitch[] pitches,
int baseStep,
int velocity,
int extendedDuration)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音高 | F Note Pitch 陣列 | — | A single MIDI note or a chord of notes, or a vocal |
| 基礎音級 | 整數 | — | Duration: 1, 2, 4, 8, 16, 32 |
| 力度 | 整數 | — | The MIDI velocity range is from 0–127, with 127 being the loudest |
| 延長時值 | 整數 | — | How many additional 1/2 durations should we extend from Duration of this note |
返回
| 音符 | F Note |
過載 2/2
音符 -> F Note
音高: F Note Pitch 陣列
相對小節時長: 數字
力度: 整數FNote FNote(
FNotePitch[] pitches,
double relativeMeasureDuration,
int velocity)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音高 | F Note Pitch 陣列 | — | |
| 相對小節時長 | 數字 | — | |
| 力度 | 整數 | — |
返回
| 音符 | F Note |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音符
- 所屬包
- 音樂
相等
函數此節點沒有文件說明。
過載 1/2
相等(F Note: F Note, 物件: 任意) -> 真否
bool Equals(FNote F Note, object obj)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| F Note | F Note | — | |
| 物件 | 任意 | — |
返回
| 結果 | 真否 |
過載 2/2
相等(F Note: F Note, 另一個: F Note) -> 真否
bool Equals(FNote F Note, FNote other)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| F Note | F Note | — | |
| 另一個 | F Note | — |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 音符
- 所屬包
- 音樂
基礎音級
函數The step size that corresponds to one such note.
基礎音級(F Note: F Note) -> 數字
double BaseStep(FNote F Note)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| F Note | F Note | — |
返回
| 結果 | 數字 |
備註
Example: for FNote.MeasureFractionDuration of `0.25`, this is 4, meaning for a quarter note beat size, this note is one beat.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音符
- 所屬包
- 音樂
小節分數時值
函數Durations of note in fractional number of (any) beat size.
I.e. "how much of a (base) beat is this note"?
I.e. "How big are we in the 4/4 scale relative to that 1 (which is 4 times 1/4)?" A.a in a 4/4 measure, each 4th note is actually a 1/4, i.e. 0.25. It's 0.25 of that entire measure.
小節分數時值(F Note: F Note) -> 數字
double MeasureFractionDuration(FNote F Note)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| F Note | F Note | — |
返回
| 結果 | 數字 |
備註
Not fully supported yet, e.g. Types.ScoreSheetMIDIReader may not work.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音符
- 所屬包
- 音樂
取得音高
函數此節點沒有文件說明。
取得音高(F Note: F Note) -> F Note Pitch 陣列
FNotePitch[] Pitches(FNote F Note)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| F Note | F Note | — |
返回
| 結果 | F Note Pitch 陣列 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音符
- 所屬包
- 音樂
取得力度
函數此節點沒有文件說明。
取得力度(F Note: F Note) -> 整數
int Velocity(FNote F Note)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| F Note | F Note | — |
返回
| 結果 | 整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音符
- 所屬包
- 音樂
取得時值單位
函數此節點沒有文件說明。
取得時值單位(F Note: F Note, 分母: 數字) -> 整數
int GetDurationUnits(FNote F Note, double denominator)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| F Note | F Note | — | |
| 分母 | 數字 | — |
返回
| 結果 | 整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 音符
- 所屬包
- 音樂
取得雜湊碼
函數此節點沒有文件說明。
取得雜湊碼(F Note: F Note) -> 整數
int GetHashCode(FNote F Note)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| F Note | F Note | — |
返回
| 結果 | 整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 音符
- 所屬包
- 音樂
取得相對音階
函數How many (reference) beats is this note. E.g. if reference is an 8, and we are a 4, then we are twice the reference.
取得相對音階(F Note: F Note, 參考步長: 整數) -> 數字
double GetRelativeScale(FNote F Note, int referenceStepSize)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| F Note | F Note | — | |
| 參考步長 | 整數 | — |
返回
| 結果 | 數字 |
備註
If reference step is equal to our own FNote.BaseStep, then it will be 1 beat.
(Remark) The math is all weird because an 8 is actually smaller than a 4 in music.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 音符
- 所屬包
- 音樂
轉為文字
函數此節點沒有文件說明。
轉為文字(F Note: F Note) -> 文字
string ToString(FNote F Note)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| F Note | F Note | — |
返回
| 結果 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 音符
- 所屬包
- 音樂
相等運算
函數此節點沒有文件說明。
相等運算(左側: F Note, 右側: F Note) -> 真否
bool op_Equality(FNote left, FNote right)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 左側 | F Note | — | |
| 右側 | F Note | — |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音符
- 所屬包
- 音樂
不等運算
函數此節點沒有文件說明。
不等運算(左側: F Note, 右側: F Note) -> 真否
bool op_Inequality(FNote left, FNote right)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 左側 | F Note | — | |
| 右側 | F Note | — |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音符
- 所屬包
- 音樂