Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

sound (MathScript RT Module Function)

LabVIEW 2010 Help

Edition Date: June 2010

Part Number: 371361G-01

»View Product Info

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.

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