Package jm.audio.io

Examples of jm.audio.io.SampleOut


            vol[i] = new Volume(env[i], volumes[i]);
            span[i] = new StereoPan(vol[i], this.pan);
        }
        //And now the add object brings us back to one path.
        add = new Add(span);
        sout = new SampleOut(add);
    }
View Full Code Here


            vol[i] = new Volume(env[i], (float) ((1.0 / (i + 1)) * 1.5));
            span[i] = new StereoPan(vol[i], this.pan);
        }
        //And now the add object brings us back to one path.
        Add add = new Add(span);
        SampleOut sout = new SampleOut(add);
    }
View Full Code Here

        Filter filt = new Filter(new AudioObject[]{osc, filtEnv}, this.filterCutoff, Filter.LOW_PASS);
        Envelope env = new Envelope(filt,
                new double[]{0.0, 0.0, 0.05, 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

        Oscillator wt = new Oscillator(this, Oscillator.SAWTOOTH_WAVE,
                this.sampleRate, 2);
        Envelope env = new Envelope(wt, pointArray);
        Volume vol = new Volume(env);
        StereoPan span = new StereoPan(vol);
        if (output == RENDER) sout = new SampleOut(span);
    }
View Full Code Here

        Filter filter2 = new Filter(filter, 2000.0, Filter.HIGH_PASS);
        ReSample reSample = new ReSample(filter2, this.baseFreq);
        Volume vol = new Volume(reSample);
        Envelope env = new Envelope(vol, pointArray);
        StereoPan span = new StereoPan(env);
        SampleOut sout = new SampleOut(span);
    }
View Full Code Here

            vol[i] = new Volume(env[i], (float) ((1.0 / (i + 1)) * 1.5));
            span[i] = new StereoPan(vol[i], this.pan);
        }
        //And now the add object brings us back to one path.
        Add add = new Add(span);
        SampleOut sout = new SampleOut(add);
    }
View Full Code Here

        // add and pocess everythning
        Add add = new Add(new AudioObject[]{vol2, vol3});
        Envelope env = new Envelope(add,
                new double[]{0.0, 0.0, 0.05, 1.0, 0.2, 0.4, 0.8, 0.3, 1.0, 0.0});
        StereoPan span = new StereoPan(env);
        SampleOut sout = new SampleOut(span);
    }
View Full Code Here

        ReSample reSample = new ReSample(sin, this.baseFreq);
        Volume vol = new Volume(reSample);
        StereoPan span = new StereoPan(vol);
        if (wholeFile) {
            sin.setWholeFile(wholeFile);
            if (output == RENDER) sout = new SampleOut(span);
        } else {
            Envelope env = new Envelope(span, points);
            if (output == RENDER) sout = new SampleOut(env);
        }
    }
View Full Code Here

        sineMod.setAmp((float) this.modAmount);
        // filter
        Filter filt = new Filter(new AudioObject[]{osc, sineMod}, this.filterCutoff, Filter.HIGH_PASS);
        Envelope env = new Envelope(filt,
                new double[]{0.0, 0.0, 0.1, 1.0, 0.3, 0.6, 0.8, 0.2, 1.0, 0.0});
        SampleOut sout = new SampleOut(env);
    }
View Full Code Here

                this.sampleRate, 2);
        Filter filt = new Filter(wt, cutoff, Filter.LOW_PASS);
        Envelope env = new Envelope(filt, pointArray);
        Volume vol = new Volume(env);
        StereoPan span = new StereoPan(vol);
        SampleOut sout = new SampleOut(span);
    }
View Full Code Here

TOP

Related Classes of jm.audio.io.SampleOut

Copyright © 2018 www.massapicom. 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.