C# Class CsoundUnity, CsoundUnity

Inheritance: MonoBehaviour
Show file Open project: rorywalsh/CsoundUnity Class Usage Examples

Public Properties

Property Type Description
logCsoundOutput bool
mute bool
processClipAudio bool

Public Methods

Method Description
Awake ( ) : void
OnApplicationQuit ( ) : void
OnAudioFilterRead ( float data, int channels ) : void
Remap ( float value, float from1, float to1, float from2, float to2 ) : float
get0dbfs ( ) : double
getChannel ( string channel ) : double
getFilePath ( Object obj ) : string
getKsmps ( ) : uint
getSample ( int frame, int channel ) : double
getTableSample ( int tableNumber, int index ) : double
logCsoundMessages ( ) : void
parseCsdFile ( string filename ) : List
performKsmps ( ) : int
processBlock ( float samples, int numChannels ) : void
sendScoreEvent ( string scoreEvent ) : void
setChannel ( string channel, float val ) : void
setKr ( ) : double
setSample ( int frame, int channel, double sample ) : void
setStringChannel ( string channel, string val ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

OnApplicationQuit() public method

public OnApplicationQuit ( ) : void
return void

OnAudioFilterRead() public method

public OnAudioFilterRead ( float data, int channels ) : void
data float
channels int
return void

Remap() public static method

public static Remap ( float value, float from1, float to1, float from2, float to2 ) : float
value float
from1 float
to1 float
from2 float
to2 float
return float

get0dbfs() public method

public get0dbfs ( ) : double
return double

getChannel() public method

public getChannel ( string channel ) : double
channel string
return double

getFilePath() public method

public getFilePath ( Object obj ) : string
obj Object
return string

getKsmps() public method

public getKsmps ( ) : uint
return uint

getSample() public method

public getSample ( int frame, int channel ) : double
frame int
channel int
return double

getTableSample() public method

public getTableSample ( int tableNumber, int index ) : double
tableNumber int
index int
return double

logCsoundMessages() public method

public logCsoundMessages ( ) : void
return void

parseCsdFile() public method

public parseCsdFile ( string filename ) : List
filename string
return List

performKsmps() public method

public performKsmps ( ) : int
return int

processBlock() public method

public processBlock ( float samples, int numChannels ) : void
samples float
numChannels int
return void

sendScoreEvent() public method

public sendScoreEvent ( string scoreEvent ) : void
scoreEvent string
return void

setChannel() public method

public setChannel ( string channel, float val ) : void
channel string
val float
return void

setKr() public method

public setKr ( ) : double
return double

setSample() public method

public setSample ( int frame, int channel, double sample ) : void
frame int
channel int
sample double
return void

setStringChannel() public method

public setStringChannel ( string channel, string val ) : void
channel string
val string
return void

Property Details

logCsoundOutput public property

public bool logCsoundOutput
return bool

mute public property

public bool mute
return bool

processClipAudio public property

public bool processClipAudio
return bool