Code covered by the BSD License  

Highlights from
xPC Target Speaker Blocks

4.0

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

xPC Target Speaker Blocks

by Jon Raichek

 

17 Feb 2009

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 submission has inspired the following:
Synchronizing xPC Targets using the Parallel Port
Required Products Real-Time Workshop
Simulink
xPC Target
MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
02 Apr 2009 Sam Mirsky

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

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
xpc target Jon Raichek 17 Feb 2009 17:45:04

Contact us at files@mathworks.com