コード例 #1
0
ファイル: LLDNStutter.cs プロジェクト: Reavenk/Phonics_Core
    protected override void _Init()
    {
        this.input             = new ParamConnection("Input", null);
        this.input.description = "The audio signal that will stuttered.";
        this.genParams.Add(this.input);

        this.stutterTime             = new ParamTimeLen("Window", 1.0f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.stutterTime.description = "The rate at which stutters happen";
        this.genParams.Add(this.stutterTime);

        this.stutterPercent             = new ParamFloat("Percent", "Percent", 0.5f, 0.0f, 1.0f);
        this.stutterPercent.description = "The percent of the window between playing the audio and stuttering with silence.";
        this.genParams.Add(this.stutterPercent);

        this.pass             = new ParamBool("Pass", "Stutter Behaviour", false);
        this.pass.trueString  = "Pass";
        this.pass.falseString = "Hold";
        this.pass.description = "If true, when the stutter is silent it will still pass the audio through instead of holding it - resulting in a gate effect.";
        this.genParams.Add(this.pass);

        this.start             = new ParamBool("Start", "Play on start?", false);
        this.start.trueString  = "Play";
        this.start.falseString = "Stut";
        this.start.description = "If true, the node starts by playing; if false, the node starts with silence.";
        this.genParams.Add(this.start);
    }
コード例 #2
0
    protected override void _Init()
    {
        this.input             = new ParamConnection("Input", null);
        this.input.description = "The audio signal to apply the integrated ASDR envelope to.";
        this.genParams.Add(this.input);

        this.paramOffset             = new ParamTimeLen("Offset", 0.0f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.paramOffset.description = "The duration of time before the input is passed and the envelope is started. Use a value of 0.0 to play instantly.";
        this.genParams.Add(this.paramOffset);

        this.paramAttackTime             = new ParamTimeLen("Attack", 0.25f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.paramAttackTime.description = "The duration of time for the attack.\nDuring the attack, the audio sample gain is raised from 0.0 to 1.0.";
        this.genParams.Add(this.paramAttackTime);

        this.paramDecayTime             = new ParamTimeLen("Decay", 0.25f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.paramDecayTime.description = "The duration of time for the decay.\nThe decay starts right after the attack. During the decay, the audio sample gain is lowered from 1.0 to the Sustain value.";
        this.genParams.Add(this.paramDecayTime);

        this.paramSustainVal             = new ParamFloat("Sustain", "Volume", 0.5f, 0.0f, 1.0f);
        this.paramSustainVal.description = "The gain of the sustain. After the attack and decay phase, this will be the gain until the keyboard note is released.";
        this.genParams.Add(this.paramSustainVal);

        this.paramRelease             = new ParamTimeLen("Release", 0.1f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.paramRelease.description = "The duration of time for the release enevelope. This happens after the keyboard note being played is released.";
        this.genParams.Add(this.paramRelease);
    }
コード例 #3
0
    protected override void _Init()
    {
        this.input             = new ParamConnection("Input", null);
        this.input.description = "The audio signal that will be held.";
        this.genParams.Add(this.input);

        this.holdTime             = new ParamTimeLen("Hold", 1.0f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.holdTime.description = "The amount of time to hold the audio signal before letting it play.";
        this.genParams.Add(this.holdTime);
    }
コード例 #4
0
    protected override void _Init()
    {
        this.gain             = new ParamFloat("Gain", "Volume", 0.8f, 0.0f, 1.0f, "clampeddial");
        this.gain.description = "The amplitude (volume) of the wave.";
        this.genParams.Add(this.gain);

        this.timeLen             = new ParamTimeLen("Freq", 1.0f, ParamTimeLen.TimeLenType.FrequencyMul, ParamTimeLen.WidgetFreq);
        this.timeLen.description = "The frequency of the audio signal.";
        this.genParams.Add(this.timeLen);
    }
コード例 #5
0
    protected override void _Init()
    {
        this.input             = new ParamConnection("Input", null);
        this.input.description = "The audio signal to apply the release envelope to.";
        this.genParams.Add(this.input);

        this.release             = new ParamTimeLen("Release", 1.0f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.release.description = "The amount of time to release the note.";
        this.genParams.Add(this.release);
    }
コード例 #6
0
    protected override void _Init()
    {
        this.input             = new ParamConnection("Input", null);
        this.input.description = "The input audio signal to apply the attack envelope to.";
        this.genParams.Add(this.input);

        this.offset             = new ParamTimeLen("Offset", 0.0f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.offset.description = "The duration to wait before starting the attack.\n During that time, the audio signal will be silent.";
        this.genParams.Add(this.offset);

        this.attack             = new ParamTimeLen("Attack", 0.25f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.attack.description = "The duration of the envelope.\nDuring the amount of time, the gain of the input audio signal will be raised from 0.0 to 1.0.";
        this.genParams.Add(this.attack);

        //this.offset = new ParamTimeLen("Offset", 0.0f, ParamTimeLen.TimeLenType.Seconds);
        //this.genParams.Add(this.offset);
    }
コード例 #7
0
    protected override void _Init()
    {
        this.input             = new ParamConnection("Input", null);
        this.input.description = "The audio signal to apply the decay envelope to.";
        this.genParams.Add(this.input);

        this.offset             = new ParamTimeLen("Offset", 0.25f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.offset.description = "The duration of time the decay envelope will be active.\nWhen the envelope starts, the input gain will be 1.0.\nWhen the envelope is finished, the input signal will be the value of Sustain.";
        this.genParams.Add(this.offset);

        this.duration             = new ParamTimeLen("Decay", 0.25f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.duration.description = "The amount of time the note will play before the envelope is started.";
        this.genParams.Add(this.duration);

        this.sustain             = new ParamFloat("Sustain", "Volume", 0.5f, 0.0f, 1.0f);
        this.sustain.description = "The gain of the input signal after the envlope is finished.";
        this.genParams.Add(this.sustain);
    }
コード例 #8
0
ファイル: LLDNCycle.cs プロジェクト: Reavenk/Phonics_Core
    protected override void _Init()
    {
        this.input             = new ParamConnection("Input", null);
        this.input.description = "The audio signal to record and playback.";
        this.genParams.Add(this.input);

        this.offset             = new ParamTimeLen("Offset", 0.0f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.offset.description = "The amount of time to pass before recording. What kind of behaviour to perform during this time is controlled by the Offset Ty parameter.";
        this.genParams.Add(this.offset);

        this.offsetType             = new ParamEnum("Offset Ty", "Offset Type", offsetEnum, 0);
        this.offsetType.description = "How to process the audio signal while offsetting.";
        this.genParams.Add(this.offsetType);

        this.recordAmt             = new ParamTimeLen("Amount", 1.0f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.recordAmt.description = "The amount of time to record.";
        this.genParams.Add(this.recordAmt);
    }
コード例 #9
0
ファイル: LLDNDelay.cs プロジェクト: Reavenk/Phonics_Core
    protected override void _Init()
    {
        this.input             = new ParamConnection("Input", null);
        this.input.description = "The audio signal to apply the delay filter to.";
        this.genParams.Add(this.input);

        this.offset             = new ParamTimeLen("Offset", 0.25f, ParamTimeLen.TimeLenType.Seconds, ParamTimeLen.WidgetTime);
        this.offset.description = "The duration of time between duplicated voices.";
        this.genParams.Add(this.offset);

        this.dampen             = new ParamFloat("Dampen", "Attenuation", 1.0f, 0.0f, 1.0f);
        this.dampen.description = "A compounding frequency multiplier applied to the frequency of each voice generated.";
        this.genParams.Add(this.dampen);

        this.voiceCt             = new ParamInt("Voices", "Voices", 2, 2, 8);
        this.voiceCt.description = "The number of copies to create.";
        this.genParams.Add(this.voiceCt);
    }