Skip to main content
Version: current

Tone

Description

The signal generator block tone can generate different types of tones.

Mx1

Output

The output is a single dimension Mx1 tone.

Attributes

AttributeValue
NameTone
Settings
Sample rate48000 Hz
Start0 s
Length1 s
Amplitude1 FS
TypeSinusoid
Frequency1000 Hz
Outputs1

Name

Name specifies the name of the block.

Sample rate

Sample rate is the sample rate of the tone.

Start

Start 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.

Length

Length specifies the length of the tone from start in either s, ms or samples.

Amplitude

Amplitude is the amplitude (Peak) of the tone. As the signal is generated on the computer the unit is defined as FS.

Type

Type is the tone type. It can either be sinusoid or square.

Frequency

Frequency is the frequency of the tone in Hz.

Outputs

Outputs specifies the number of output(s) the block will have. Each output will output the same tone.

Literature