SF_File_Input

Sonic Flow Blocks Reference Guide

The purpose of SF_File_Input is to read in an audio signal file and output the signal in question. The signal must be a 1-32-bit PCM audio signal and must contain one channel. Supported file formats are AIFF and RIFF WAV. The sampling rate specified in the signal file is discarded.

SF_File_Input (const char* name = 0);

This is the constructor of a SF_File_Input block. Following attributes of the class are specified in the constructor:

virtual ~SF_File_Input ();

This is the destructor.

virtual void finish ();
virtual void initialize ();
virtual void execute ();

The initialize - execute - finish chain of function calls is used to carry out the simulation of a block. See SF_Block.

enum Input_Indices {};

enum Output_Indices {Y};

const char* get_file_name ();

void set_file_name (const char* file_name);


Last modified: Wed Dec 2 13:28:47 1998
jarno.seppanen@cs.tut.fi
Audio Research Group