Synth - синтезатор

class Synth()

CreateSynth()

PlayMidiTune()
synth.PlayMidiTune("46:16,40:16,35:4");
PlayTone()
synth.PlayTone(1000, 1400);
SetDelay(val)
SetFeedback()
SetFrequency()
synth.SetFrequency(500 + 500 * Math.random());
SetNoteLength()
synth.SetNoteLength(2.5);
SetPhaserEnabled(val)
SetDelayEnabled(val)
SetPhaserDryWet(val)
SetPhaserFeedback(val)
SetPhaserRange(val)
SetPhaserRate(val)
SetVca()
synth.SetVca(10, 400, 0.8, 100);
SetVcaAttack(val)
SetVcaDecay(val)
SetVcaRelease(val)
SetVcaSustain(val)
SetVcf()
synth.SetVcf(10, 400, 0.8, 100, 1000, 0.85, 2.0);
SetVcfAttack(val)
SetVcfCutoff(val)
SetVcaDecay(val)
SetVcfEnabled()
synth.SetVcfEnabled(false);
SetVcaRelease(val)
SetVcaResonans(val)
SetVcaSustain(val)
SetVolume()
synth.SetVolume(0.5, 0.5);
SetWaveShape()
synth.SetWaveShape('Square');
synth.SetWaveShape('Sin');
synth.SetWaveShape('Saw');
synth.SetWaveShape('White');
Start()
Stop()
GetType()
PlayMidiTune(p1)
PlayNote(p1)
PlayTone(p1, p2)
SetDelay(p1)
SetDelayEnabled(p1)
SetFeedback(p1)
SetFrequency(p1)
SetNoteLength(dur)
SetPhaser(p1, p2, p3, p4)
SetPhaserDryWet(p1)
SetPhaserEnabled(p1)
SetPhaserFeedback(p1)
SetPhaserRange(p1)
SetPhaserRate(p1)
SetVca(p1, p2, p3, p4)
SetVcaAttack(AttackTimeInMS)
SetVcaDecay(DecayTimeInMS)
SetVcaEnabled(OnOff)
SetVcaRelease(ReleaseTimeInMS)
SetVcaSustain(SustainLevel)
SetVcf(p1, p2, p3, p4, p5, p6, p7)
SetVcfAttack(AttackTimeInMS)
SetVcfCutoff(CutoffFrequencyInHz)
SetVcfDecay(DecayTimeInMS)
SetVcfDepth(Depth)
SetVcfEnabled(OnOff)
SetVcfRelease(ReleaseTimeInMS)
SetVcfResonance( float Resonance ) 0-1 = 0 - 100%()
SetVcfSustain(float SustainLevel ) 0 = Silent, 1= 100%()
SetVolume(p1, p2)
SetWaveShape(p1)
Start()