元编程参考文档

信号

38 个节点

本页内容 38

合唱

函数

A stereo chorus: the signal beside two copies of itself delayed by a few milliseconds that slowly drift, one side against the other, so one voice sounds like several.

签名
合唱 -> Stereo Signal
    信号: Signal
    速率: 数字
    深度: 数字
    混合: 数字
StereoSignal Chorus(
    Signal signal,
    double rate = 0.8,
    double depth = 0.003,
    double mix = 0.5)

参数

名称类型默认值说明
信号Signal—What is thickened.
速率数字0.8How fast the delays drift, cycles a second.
深度数字0.003Seconds the delays drift by either way.
混合数字0.5How much of the result is the drifting copies.

返回

立体声Stereo Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

压缩信号

函数

A compressor: everything over the threshold turned down by the ratio, with a soft knee and true attack and release times. Connect a sidechain to duck the signal under something else - a bass under a kick.

签名
压缩信号 -> Signal
    信号: Signal
    阈值: 数字
    压缩比: 数字
    起音: 数字
    释音: 数字
    拐点: 数字
    补偿增益: 数字
    侧链: Signal
Signal Compress(
    Signal signal,
    double threshold = -18,
    double ratio = 4,
    double attack = 0.01,
    double release = 0.1,
    double knee = 6,
    double makeup = 0,
    Signal sidechain)

参数

名称类型默认值说明
信号Signal—What is compressed.
阈值数字-18dBFS where it starts.
压缩比数字4Decibels in for each decibel out over the threshold.
起音数字0.01Seconds to clamp down.
释音数字0.1Seconds to let go.
拐点数字6Decibels over which it eases in.
补偿增益数字0Decibels added after.
侧链Signal—What it listens to instead of the signal.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

常量信号

函数

A value that does not change.

签名
常量信号(值: 数字) -> Signal
Signal Constant(double value = 1)

参数

名称类型默认值说明
值数字1The value.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

降采样失真信号

函数

A bitcrusher: fewer bits and a lower sample rate, for the grit of an early sampler.

签名
降采样失真信号(信号: Signal, 位数: 数字, 速率: 数字) -> Signal
Signal Crush(Signal signal, double bits = 8, double rate = 8000)

参数

名称类型默认值说明
信号Signal—What is crushed.
位数数字8Bits kept, 1 to 24.
速率数字8000Samples a second it is held at.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

信号延迟

函数

A signal through a delay line: echoes, or with a short moving time, chorus and flanging.

签名
信号延迟 -> Signal
    信号: Signal
    时间: 数字
    反馈: 数字
    混合: 数字
    时间调制: Signal
Signal Delay(
    Signal signal,
    double time = 0.25,
    double feedback = 0.3,
    double mix = 0.3,
    Signal timeModulation)

参数

名称类型默认值说明
信号Signal—What is delayed.
时间数字0.25Seconds, up to 2.
反馈数字0.3How much of each echo comes back, 0 to just under 1.
混合数字0.3How much of the result is echo; 1 is only the echo.
时间调制Signal—Seconds added every sample.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

包络

函数

An ADSR envelope following a gate - rising, settling, holding and dying away - for multiplying into a voice or wiring into a cutoff.

签名
包络 -> Signal
    门限: Signal
    起音: 数字
    衰减: 数字
    延音: 数字
    释音: 数字
    保持: 数字
Signal Envelope(
    Signal gate,
    double attack = 0.01,
    double decay = 0.1,
    double sustain = 0.7,
    double release = 0.3,
    double hold = 0.5)

参数

名称类型默认值说明
门限Signal—When the note is held; a single note of Hold seconds when not connected.
起音数字0.01Seconds to rise.
衰减数字0.1Seconds to fall to the sustain level.
延音数字0.7The level held, 0 to 1.
释音数字0.3Seconds to die away once the gate drops.
保持数字0.5Seconds the single note is held when no gate is connected.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

信号滤波

函数

A signal through a state-variable filter whose cutoff can move every sample.

签名
信号滤波 -> Signal
    信号: Signal
    模式: Filter Mode
    截止频率: 数字
    Q 值: 数字
    截止频率调制: Signal
Signal Filter(
    Signal signal,
    FilterMode mode = FilterMode.Lowpass,
    double cutoff = 1000,
    double q = 0.707,
    Signal cutoffModulation)

参数

