元编程参考文档

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
所属包
音频处理