xPC Target Speaker Blocks
Version 1.0.0.1 (34.4 KB) by
Jon Raichek
A block library containing utility blocks to play music over the internal speaker of a target PC.
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.
Cite As
Jon Raichek (2026). xPC Target Speaker Blocks (https://www.mathworks.com/matlabcentral/fileexchange/23007-xpc-target-speaker-blocks), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Block Libraries in Help Center and MATLAB Answers
Tags
Acknowledgements
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
