Class SoftClip


  • public class SoftClip
    extends java.lang.Object
    A simple application that demonstrates the use of LiveSound by performing soft clipping in real-time. This application performs real-time capture, processing, and playback of audio data. Sound samples are captured from the computer's audio input port. The processing consists of a simple soft-clipping function (the arc tangent is used). The soft-clipped audio data is then played out the speaker.
    Since:
    Ptolemy II 1.0
    Version:
    $Id$
    Author:
    Brian K. Vogel
    Pt.AcceptedRating:
    Red (vogel)
    Pt.ProposedRating:
    Red (vogel)
    • Constructor Summary

      Constructors 
      Constructor Description
      SoftClip()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Perform real-time capture, processing and playback of audio data.
      • Methods inherited from class java.lang.Object

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

      • SoftClip

        public SoftClip()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Perform real-time capture, processing and playback of audio data.
        Parameters:
        args - Not used.