Package jm.audio

Examples of jm.audio.RTMixer


                    " Sorry, only mono and stereo files can be played at present.");
        } else {
            System.out.println("---- Playing audio file '" + getFileName() + "'... Sample rate = "
                    + afr.getSampleRate() + " Channels = " + afr.getChannels() + " ----");
            jm.music.rt.RTLine[] lineArray = {new jm.util.AudioRTLine(getFileName())};
            mixer = new RTMixer(lineArray);
            mixer.begin();
        }
    }
View Full Code Here


            lines[i] = new jm.music.rt.RTPhrase(phr, insts[phr.getInstrument()]);
        }
        // create mixer and wait for the end then pause the mixer
        //RTMixer mixer = new RTMixer(lines);
        if (mixer == null) {
            mixer = new RTMixer(lines);
            mixer.begin();
        } else {
            mixer.addLines(lines);
        }
        //mixerList.add(mixer);
View Full Code Here

                    " Sorry, only mono and stereo files can be played at present.");
            } else {
                System.out.println("---- Playing audio file '" + getFileName() + "'... Sample rate = "
                +afr.getSampleRate() + " Channels = " + afr.getChannels() + " ----");
                jm.music.rt.RTLine[] lineArray = {new jm.util.AudioRTLine(getFileName())}
                mixer = new RTMixer(lineArray)
                mixer.begin();
            }
        }
View Full Code Here

TOP

Related Classes of jm.audio.RTMixer

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.