Unit 'DAV_StkSampler' Package
[Overview][Classes][Index] [#pl_asiovst]

TStkSampler

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: DAV_StkSampler.pas line 20

type TStkSampler = class(TStkControlableInstrument)

protected

  FADSR: TStkADSR;

  

  FAttacks: array [0..4] of TStkWavePlayer;

  

  FLoops: array [0..4] of TStkWavePlayer;

  

  FFilter: TStkOnePole;

  

  FAttackGain: Single;

  

  FLoopGain: Single;

  

  FBaseFrequency: Single;

  

  FLoopratios: Single;

  

  FAttackRatios: array [0..4] of Single;

  

  FWhichOne: Integer;

  

  procedure SetFrequency(); override;

  

  function GetFrequency; override;

  

  procedure FrequencyChanged; virtual; abstract;

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Clear; virtual;

  

  procedure KeyOn; virtual;

  

  procedure KeyOff; virtual;

  

  procedure NoteOff(); override;

  

  function Tick; override;

  

end;

Inheritance

TStkSampler

  

|

TStkControlableInstrument

  

|

TStkInstrument

  

|

TStk

  

|

TObject



CT Web help

CodeTyphon Studio