sound.spectrogram
Class SimplifiedCapturePlayBackPanel

java.lang.Object
  extended by sound.spectrogram.SimplifiedCapturePlayBackPanel
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class SimplifiedCapturePlayBackPanel
extends java.lang.Object
implements java.awt.event.ActionListener


Nested Class Summary
 class SimplifiedCapturePlayBackPanel.Playback
          Write data to the OutputChannel.
 
Constructor Summary
SimplifiedCapturePlayBackPanel(javax.swing.JDialog parent)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void close()
           
 void createAudioInputStream(java.io.File file, boolean updateComponents)
           
 void createWaveForm(byte[] audioBytes)
           
 sound.spectrogram.AudioDataBean getAudioDataBean()
           
 javax.sound.sampled.AudioInputStream getAudioInputStream()
           
 javax.swing.JPanel getButtonPanel()
           
 int[] getData()
           
 javax.sound.sampled.AudioFormat getFormat()
           
 javax.swing.JPanel getPanel()
           
static void main(java.lang.String[] args)
           
 void saveToFile(java.lang.String name, javax.sound.sampled.AudioFileFormat.Type fileType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplifiedCapturePlayBackPanel

public SimplifiedCapturePlayBackPanel(javax.swing.JDialog parent)
Method Detail

getButtonPanel

public javax.swing.JPanel getButtonPanel()

close

public void close()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

getData

public int[] getData()

createWaveForm

public void createWaveForm(byte[] audioBytes)

createAudioInputStream

public void createAudioInputStream(java.io.File file,
                                   boolean updateComponents)

saveToFile

public void saveToFile(java.lang.String name,
                       javax.sound.sampled.AudioFileFormat.Type fileType)

getPanel

public javax.swing.JPanel getPanel()

getAudioDataBean

public sound.spectrogram.AudioDataBean getAudioDataBean()

getFormat

public javax.sound.sampled.AudioFormat getFormat()

getAudioInputStream

public javax.sound.sampled.AudioInputStream getAudioInputStream()

main

public static void main(java.lang.String[] args)