xPC Target Speaker Blocks
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 (2024). xPC Target Speaker Blocks (https://www.mathworks.com/matlabcentral/fileexchange/23007-xpc-target-speaker-blocks), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.