Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

sound (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: audio

Requires: MathScript RT Module

Syntax

sound(a)

sound(a, fs)

sound(a, fs, bits)

Description

Plays the content of vectors.

Inputs

Name Description
a Specifies the content you want to hear. If a is a vector, LabVIEW plays the output on a single channel. If a is a matrix, LabVIEW plays the output on two channels, or in stereo sound. a is a vector or matrix of integers or real numbers.
fs Specifies the sampling frequency. Valid values of fs are 8000, 11025, 22050, and 44100 Hz. fs is a scalar.
bits Specifies the number of valid bits. bits is a positive integer. The default is 16.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets No

Related Topics

beep
soundscaled
wavplay
wavrecord


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit