樂器
8 個節點
本頁內容 8
FM 樂器
函數A General MIDI voice on an emulated OPL FM chip.
FM 樂器 -> Instrument
樂器: General Midi Instrument
晶片: OplChipTypeInstrument FmInstrument(
GeneralMidiInstrument instrument = GeneralMidiInstrument.AcousticGrandPiano,
OplChipType chip = OplChipType.Opl3)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 樂器 | General Midi Instrument | Acoustic grand piano | Which voice. |
| 晶片 | OplChipType | Opl3 | OPL2 or OPL3. |
返回
| 樂器 | Instrument |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 樂器
- 所屬包
- 音樂
演奏聲部
函數Music played on one instrument, whatever instruments it names: a part, ready for the mixer.
演奏聲部 -> AudioBuffer
音樂: Music
樂器: Instrument
每分鐘拍數: 數字
尾音: 數字
取樣率: 整數AudioBuffer PlayPart(
Music music,
Instrument instrument,
double beatsPerMinute = 120,
double tail = 1,
int sampleRate = 44100)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 音樂 | Music | — | The part. |
| 樂器 | Instrument | — | What plays it. |
| 每分鐘拍數 | 數字 | 120 | Quarter notes a minute. |
| 尾音 | 數字 | 1 | Seconds after the last note. |
| 取樣率 | 整數 | 44100 | Output rate. |
返回
| 音訊 | AudioBuffer |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 樂器
- 所屬包
- 音樂
撥絃樂器
函數A plucked string: each note a burst of noise ringing at its pitch, dying away high harmonics first, damped when the key lifts.
撥絃樂器 -> Instrument
衰減: 數字
亮度: 數字
釋音: 數字
增益: 數字Instrument PluckedInstrument(
double decay = 3,
double brightness = 0.6,
double release = 0.08,
double gain = 0.6)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 衰減 | 數字 | 3 | Seconds for a held note to fall 60 dB. |
| 亮度 | 數字 | 0.6 | 0 to 1: a soft finger to a hard pick; louder notes are brighter. |
| 釋音 | 數字 | 0.08 | Seconds a lifted note takes to be damped. |
| 增益 | 數字 | 0.6 | The voice's level. |
返回
| 樂器 | Instrument |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 樂器
- 所屬包
- 音樂
預設樂器
函數Any preset of a SoundFont - another bank's variation, or a drum kit, which plays by key.
預設樂器 -> Instrument
預設: Sound Font Preset
音色庫: Sound Font BankInstrument PresetInstrument(
SoundFontPreset preset,
SoundFontBank soundFont)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 預設 | Sound Font Preset | — | The preset, from Presets or Find Preset. |
| 音色庫 | Sound Font Bank | — | The font it belongs to; the default when not connected. |
返回
| 樂器 | Instrument |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 樂器
- 所屬包
- 音樂
取樣器樂器
函數A recording played at every pitch: the root note at its own speed, the rest faster or slower.
取樣器樂器 -> Instrument
取樣: AudioBuffer
根音: 文字
起音: 數字
釋音: 數字
迴圈: 真否Instrument SamplerInstrument(
AudioBuffer sample,
string rootNote = "C4",
double attack = 0.002,
double release = 0.1,
bool loop = false)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 取樣 | AudioBuffer | — | The recording. |
| 根音 | 文字 | C4 | The note it sounds at, such as C4. |
| 起音 | 數字 | 0.002 | Seconds to fade in. |
| 釋音 | 數字 | 0.1 | Seconds to fade out after each note. |
| 迴圈 | 真否 | False | Whether a long note loops the recording. |
返回
| 樂器 | Instrument |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 樂器
- 所屬包
- 音樂
音色庫樂器
函數A General MIDI instrument from a SoundFont.
音色庫樂器 -> Instrument
樂器: General Midi Instrument
音色庫: Sound Font BankInstrument SoundFontInstrument(
GeneralMidiInstrument instrument = GeneralMidiInstrument.AcousticGrandPiano,
SoundFontBank soundFont)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 樂器 | General Midi Instrument | Acoustic grand piano | Which instrument. |
| 音色庫 | Sound Font Bank | — | The font; the default General MIDI one when not connected. |
返回
| 樂器 | Instrument |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 樂器
- 所屬包
- 音樂
合成器樂器
函數A subtractive synthesizer: detuned band-limited oscillators through a resonant ladder filter that the envelope opens.
合成器樂器 -> Instrument
波形: Oscillator Shape
失諧: 數字
截止頻率: 數字
共振: 數字
濾波包絡: 數字
起音: 數字
衰減: 數字
延音: 數字
釋音: 數字
增益: 數字Instrument SynthInstrument(
OscillatorShape shape = OscillatorShape.Saw,
double detune = 8,
double cutoff = 600,
double resonance = 0.3,
double filterEnvelope = 2400,
double attack = 0.005,
double decay = 0.25,
double sustain = 0.5,
double release = 0.2,
double gain = 0.4)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 波形 | Oscillator Shape | Saw | The oscillators' waveform. |
| 失諧 | 數字 | 8 | Cents between the two oscillators; 0 for one. |
| 截止頻率 | 數字 | 600 | The filter's resting cutoff, hertz. |
| 共振 | 數字 | 0.3 | 0 to 1. |
| 濾波包絡 | 數字 | 2400 | Hertz the envelope opens the filter by. |
| 起音 | 數字 | 0.005 | Seconds to rise. |
| 衰減 | 數字 | 0.25 | Seconds to settle. |
| 延音 | 數字 | 0.5 | The level held, 0 to 1. |
| 釋音 | 數字 | 0.2 | Seconds to die away. |
| 增益 | 數字 | 0.4 | The voice's level. |
返回
| 樂器 | Instrument |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 樂器
- 所屬包
- 音樂
波表樂器
函數A wavetable synthesizer: each note plays the table at its pitch while the envelope sweeps the position, so the timbre moves as the note sounds.
波表樂器 -> Instrument
波表: Wavetable
位置: 數字
掃描: 數字
截止頻率: 數字
起音: 數字
衰減: 數字
延音: 數字
釋音: 數字
增益: 數字Instrument WavetableInstrument(
Wavetable table,
double position = 0,
double sweep = 0.6,
double cutoff = 6000,
double attack = 0.01,
double decay = 0.4,
double sustain = 0.6,
double release = 0.3,
double gain = 0.4)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 波表 | Wavetable | — | The waves; sine, triangle, saw and square when not connected. |
| 位置 | 數字 | 0 | Where across the waves a note rests, 0 to 1. |
| 掃描 | 數字 | 0.6 | How far the envelope moves the position at its peak. |
| 截止頻率 | 數字 | 6000 | The lowpass cutoff, hertz. |
| 起音 | 數字 | 0.01 | Seconds to rise. |
| 衰減 | 數字 | 0.4 | Seconds to settle. |
| 延音 | 數字 | 0.6 | The level held, 0 to 1. |
| 釋音 | 數字 | 0.3 | Seconds to die away. |
| 增益 | 數字 | 0.4 | The voice's level. |
返回
| 樂器 | Instrument |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 樂器
- 所屬包
- 音樂