Tone
#
DescriptionThe signal generator block tone
can generate different types of tones.
#
OutputThe output is a single dimension Mx1
tone.
#
AttributesAttribute | Value |
---|---|
Name | Tone |
Settings | |
Sample rate | 48000 Hz |
Start | 0 s |
Length | 1 s |
Amplitude | 1 FS |
Type | Sinusoid |
Frequency | 1000 Hz |
Outputs | 1 |
#
NameName specifies the name of the block.
#
Sample rateSample rate is the sample rate of the tone.
#
StartStart specifies when the tone should start. If start is above 0 s the start is zeropadded accordingly.
The start can be defined in either s
, ms
or samples
.
#
LengthLength specifies the length of the tone from start in either s
, ms
or samples
.
#
AmplitudeAmplitude is the amplitude (Peak) of the tone. As the signal is generated on the computer the unit is
defined as FS
.
#
TypeType is the tone type. It can either be sinusoid
or square
.
#
FrequencyFrequency is the frequency of the tone in Hz
.
#
OutputsOutputs specifies the number of output(s) the block will have. Each output will output the same tone.
#
ExamplesA 5 Hz sinusoid and square tone with an amplitude of 1.