SndIn


Description

This object receives one channel from a SndIO-derived object and outputs it in the SndObj processing chain.


Construction

SndIn()
SndIn(SndIO *input, short channel=1)

Public Methods

void SetInput(SndIO* input, short channel=1)

virtual short DoProcess()
virtual char* ErrorMessage()


SndIn()
SndIn(SndIO* input, short channel=1)

These methods construct an object of the SndIn class. Construction parameters are:

SndIO* input: pointer to the location of a SndIO-derived class, such as, a soundfile input object, a realtime input object, etc....
short channel: audio channel from which a monophonic stream will be read. Defaults to channel 1.


short SetInput(SndObj* input, short channel)

Sets the input object and the channel from which the sound will be sourced. 

SndIO* input: pointer to the location of a SndIO-derived class, such as, a soundfile input object, a realtime input object, etc....
short channel: audio channel from which a monophonic stream will be read. Defaults to channel 1.


SndObj Library version 2.0
© Victor Lazzarini, 2001
Music Technology Laboratory
NUI Maynooth