Class:            SHARCSample

Environment:      Siren
Superclass:         Siren.Function
Category:         MusicApps-SHARC
Instance variables:   name pitch key nHarm ampl noPitch rePitch centroid
Indexed variables:   objects

initialize-release

initialize
   Initialize the receiver for the given size.

accessing

addLast: newObject
   Add newObject to the end of the receiver.

ampl
   Answer the receiver's 'ampl'.

ampl: anObject
   Set the receiver's instance variable 'ampl' to be anObject.

centroid
   Answer the receiver's 'centroid'.

centroid: anObject
   Set the receiver's instance variable 'centroid' to be anObject.

key
   Answer the receiver's 'key'.

key: anObject
   Set the receiver's instance variable 'key' to be anObject.

name
   Answer the receiver's 'name'.

name: anObject
   Set the receiver's instance variable 'name' to be anObject.

nHarm
   Answer the receiver's 'nHarm'.

nHarm: anObject
   Set the receiver's instance variable 'nHarm' to be anObject.

noPitch
   Answer the receiver's 'noPitch'.

noPitch: anObject
   Set the receiver's instance variable 'noPitch' to be anObject.

pitch
   Answer the receiver's 'pitch'.

pitch: anObject
   Set the receiver's instance variable 'pitch' to be anObject.

rePitch
   Answer the receiver's 'rePitch'.

rePitch: anObject
   Set the receiver's instance variable 'rePitch' to be anObject.

arithmetic

transformAmp: dBval
   Concert a minus-dB amplitude to an amplitude scale.

converting

asSumOfSines
   Answer a SOS-format description of the receiver.

asWavetable: len
   Answer a wavetable derived from the receiver.

MetaClass:         SHARCSample class

instance creation

in: dirName descr: strm
   Read a sample's data from the given directory based on the given line from the contents file.