ReadOROSWaveFile (FPScript)

21.09.2021

Reads a channel from an OROS Wave file.

Syntax

ReadOROSWaveFile(File, ChannelNumber)

 

The syntax of the ReadOROSWaveFile function consists of the following parts:

Part

Description

File

String with the path of the OROS Wave file to be read.

Permitted data structures are scalar value. Supported data types are string (file name).

ChannelNumber

The one-based index of the channel to be read.

Permitted data structures are scalar value. All integral data types are permitted.

The value must be greater or equal to 1.

Remarks

For mono files, the result is a signal. The result is a signal series for multi-channel files.

If the argument is a list, then the function is executed for each element of the list and the result is also a list.

Available in

FlexPro View, Basic, Professional, Developer Suite

Examples

ReadOROSWaveFile("c:\\examples\\file.wav", 1)

Imports the first channel from an OROS Wave file.

See Also

File Import

Share article or send as email:

You might be interested in these articles