Environment: Siren
An LPCSound represents LPC data read in from a Csound LPC file.
Instance Variables:
smoothing
filename
filesize
srate
frate
npoles
nframes
frames
pchMax
pchMin
pitchRange
rmsRange
residRange
smoothAvg: data into: res
filter the data
smoothPitch
filter the data
smoothRunning: data into: res
filter the data
writePitch: howSmooth
Replace the pitch values in the receiver's frames with a smoothed version selected by the argument.
printing
Format and print the receiver on the argument.
storeFile
Store the receiver as a Csound format LPC file.
storeOn: aStream
Store the receiver on the argument as a Csound format LPC file.
accessing
filename
filename: aValue
filesize
filesize: aValue
float: ind from: data
Answer the swapped float from the data at the index.
floatAt: ind put: value in: data
Store the swapped float into the data at the index.
frameAt: ind put: frame
frames
frames: aValue
frate
frate: aValue
long: ind from: data
Answer the swapped long int from the data at the index.
longAt: ind put: value in: data
Store the swapped long int into the data at the index.
nframes
nframes: aValue
npoles
npoles: aValue
srate
srate: aValue
statistics
Compute the max and min-non-0 pitch values for later.
MetaClass: LPCSound class
instance creation
Read in an lpc sound from the given Csound format file.