名称类型默认值说明
信号Signal—What is filtered.
模式Filter ModeLowpassWhat passes.
截止频率数字1000Hertz.
Q 值数字0.707Resonance: 0.707 is flat.
截止频率调制Signal—Hertz added every sample.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

FM 算子

函数

An FM operator, as on a DX7: a sine whose phase another signal pushes. Wire one operator, scaled by a modulation index, into another's modulation for bells, electric pianos and basses.

签名
FM 算子 -> Signal
    频率: 数字
    调制: Signal
    调制指数: 数字
    反馈: 数字
    频率调制: Signal
Signal FmOperator(
    double frequency = 220,
    Signal modulation,
    double index = 1,
    double feedback = 0,
    Signal frequencyModulation)

参数

名称类型默认值说明
频率数字220Hertz.
调制Signal—The modulator, in radians.
调制指数数字1How hard the modulator pushes: the modulation index.
反馈数字0How much of its own output it feeds back, 0 to about 1.5; near 1.5 it is nearly a saw.
频率调制Signal—Hertz added every sample.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

波形折叠

函数

A wavefolder: the louder the signal is driven, the more it folds back on itself and the brighter it gets, without getting louder.

签名
波形折叠(信号: Signal, 增益: 数字, 增益调制: Signal) -> Signal
Signal Fold(
    Signal signal,
    double gain = 2,
    Signal gainModulation)

参数

名称类型默认值说明
信号Signal—What is folded.
增益数字2How hard it is driven; 1 leaves a full-scale signal alone.
增益调制Signal—Added to the gain every sample.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

信号增益

函数

A signal turned up or down.

签名
信号增益(信号: Signal, 增益: 数字) -> Signal
Signal Gain(Signal signal, double gain = 0.5)

参数

名称类型默认值说明
信号Signal—The signal.
增益数字0.5The factor.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

门限

函数

A gate: 1 while a note is held, 0 otherwise - once, or every period.

签名
门限(长度: 数字, 周期: 数字, 延迟: 数字) -> Signal
Signal Gate(
    double length = 0.25,
    double period = 0.5,
    double delay = 0)

参数

名称类型默认值说明
长度数字0.25Seconds it is held.
周期数字0.5Seconds from one note to the next; 0 for a single note.
延迟数字0Seconds before the first.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

颗粒合成

函数

Granular synthesis: a clip broken into short overlapping grains and played back from wherever position points - frozen when it stands still, stretched when it crawls, shifted in pitch without changing speed.

签名
颗粒合成 -> Signal
    音频: AudioBuffer
    位置: 数字
    音高: 数字
    颗粒长度: 数字
    密度: 数字
    抖动: 数字
    位置调制: Signal
    音高调制: Signal
    种子: 整数
Signal Granular(
    AudioBuffer audio,
    double position = 0,
    double pitch = 1,
    double grainLength = 0.08,
    double density = 25,
    double jitter = 0.01,
    Signal positionModulation,
    Signal pitchModulation,
    int seed = 1)

参数

名称类型默认值说明
音频AudioBuffer—The source clip.
位置数字0Where grains read from, 0 to 1 of the clip.
音高数字1Each grain's speed: 2 is an octave up.
颗粒长度数字0.08Seconds each grain lasts.
密度数字25Grains a second; times the grain length, at most 128 overlapping.
抖动数字0.01Seconds of random scatter in where each grain reads.
位置调制Signal—Added to the position every sample: a slow ramp scrubs through the clip.
音高调制Signal—Added to the pitch.
种子整数1Which scatter.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

梯形滤波器

函数

A signal through a four-pole ladder lowpass, the classic synthesizer filter: 24 dB an octave, singing as the resonance rises.

签名
梯形滤波器 -> Signal
    信号: Signal
    截止频率: 数字
    共振: 数字
    截止频率调制: Signal
Signal Ladder(
    Signal signal,
    double cutoff = 1000,
    double resonance = 0.3,
    Signal cutoffModulation)

参数

名称类型默认值说明
信号Signal—What is filtered.
截止频率数字1000Hertz.
共振数字0.30 to 1; near 1 it rings at the cutoff.
截止频率调制Signal—Hertz added every sample.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

平滑信号

函数

A signal smoothed: it follows its input exponentially, all but a thousandth of the way in the time given.

签名
平滑信号(信号: Signal, 时间: 数字) -> Signal
Signal Lag(Signal signal, double time = 0.1)

参数

名称类型默认值说明
信号Signal—What is smoothed.
时间数字0.1Seconds.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

低频振荡器

函数

A low-frequency oscillator moving between two values: the hand that turns a knob.

签名
低频振荡器 -> Signal
    波形: Oscillator Shape
    速率: 数字
    下限: 数字
    上限: 数字
Signal Lfo(
    OscillatorShape shape = OscillatorShape.Sine,
    double rate = 2,
    double low = -1,
    double high = 1)

参数

名称类型默认值说明
波形Oscillator ShapeSineHow it moves.
速率数字2Cycles a second.
下限数字-1Where it bottoms out.
上限数字1Where it tops out.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

混合信号

函数

Signals added together.

签名
混合信号(信号: Signal 数组) -> Signal
Signal Mix(Signal[] signals)

参数

名称类型默认值说明
信号Signal 数组—What is mixed.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

混合立体声信号

函数

Stereo signals added together, left to left and right to right.

签名
混合立体声信号(信号: Stereo Signal 数组) -> Stereo Signal
StereoSignal MixStereo(StereoSignal[] signals)

参数

名称类型默认值说明
信号Stereo Signal 数组—What is mixed.

返回

立体声Stereo Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

信号相乘

函数

One signal times another: an envelope applied to a voice, or ring modulation.

签名
信号相乘(信号: Signal, 乘以: Signal) -> Signal
Signal Multiply(Signal signal, Signal by)

参数

名称类型默认值说明
信号Signal—One.
乘以Signal—The other.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

噪声信号

函数

Noise from -1 to 1, the same every run for the same seed.

签名
噪声信号(颜色: Noise Color, 种子: 整数) -> Signal
Signal Noise(NoiseColor color = NoiseColor.White, int seed = 1)

参数

名称类型默认值说明
颜色Noise Color白噪声White, pink or brown - the same choice the Noise generator offers.
种子整数1Which noise.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

振荡器

函数

An oscillator from -1 to 1. Saw, square and triangle are band-limited, so a high note stays clean.

签名
振荡器 -> Signal
    波形: Oscillator Shape
    频率: 数字
    频率调制: Signal
Signal Oscillator(
    OscillatorShape shape = OscillatorShape.Saw,
    double frequency = 220,
    Signal frequencyModulation)

参数

名称类型默认值说明
波形Oscillator ShapeSawThe waveform.
频率数字220Hertz.
频率调制Signal—Hertz added every sample: vibrato, FM, a glide.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

声像信号

函数

A signal placed between the speakers, as loud wherever it is put; a moving position sweeps it across.

签名
声像信号 -> Stereo Signal
    信号: Signal
    位置: 数字
    位置调制: Signal
StereoSignal Pan(
    Signal signal,
    double position = 0,
    Signal positionModulation)

参数

名称类型默认值说明
信号Signal—What is placed.
位置数字0-1 left, 0 centre, 1 right.
位置调制Signal—Added to the position every sample: an LFO for auto-pan.

返回

立体声Stereo Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

信号变调

函数

A signal raised or lowered in pitch as it plays, without being sped up or slowed down: a voice an octave up for a chipmunk, down for a giant, or a fifth up mixed with the original for a harmony.

签名
信号变调 -> Signal
    信号: Signal
    半音: 数字
    窗长: 数字
    半音调制: Signal
Signal PitchShift(
    Signal signal,
    double semitones = 7,
    double window = 0.05,
    Signal semitonesModulation)

参数

名称类型默认值说明
信号Signal—What is shifted.
半音数字7How far; 12 is an octave up, -12 an octave down.
窗长数字0.05Seconds, 0.01 to 0.5.
半音调制Signal—Semitones added every sample.

返回

信号Signal

备注

Works as it plays, adding no more delay than Window, so it suits a live input. A longer window warbles less on a held note and smears a sharp one more.

所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

拨弦

函数

A plucked string: a burst of noise ringing in a delay line one period long, dying away high harmonics first. Every rise of the trigger plucks again.

签名
拨弦 -> Signal
    频率: 数字
    衰减: 数字
    亮度: 数字
    触发: Signal
    频率调制: Signal
    种子: 整数
Signal Pluck(
    double frequency = 220,
    double decay = 2,
    double brightness = 0.5,
    Signal trigger,
    Signal frequencyModulation,
    int seed = 1)

参数

名称类型默认值说明
频率数字220Hertz.
衰减数字2Seconds for the note to fall 60 dB.
亮度数字0.50 to 1: a soft finger to a hard pick.
触发Signal—When to pluck; once at the start when not connected.
频率调制Signal—Hertz added, read at each pluck: wire a sequence of pitches here.
种子整数1Which noise each pluck starts from.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

脉冲波

函数

A band-limited pulse, high for Width of each cycle; moving the width is pulse-width modulation.

签名
脉冲波 -> Signal
    频率: 数字
    占空比: 数字
    占空比调制: Signal
    频率调制: Signal
Signal Pulse(
    double frequency = 110,
    double width = 0.5,
    Signal widthModulation,
    Signal frequencyModulation)

参数

名称类型默认值说明
频率数字110Hertz.
占空比数字0.50 to 1; one half is a square.
占空比调制Signal—Added to the width every sample.
频率调制Signal—Hertz added every sample.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

斜坡

函数

A straight line from one value to another, then held: a glide, a fade, a pitch drop.

签名
斜坡(起始值: 数字, 结束值: 数字, 时长: 数字) -> Signal
Signal Ramp(double from = 1, double to = 0, double duration = 1)

参数

名称类型默认值说明
起始值数字1Where it starts.
结束值数字0Where it ends.
时长数字1Seconds it takes.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

渲染信号

函数

A signal turned into a clip.

签名
渲染信号(信号: Signal, 时长: 数字, 采样率: 整数) -> AudioBuffer
AudioBuffer Render(
    Signal signal,
    double duration = 2,
    int sampleRate = 44100)

参数

名称类型默认值说明
信号Signal—The patch.
时长数字2Seconds.
采样率整数44100Samples a second.

返回

音频AudioBuffer
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

渲染立体声信号

函数

Two signals turned into the left and right of a stereo clip; what they share is computed once.

签名
渲染立体声信号 -> AudioBuffer
    左声道: Signal
    右声道: Signal
    时长: 数字
    采样率: 整数
AudioBuffer RenderStereo(
    Signal left,
    Signal right,
    double duration = 2,
    int sampleRate = 44100)

参数

名称类型默认值说明
左声道Signal—The left side.
右声道Signal—The right side.
时长数字2Seconds.
采样率整数44100Samples a second.

返回

音频AudioBuffer
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

渲染立体声混音

函数

A stereo signal turned into a clip.

签名
渲染立体声混音 -> AudioBuffer
    立体声: Stereo Signal
    时长: 数字
    采样率: 整数
AudioBuffer RenderStereoMix(
    StereoSignal stereo,
    double duration = 2,
    int sampleRate = 44100)

参数

名称类型默认值说明
立体声Stereo Signal—The stereo signal.
时长数字2Seconds.
采样率整数44100Samples a second.

返回

音频AudioBuffer
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

混响信号

函数

A signal in a room: Freeverb's combs and allpasses, the tail as long as the room is big.

签名
混响信号 -> Signal
    信号: Signal
    房间大小: 数字
    阻尼: 数字
    混合: 数字
Signal Reverb(
    Signal signal,
    double roomSize = 0.6,
    double damping = 0.5,
    double mix = 0.3)

参数

名称类型默认值说明
信号Signal—What is reverberated.
房间大小数字0.60 to 1.
阻尼数字0.50 to 1: how quickly the highs die.
混合数字0.3How much of the result is reverb.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

播放采样

函数

A clip played back as a signal, at a speed: 2 is an octave up, -1 backwards.

签名
播放采样 -> Signal
    音频: AudioBuffer
    速度: 数字
    循环: 真否
    速度调制: Signal
Signal Sample(
    AudioBuffer audio,
    double speed = 1,
    bool loop = false,
    Signal speedModulation)

参数

名称类型默认值说明
音频AudioBuffer—The clip, mixed to mono.
速度数字1How fast.
循环真否FalseWhether it starts again when it ends.
速度调制Signal—Added to the speed every sample.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

采样保持

函数

A random value held until the next trigger, then a new one: the stepped random modulation of a sample-and-hold module. Connect a signal to sample something other than noise.

签名
采样保持(触发: Signal, 信号: Signal, 种子: 整数) -> Signal
Signal SampleAndHold(
    Signal trigger,
    Signal signal,
    int seed = 1)

