Alias: null
Common Name: SignalWaveRead
Class: org. imirsel. m2k. io. SignalWaveRead

Overview: A Module for reading .wav files. The file name and path is taken from the metadata of a Signal object and is read all at once. The sample rate is also output.

Detailed Description: A module that takes as input a Signal object (org.imirsel.m2k.util.Signal), and takes the file path name from the Signal object fileLocation metadata. The file is read all at once, and output as a double array. The sample rate is also output as an integer. A display properties flag sets whether the .WAV file header information is to be printed.

Data Handling: the input data is not modified.


Inputs:
Signal
org. imirsel. m2k. util. Signal
Signal object with "File Location" metadata


Outputs:
Left Channel (Mono)
[D
Left Channel (Mono)


Right Channel
[D
Right Channel


Sample Rate
java. lang. Integer
Sample Rate



Properties:
Display .WAV File Properties
A flag to set whether the .WAV file properties are printed (e.g. sample rate, number of channels, bits per sample, etc).