音色庫
8 個節點
本頁內容 8
Default SoundFont
函數The General MIDI SoundFont that ships with Divooka: GeneralUser GS, 287 presets covering every General MIDI instrument and drum kit.
DefaultSoundFont() -> Sound Font Bank
SoundFontBank DefaultSoundFont()
返回
| SoundFont | Sound Font Bank |
備註
Set SYNTHSIZER_SOUNDFONT_FILE to use another font everywhere one is not given.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音色庫
- 所屬包
- 音樂
描述音色庫
函數A font's name, preset count, size and the text it stores about itself: author, copyright, comments.
描述音色庫(音色庫: Sound Font Bank) -> 文字
string DescribeSoundFont(SoundFontBank soundFont)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音色庫 | Sound Font Bank | — | The font; the default one when not connected. |
返回
| 描述 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音色庫
- 所屬包
- 音樂
查詢預設
函數The first preset whose name contains the given text, ignoring case - "piano", "strings", "kit".
查詢預設 -> Sound Font Preset
音色庫: Sound Font Bank
名稱: 文字SoundFontPreset FindPreset(
SoundFontBank soundFont,
string name = "piano")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音色庫 | Sound Font Bank | — | The font; the default one when not connected. |
| 名稱 | 文字 | piano | Part of the preset's name. |
返回
| 預設 | Sound Font Preset |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音色庫
- 所屬包
- 音樂
載入音色庫
函數Opens a SoundFont 2 file.
載入音色庫(路徑: 文字) -> Sound Font Bank
SoundFontBank LoadSoundFont(string path)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 路徑 | 文字 | — | An .sf2 file. |
返回
| 音色庫 | Sound Font Bank |
備註
A file is read once and shared while it is unchanged, so loading the same font on every run costs nothing after the first.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音色庫
- 所屬包
- 音樂
從位元組載入音色庫
函數Reads a SoundFont that is already in memory - an asset, a download, an attachment.
從位元組載入音色庫 -> Sound Font Bank
位元組: 位元組陣列
名稱: 文字SoundFontBank LoadSoundFontBytes(byte[] bytes, string name = "")
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 位元組 | 位元組陣列 | — | The whole .sf2 file. |
| 名稱 | 文字 | — | What to call it; the name stored in the file when empty. |
返回
| 音色庫 | Sound Font Bank |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音色庫
- 所屬包
- 音樂
預設列表
函數Every preset in a font, by bank and program.
預設列表(音色庫: Sound Font Bank) -> Sound Font Preset 陣列
SoundFontPreset[] Presets(SoundFontBank soundFont)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音色庫 | Sound Font Bank | — | The font; the default one when not connected. |
返回
| 預設 | Sound Font Preset 陣列 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音色庫
- 所屬包
- 音樂
儲存音色庫
函數Saves a font as an .sf2 file, creating the folder if it is not there.
儲存音色庫(音色庫: Sound Font Bank, 路徑: 文字) -> 文字
string SaveSoundFont(SoundFontBank soundFont, string path)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音色庫 | Sound Font Bank | — | The font to save. |
| 路徑 | 文字 | — | Where to write it. |
返回
| 路徑 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音色庫
- 所屬包
- 音樂
精簡音色庫
函數A smaller font holding only the chosen presets and the instruments and samples they use - for shipping the three sounds a piece plays instead of the whole bank.
精簡音色庫 -> Sound Font Bank
音色庫: Sound Font Bank
預設: 文字陣列SoundFontBank TrimSoundFont(
SoundFontBank soundFont,
string[] presets)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音色庫 | Sound Font Bank | — | The font to trim; the default one when not connected. |
| 預設 | 文字陣列 | — | The presets to keep, written bank:program, such as 0:0 for the piano and 128:0 for the standard drum kit. |
返回
| 音色庫 | Sound Font Bank |
備註
Stereo partners of kept samples are kept with them. Every kept preset sounds exactly as it did in the original.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 音色庫
- 所屬包
- 音樂