Host Speech Synthesis End of trail navigation bar

Table of Contents

Host Beep

Emits a beep sound of the given frequency and duration on the host.

Library

QUARC Targets/Devices/Peripherals/Host

MATLAB Command Line

Click to copy the following command line to the clipboard. Then paste it in the MATLAB Command Window:

qc_open_library('quarc_library/Devices/Peripherals/Host')

Description

Host Beep

The Host Beep block emits a beep sound of the given frequency and duration on the host system, rather than on the target system. The frequency and duration are specified as external inputs. The Host Beep block is typically placed inside a Triggered Subsystem so that the model beeps in response to an event, such as a recoverable error condition.

Input Ports

freq

The frequency of the beep in Hertz. Different hosts support different frequency ranges. For example, Windows supports frequencies between 37 Hz and 32.767 kHz.

secs

The duration of the beep in seconds. Once a beep is started, it continues for the full duration, even if the inputs change.

Output Ports

This block has no output ports.

Parameters and Dialog Box

Host Beep

Sample time

The sample time of the block. A sample time of 0 indicates that the block will be treated as a continuous time block. A positive sample time indicates that the block is a discrete time block with the given sample time.

A sample time of -1 indicates that the block inherits its sample time. Since this is a source block, only inherent the sample time when it is placed in a conditionally executed subsystem, like a Triggered or Enabled Subsystem, or in a referenced model.

The default sample time is set to -1, since this block is typically used in a Triggered Subsystem.

Targets

Target Name

Compatible*

Model Referencing

Comments

QUARC Win32 Target

Yes

Yes

QUARC Win64 Target

Yes

Yes

QUARC Linux Nvidia Target

Yes

Yes

QUARC Linux QBot Platform Target

Yes

Yes

QUARC Linux QCar 2 Target

Yes

Yes

QUARC Linux QDrone 2 Target

Yes

Yes

QUARC Linux Raspberry Pi 3 Target

Yes

Yes

QUARC Linux Raspberry Pi 4 Target

Yes

Yes

QUARC Linux RT ARMv7 Target

Yes

Yes

QUARC Linux x64 Target

Yes

Yes

QUARC Linux DuoVero Target

Yes

Yes

QUARC Linux DuoVero 2016 Target

Yes

Yes

QUARC Linux Verdex Target

Yes

Yes

QUARC QNX x86 Target

Yes

Yes

Last fully supported in QUARC 2018.

Rapid Simulation (RSIM) Target

Yes

Yes

S-Function Target

No

N/A

Old technology. Use model referencing instead.

Normal simulation

Yes

Yes

* Compatible means that the block can be compiled for the target.

See Also

 

navigation bar