Code covered by the BSD License  

Highlights from
xPC Target Speaker Blocks

4.0 | 1 rating Rate this file 9 Downloads (last 30 days) File Size: 34.4 KB File ID: #23007 Version: 1.0
image thumbnail

xPC Target Speaker Blocks


Jon Raichek (view profile)


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

| Watch this File

File Information

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.


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

Required Products Simulink Coder
Simulink Real-Time
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

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

Contact us