Class ReaderProcessWriter


  • public class ReaderProcessWriter
    extends java.lang.Object
    A simple application that demonstrates the use of SoundReader and SoundWriter by performing soft clipping on an input sound file.

    Samples are read from a sound file specified as a URL, simple processing is performed on the audio data, and the processed data is written to a sound file. For this application, the processing consists of a simple soft clipping operation.

    Since:
    Ptolemy II 2.0
    Version:
    $Id$
    Author:
    Brian K. Vogel
    Pt.AcceptedRating:
    Red (vogel)
    Pt.ProposedRating:
    Red (vogel)
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Read samples from a sound file, process the data using a soft clipping algorithm and write the results.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReaderProcessWriter

        public ReaderProcessWriter()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Read samples from a sound file, process the data using a soft clipping algorithm and write the results.
        Parameters:
        args - Not used.