## A Retro Analog Synth emulator

Under construction.

To use the Analog implementation, load tb303.so and create an actor of type AnalogActor.

### AnalogActor messages

In addition to the messages understood by all generator actors, the AnalogActor understands the following messages. If the optional parameter `time` is specified in any of the following messages, then the corresponding parameter is linearly modulated from the old value to the specified value over the duration of `time` seconds after receipt of the command. In the case of the commands SetAll[Param] (which set the value for all handlers spawned by a particular actor), the default [Param] is always set immediately on receipt of the command, regardless of `time`.

SetFreq `hActor x`
SetAllFreq `hActor x time`
  Set the default frequency for new instances to `x`.
SetFilterCutoff `hActor x`
SetAllFilterCutoff `hActor x time`
  Set the default filter cutoff for new instances to `x`.
SetResonance `hActor x`
SetAllResonance `hActor x time`
  Set the default resonance for new instances to `x`.
SetEnvMod `hActor x`
SetAllEnvMod `hActor x time`
  Set the default envelope modulation for new instances to `x`.
SetEnvDecay `hActor x`
SetAllEnvDecay `hActor x time`
  Set the default something-or-other for new instances to `x`.

### Analog handler messages

In addition to the messages understood by all handlers, the handler for the tb303 algorithm understands the following messages:

SetFreq `hSound x time`
  Set the frequency to `x` Hz.
SetFilterCutoff `hSound x time`
  Set the "vowel color" to `x` (0 to 1, default 0); from 0 to 1, the sound goes through oo, oh, ah, ee and gets louder at the same time.
SetResonance `hSound x time`
  Set the narrowness of the filter to `x` (0 to 1, default 0). At higher values you can hear individual harmonics.
SetEnvMod `hSound x time`
  Set how much of "modulation" SetEnvDecay does to `x` (0 to 1, default 0).
SetEnvDecay `hSound x time`
  Set something or other to `x` (0 to 1, default 0). It's kind of hard to say what this does.