元編程參考文件

Wavetable

9 個節點

本頁內容 9

Frame Length

函數

Samples in one frame: 2048, the size Serum and Vital use, enough for 1024 harmonics.

簽名
FrameLength() -> 整數
int FrameLength()

返回

結果整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Wavetable
所屬包
音訊處理

Maximum Frames

函數

The most frames a table may hold.

簽名
MaximumFrames() -> 整數
int MaximumFrames()

返回

結果整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Wavetable
所屬包
音訊處理

Frame Count

函數

How many frames it morphs through.

簽名
FrameCount(Wavetable: Wavetable) -> 整數
int FrameCount(Wavetable Wavetable)

參數

名稱型別預設值說明
WavetableWavetable—

返回

結果整數
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Wavetable
所屬包
音訊處理

Name

函數

A name for the table, as it is shown.

簽名
Name(Wavetable: Wavetable) -> 文字
string Name(Wavetable Wavetable)

參數

名稱型別預設值說明
WavetableWavetable—

返回

結果文字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Wavetable
所屬包
音訊處理

To String

函數

此節點沒有文件說明。

簽名
ToString(Wavetable: Wavetable) -> 文字
string ToString(Wavetable Wavetable)

參數

名稱型別預設值說明
WavetableWavetable—

返回

結果文字
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Wavetable
所屬包
音訊處理

From Clip

函數

A table cut from a recording: consecutive runs of Cycle Length samples, each one frame - the layout wavetable files from Serum and Vital use when Cycle Length is 2048. Each run is resampled to Wavetable.FrameLength, and the whole table is scaled so its loudest frame peaks at 1.

簽名
FromClip(clip: AudioBuffer, cycleLength: 整數) -> Wavetable
Wavetable FromClip(AudioBuffer clip, int cycleLength = 2048)

參數

名稱型別預設值說明
clipAudioBuffer—The recording, mixed to mono.
cycleLength整數2048Samples in one frame of the recording.

返回

結果Wavetable
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Wavetable
所屬包
音訊處理

From Cycles

函數

A table from frames already drawn, each any length: resampled to Wavetable.FrameLength and used at the level given.

簽名
FromCycles(frames: IReadOnlyList<低精度數字陣列>) -> Wavetable
Wavetable FromCycles(IReadOnlyList<float[]> frames)

參數

名稱型別預設值說明
framesIReadOnlyList<低精度數字陣列>—Single cycles.

返回

結果Wavetable
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Wavetable
所屬包
音訊處理

From Harmonics

函數

A table from the amplitudes of its harmonics: First is the first frame's, Last the last's, and the frames between morph from one spectrum to the other. The amplitudes are used as given - a single 1 is a sine of amplitude 1.

簽名
FromHarmonics -> Wavetable
    first: IReadOnlyList<數字>
    last: IReadOnlyList<數字>
    frames: 整數
Wavetable FromHarmonics(
    IReadOnlyList<double> first,
    IReadOnlyList<double> last,
    int frames = 1)

參數

名稱型別預設值說明
firstIReadOnlyList<數字>—The amplitude of the fundamental, the second harmonic, the third and so on.
lastIReadOnlyList<數字>—The last frame's amplitudes; the same as the first when not given.
frames整數1How many frames from first to last.

返回

結果Wavetable
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Wavetable
所屬包
音訊處理

Basic Shapes

函數

Four frames - sine, triangle, saw and square - so sweeping the position walks from the purest tone to the buzziest, the table most synthesizers open with.

簽名
BasicShapes() -> Wavetable
Wavetable BasicShapes()

返回

結果Wavetable
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Wavetable
所屬包
音訊處理