No comment. Sorry.
duration
Answer the duration of this sound in seconds.
duration:
Scale my envelopes to the given duration. Subclasses overriding this method should include a resend to super.
samples
setDur:
Set rest duration in seconds.
mixSampleCount:into:startingAt:leftVol:rightVol:
Play silence for a given duration.
reset
Reset my internal state for a replay. Methods that override this method should do super reset.
samplesRemaining
Answer the number of samples remaining until the end of this sound. A sound with an indefinite ending time should answer some large integer such as 1000000.
dur:
Return a rest of the given duration.
pitch:dur:loudness: