Package jm.audio.io

Examples of jm.audio.io.AudioFileOut


     */
    public static void audio(float[] sampleData, String fileName, int channels,
                             int sampleRate, int sampleSizeInBits) {
        double time1 = System.currentTimeMillis();
        System.out.println("---------------------------- Writing Audio File -------------------------------");
        AudioFileOut afo = new AudioFileOut(sampleData, fileName, channels,
                sampleRate, sampleSizeInBits);
        double time2 = System.currentTimeMillis();
        System.out.println("Audio file '" + fileName + "' written in " + ((time2 - time1) / 1000) + " seconds.");
        System.out.println("Channels = " + channels
                + " Sample rate = " + sampleRate
View Full Code Here


    */
    public static void audio(float[] sampleData, String fileName, int channels,
                             int sampleRate, int sampleSizeInBits) {
        double time1 = System.currentTimeMillis();
    System.out.println("---------------------------- Writing Audio File -------------------------------");
        AudioFileOut afo = new AudioFileOut(sampleData, fileName, channels,
                                            sampleRate, sampleSizeInBits);
        double time2 = System.currentTimeMillis();
    System.out.println("Audio file '"+fileName+"' written in "+((time2-time1)/1000)+ " seconds.");
    System.out.println("Channels = " + channels
                           +" Sample rate = " + sampleRate
View Full Code Here

TOP

Related Classes of jm.audio.io.AudioFileOut

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.