MATLAB SIGNAL PROCESSING BLOCKSET 7 User's Guide Page 602

  • Download
  • Add to my manuals
  • Print
  • Page
    / 738
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 601
To Wave Device
5-445
Buffering
Because the audio device generates real-time audio output, Simulink must
maintain a continuous flow of data to the device throughout the simulation.
Delays in passing data to the audio hardware can result in hardware errors or
distortion of the output. This means that the To Wave Device block must in
principle supply data to the audio hardware as quickly as the hardware reads
the data. However, the To Wave Device block often cannot match the
throughput rate of the audio hardware, especially when the simulation is
running from within Simulink rather than as generated code. (Simulink
execution speed routinely varies during the simulation as the host operating
system services other processes.) The block must therefore rely on a buffering
strategy to ensure that signal data is accessible to the hardware on demand.
At the start of the simulation, the To Wave Device block writes T
d
seconds
worth of signal data to the device (hardware) buffer, where T
d
is specified by
the
Initial output delay parameter. When this initial data is loaded into the
buffer, the audio device begins processing the buffered data, and continues at
a constant rate until the buffer empties. The size of the buffer, T
b
, is specified
by the
Queue duration parameter. As the audio device reads data from the
front of the buffer, the To Wave Device block continues appending inputs to the
back of the buffer at the rate they are received.
The following figure shows an audio signal with 8 samples per frame. The
buffer of the sound board has a five-frame capacity, not fully used at the instant
shown. (If the signal sample rate was 8kHz, for instance, this small buffer
could hold approximately 0.005 seconds of data.)
If the simulation throughput rate is higher than the hardware throughput
rate, the buffer remains at a constant level throughout the simulation. If
necessary, the To Wave Device block buffers inputs until space becomes
available in the hardware buffer (i.e., data is not thrown away). More typically,
board
Hardware buffer with
5-frame ca
p
acit
y
Simu
l
in
k
execution rate varies Har
d
ware execution rate is constant
no delays
Simulation delay
Page view 601
1 2 ... 597 598 599 600 601 602 603 604 605 606 607 ... 737 738

Comments to this Manuals

No comments

Tycon-power TPW-400DT 12/24V 400W Turbine Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Stromversorger Tycon-power TPW-400DT 12/24V 400W Turbine.
Wir stellen 1 PDF-Handbücher Tycon-power TPW-400DT 12/24V 400W Turbine zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung






Weitere Produkte und Handbücher für Stromversorger Tycon-power

Modelle Dokumententyp
TP-SWxxNC-OUT Bedienungsanleitung   Tycon Power TP-SWxxNC-OUT User Manual, 4 Seiten
TP-SW5G(-NC) Bedienungsanleitung   Tycon Power TP-SW5G(-NC) User Manual, 15 Seiten
TP-SSW5(-NC) Bedienungsanleitung   Tycon Power TP-SSW5(-NC) User Manual, 10 Seiten
TP-SW8(-NC) Bedienungsanleitung   Tycon Power TP-SW8(-NC) User Manual, 11 Seiten
TP-MS4x4 Bedienungsanleitung   Tycon Power TP-MS4x4 User Manual, 6 Seiten
TP-MS608/616 Bedienungsanleitung   Tycon Power TP-MS608/616 User Manual, 31 Seiten
TP-MS324 Bedienungsanleitung   Tycon Power TP-MS324 User Manual, 31 Seiten
TP-PP120-INV Bedienungsanleitung   Tycon Power TP-PP120-INV User Manual, 2 Seiten
TPDIN-Monitor-WEB Bedienungsanleitung   Tycon Power TPDIN-Monitor-WEB User Manual, 8 Seiten
BATTMETER Bedienungsanleitung   Tycon Power BATTMETER User Manual, 4 Seiten
TP2700WC Bedienungsanleitung   Tycon Power TP2700WC User Manual, 31 Seiten
TP-BC12-300 Bedienungsanleitung   Tycon Power TP-BC12-300 User Manual, 6 Seiten
TP-BC24-300 Bedienungsanleitung   Tycon Power TP-BC24-300 User Manual, 6 Seiten
TP-BC48-300 Bedienungsanleitung   Tycon Power TP-BC48-300 User Manual, 6 Seiten
ENC-ST-23X14X12 Bedienungsanleitung   Tycon Power ENC-ST-23X14X12 User Manual, 1 Seiten
RPST-PowerVent Bedienungsanleitung   Tycon Power RPST-PowerVent User Manual, 4 Seiten
RPDC12-9-10 Bedienungsanleitung   Tycon Power RPDC12-9-10 User Manual, 4 Seiten
RPST2424-100-280 Bedienungsanleitung   Tycon Power RPST2424-100-280 User Manual, 12 Seiten
RPPL2424-18-30 Bedienungsanleitung   Tycon Power RPPL2424-18-30 User Manual, 8 Seiten