Squeak Class Documentation category index | class index  
 
MixedSound
  category: Sound-Synthesis
  superclass: AbstractSound
  subclasses:

No comment. Sorry.

instance methods
  accessing
  duration
sounds

  composition
  +
add:
add:pan:
add:pan:volume:

  copying
  copy
copySounds

  initialization
  initialize

  sound generation
  doControl
mixSampleCount:into:startingAt:leftVol:rightVol:
reset
samplesRemaining
stopGracefully

class methods
  no messages
 

instance methods
  accessing top  
 

duration

Answer the duration of this sound in seconds.


 

sounds

Allows simple sounds to behave as, eg, sequential sounds


  composition top  
 

+

Return the mix of the receiver and the argument sound.


 

add:

Add the given sound with a pan setting of centered and no attenuation.


 

add:pan:

Add the given sound with the given left-right panning and no attenuation.


 

add:pan:volume:

Add the given sound with the given left-right pan, where 0.0 is full left, 1.0 is full right, and 0.5 is centered. The loudness of the sound will be scaled by volume, which ranges from 0 to 1.0.


  copying top  
 

copy

Copy my component sounds.


 

copySounds

Private! Support for copying. Copy my component sounds and settings array.


  initialization top  
 

initialize


  sound generation top  
 

doControl

Update the control parameters of this sound using its envelopes, if any.


 

mixSampleCount:into:startingAt:leftVol:rightVol:

Play a number of sounds concurrently. The level of each sound can be set independently for the left and right channels.


 

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.


 

stopGracefully

End this note with a graceful decay. If the note has envelopes, determine the decay time from its envelopes.


class methods
  no messages top