参数

名称类型默认值说明
触发Signal—When to take a new value; four times a second when not connected.
信号Signal—What is sampled; white noise when not connected.
种子整数1Which noise.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

饱和

函数

Soft saturation: a hot signal rounds off instead of clipping, and gains harmonics as it is driven.

签名
饱和(信号: Signal, 驱动: 数字) -> Signal
Signal Saturate(Signal signal, double drive = 2)

参数

名称类型默认值说明
信号Signal—What is saturated.
驱动数字2How hard; 1 is gentle.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

摆率限制

函数

A signal that can move only so fast: a glide between notes, a softened gate.

签名
摆率限制(信号: Signal, 上升: 数字, 下降: 数字) -> Signal
Signal Slew(Signal signal, double rise = 0.1, double fall = 0.1)

参数

名称类型默认值说明
信号Signal—What is limited.
上升数字0.1Seconds to rise by one.
下降数字0.1Seconds to fall by one.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

立体声混响

函数

A signal in a stereo room: the two sides' tails differ, so the room has width.

签名
立体声混响 -> Stereo Signal
    信号: Signal
    房间大小: 数字
    阻尼: 数字
    混合: 数字
    宽度: 数字
StereoSignal StereoReverb(
    Signal signal,
    double roomSize = 0.6,
    double damping = 0.5,
    double mix = 0.3,
    double width = 1)

参数

名称类型默认值说明
信号Signal—What is reverberated.
房间大小数字0.60 to 1.
阻尼数字0.50 to 1: how quickly the highs die.
混合数字0.3How much of the result is reverb.
宽度数字10 to 1: how wide the tail spreads.

返回

立体声Stereo Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

由片段生成波表

函数

A wavetable cut from a recording, one wave every cycle length - the layout of Serum and Vital wavetable files at 2048.

签名
由片段生成波表(音频: AudioBuffer, 周期长度: 整数) -> Wavetable
Wavetable WavetableFromClip(
    AudioBuffer audio,
    int cycleLength = 2048)

参数

名称类型默认值说明
音频AudioBuffer—The recording.
周期长度整数2048Samples in each wave.

返回

波表Wavetable
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

由谐波生成波表

函数

A wavetable drawn from harmonic amplitudes: the first wave from one list, the last from another, and the waves between morphing from one to the other.

签名
由谐波生成波表 -> Wavetable
    谐波: 数字数组
    末帧谐波: 数字数组
    帧数: 整数
Wavetable WavetableFromHarmonics(
    double[] harmonics,
    double[] lastHarmonics,
    int frames = 16)

参数

名称类型默认值说明
谐波数字数组—Amplitudes of the fundamental, second harmonic, third and so on.
末帧谐波数字数组—The last wave's amplitudes; the same as the first when not connected.
帧数整数16Waves from first to last.

返回

波表Wavetable
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

波表振荡器

函数

A wavetable oscillator: a row of single-cycle waves played at a pitch and morphed by position, band-limited for every note so the top octave is as clean as the bottom.

签名
波表振荡器 -> Signal
    波表: Wavetable
    频率: 数字
    位置: 数字
    位置调制: Signal
    频率调制: Signal
Signal WavetableOscillator(
    Wavetable table,
    double frequency = 110,
    double position = 0,
    Signal positionModulation,
    Signal frequencyModulation)

参数

名称类型默认值说明
波表Wavetable—The waves; sine, triangle, saw and square when not connected.
频率数字110Hertz.
位置数字0Where across the waves, 0 to 1.
位置调制Signal—Added to the position every sample: an envelope or LFO sweeping the timbre.
频率调制Signal—Hertz added every sample.

返回

信号Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理

立体声宽度

函数

A stereo image narrowed or widened: 0 is mono, 1 unchanged, above 1 wider.

签名
立体声宽度(立体声: Stereo Signal, 宽度: 数字) -> Stereo Signal
StereoSignal Width(StereoSignal stereo, double width = 1.5)

参数

名称类型默认值说明
立体声Stereo Signal—The stereo signal.
宽度数字1.5How wide.

返回

立体声Stereo Signal
所属发行版
元编程(教育版)元编程(专业版)
可用的图种类
数据流 函数 事件 例程 蓝图 状态机状态
声明于
信号
所属包
音频处理