xPC Target Speaker Blocks

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

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.1

Updated license

1.0.0.0