Code covered by the BSD License  

Highlights from
xPC Target Speaker Blocks

4.0

4.0 | 1 rating Rate this file 17 Downloads (last 30 days) File Size: 35.5 KB File ID: #23007
image thumbnail

xPC Target Speaker Blocks

by

 

A block library containing utility blocks to play music over the internal speaker of a target PC.

| Watch this File

File Information
Description

Two blocks are included in this library to play music over the internal speaker of a target PC. The “Speaker” block plays the frequencies supplied to its input port over the PC speaker. The “Song” block generates the frequencies for the “Speaker” block. The “Song” block can generate frequencies from vectors of time & frequency or from a string of ‘notes’ using the “song” function. Open speakerlib.pdf for installation instructions and examples.

Acknowledgements

This file inspired Synchronizing X Pc Targets Using The Parallel Port.

Required Products Simulink Coder
Simulink
xPC Target
MATLAB release MATLAB 7.7 (R2008b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
02 Apr 2009 Sam Mirsky

Cool!
Now if we could use the mic input, this would enable lots of possibilities.

Contact us