Generate periodic signal from single-cycle waveforms
这Wavetablesynthesizer
System object™ generates a periodic signal with tunable properties. The periodic signal is defined by a single-cycle waveform cached as theWavetable
property of yourWavetablesynthesizer
object.
To generate a periodic signal:
创建Wavetablesynthesizer
object and set its properties.
Call the object with arguments, as if it were a function.
To learn more about how System objects work, seeWhat Are System Objects?
creates a wavetable synthesizer System object,waveSynth
= wavetableSynthesizerwaveSynth
,具有默认属性值。
sets theWavetableproperty towaveSynth
= wavetableSynthesizer(wavetableValue
)wavetableValue
。
sets theFrequencyproperty towaveSynth
= wavetableSynthesizer(wavetableValue
,frequencyValue
)frequencyValue
。
WaveSynth = WaveTablessynthesizer(___,
sets each propertyName,Value
)Name
to the specifiedValue
。Unspecified properties have default values.
WaveSynth = WaveTablessynthesizer('振幅',2,'DCOffset',2.5)
creates a System object,waveSynth
, that generates the default sine waveform with an amplitude of 2 and a DC offset of 2.5.
To use an object function, specify the System object as the first input argument. For example, to release system resources of a System object namedobj
,使用此语法:
release(obj)
这createAudioPluginClass
andconfigureMIDI
功能映射可调属性Wavetablesynthesizer
System object to user-facing parameters:
Property | Range | Mapping | Unit |
---|---|---|---|
Frequency |
[0.1, 20000] | 日志 | Hz |
Amplitude |
[0, 10] | linear | none |
DCOffset |
[–10,10] | linear | none |