Examples of SampleOut


Examples of jm.audio.io.SampleOut

        // filter
        Filter filt = new Filter(new AudioObject[]{adder, sineMod}, this.cutoff, Filter.LOW_PASS);
        ADSR env = new ADSR(filt, attack, decay, sustain, release);
        Volume vol = new Volume(env);
        StereoPan span = new StereoPan(vol);
        SampleOut sout = new SampleOut(span);
    }
View Full Code Here

Examples of jm.audio.io.SampleOut

        Value modFreq = new Value(this, this.sampleRate, this.channels, (float) 5.0);
        Oscillator modulator = new Oscillator(modFreq, Oscillator.SINE_WAVE,
                Oscillator.FREQUENCY);
        Volume amp = new Volume(modulator, (float) 0.4);
        Oscillator carrier = new Oscillator(amp, Oscillator.SINE_WAVE, Oscillator.AMPLITUDE);
        SampleOut sout = new SampleOut(carrier);
    }
View Full Code Here

Examples of jm.audio.io.SampleOut

        Comb filt = new Comb(wt, delay, decay);
        Envelope env = new Envelope(filt,
                new double[]{0.0, 0.0, 0.05, 1.0, 0.2, 0.4, 0.8, 0.3, 1.0, 0.0});
        Volume vol = new Volume(env);
        StereoPan span = new StereoPan(vol);
        SampleOut sout = new SampleOut(span);
    }
View Full Code Here

Examples of jm.audio.io.SampleOut

    public void createChain() {
        Pluck plk = new Pluck(this, sampleRate, this.channels);
        Filter filt = new Filter(plk, this.cutoff, Filter.LOW_PASS);
        Envelope env = new Envelope(filt, new double[]{0.0, 0.0, 0.1, 0.5, 0.3, 1.0, 0.4, 0.5, 1.0, 0.0});
        Volume vol = new Volume(env);
        SampleOut sout = new SampleOut(vol);
    }
View Full Code Here

Examples of jm.audio.io.SampleOut

                        0.4, 0.8, 0.3, 1.0, 0.0}
        );

        Volume vol = new Volume(env);

        SampleOut sout = new SampleOut(vol);

    }
View Full Code Here

Examples of jm.audio.io.SampleOut

        Oscillator wt = new Oscillator(this, Oscillator.SINE_WAVE,
                this.sampleRate, this.channels);
        Envelope env = new Envelope(wt, pointArray);
        Volume vol = new Volume(env);
        StereoPan span = new StereoPan(vol);
        SampleOut sout = new SampleOut(span);
    }
View Full Code Here

Examples of jm.audio.io.SampleOut

        // carrier
        Oscillator carrier = new Oscillator(add, Oscillator.SINE_WAVE, Oscillator.FREQUENCY);
        Envelope env2 = new Envelope(carrier, new double[]{0.0, 0.0, 0.02, 1.0, 1.0, 0.0});
        Volume amp = new Volume(env2);
        StereoPan pan = new StereoPan(amp);
        SampleOut sout = new SampleOut(pan);
    }
View Full Code Here

Examples of jm.audio.io.SampleOut

    public void createChain() {
        Oscillator osc = new Oscillator(this, Oscillator.SQUARE_WAVE,
                this.sampleRate, this.channels);
        Envelope env = new Envelope(osc, new double[]{0.0, 0.0, 0.1, 1.0, 0.3, 0.0});
        Comb comb = new Comb(env, delay, decay);
        SampleOut sout = new SampleOut(comb);
    }
View Full Code Here

Examples of jm.audio.io.SampleOut

        Oscillator wt = new Oscillator(this, Oscillator.SINE_WAVE,
                this.sampleRate, channels);
        Envelope env = new Envelope(wt, pointArray);
        Volume vol = new Volume(env);
        StereoPan span = new StereoPan(vol);
        SampleOut sout = new SampleOut(span);
    }
View Full Code Here

Examples of jm.audio.io.SampleOut

        Filter filt = new Filter(add2, this.filterCutoff, Filter.LOW_PASS);
        ADSR env = new ADSR(filt, attack, decay, sustain, release);
        //Envelope env = new Envelope(filt, new double[] {0.0, 0.0, 0.1, 1.0, 1.0, 0.0});
        Volume vol = new Volume(env);
        StereoPan pan = new StereoPan(vol);
        SampleOut sout = new SampleOut(pan);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.