KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > sound > sampled > AudioSystem

javax.sound.sampled
Class AudioSystem

java.lang.Object
  extended by javax.sound.sampled.AudioSystem
See Also:
Top Examples, Source Code, getMixerInfo(), mixer provider, getTargetDataLine(javax.sound.sampled.AudioFormat), TargetDataLine, getSourceDataLine(javax.sound.sampled.AudioFormat), SourceDataLine, Port, getClip(), getLine(javax.sound.sampled.Line.Info), Clip, Properties.load, AudioFormat, AudioInputStream, Mixer, Line, Line.Info

public static AudioFileFormat getAudioFileFormat(File file)
                                          throws UnsupportedAudioFileException,
                                                 IOException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AudioFileFormat getAudioFileFormat(InputStream stream)
                                          throws UnsupportedAudioFileException,
                                                 IOException
See Also:
InputStream.mark(int), InputStream.markSupported()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AudioFileFormat getAudioFileFormat(URL url)
                                          throws UnsupportedAudioFileException,
                                                 IOException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AudioFileFormat.Type[] getAudioFileTypes()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AudioFileFormat.Type[] getAudioFileTypes(AudioInputStream stream)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AudioInputStream getAudioInputStream(File file)
                                            throws UnsupportedAudioFileException,
                                                   IOException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AudioInputStream getAudioInputStream(InputStream stream)
                                            throws UnsupportedAudioFileException,
                                                   IOException
See Also:
InputStream.mark(int), InputStream.markSupported()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AudioInputStream getAudioInputStream(URL url)
                                            throws UnsupportedAudioFileException,
                                                   IOException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AudioInputStream getAudioInputStream(AudioFormat targetFormat,
                                                   AudioInputStream sourceStream)
See Also:
getAudioInputStream(AudioFormat.Encoding, AudioInputStream), isConversionSupported(AudioFormat, AudioFormat), getTargetFormats(AudioFormat.Encoding, AudioFormat), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AudioInputStream getAudioInputStream(AudioFormat.Encoding targetEncoding,
                                                   AudioInputStream sourceStream)
See Also:
getAudioInputStream(AudioFormat, AudioInputStream), isConversionSupported(AudioFormat.Encoding, AudioFormat), getTargetEncodings(AudioFormat), getTargetEncodings(AudioFormat.Encoding), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Clip getClip()
                    throws LineUnavailableException
See Also:
getClip(Mixer.Info), IllegalArgumentException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Clip getClip(Mixer.Info mixerInfo)
                    throws LineUnavailableException
See Also:
getClip(), IllegalArgumentException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Line getLine(Line.Info info)
                    throws LineUnavailableException
See Also:
IllegalArgumentException, SecurityException, class description
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Mixer getMixer(Mixer.Info info)
See Also:
getMixerInfo(), IllegalArgumentException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Mixer.Info[] getMixerInfo()
See Also:
getMixer(javax.sound.sampled.Mixer.Info)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static SourceDataLine getSourceDataLine(AudioFormat format)
                                        throws LineUnavailableException
See Also:
getSourceDataLine(AudioFormat, Mixer.Info), IllegalArgumentException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static SourceDataLine getSourceDataLine(AudioFormat format,
                                               Mixer.Info mixerinfo)
                                        throws LineUnavailableException
See Also:
getSourceDataLine(AudioFormat), IllegalArgumentException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Line.Info[] getSourceLineInfo(Line.Info info)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static TargetDataLine getTargetDataLine(AudioFormat format)
                                        throws LineUnavailableException
See Also:
AudioPermission, getTargetDataLine(AudioFormat, Mixer.Info), IllegalArgumentException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static TargetDataLine getTargetDataLine(AudioFormat format,
                                               Mixer.Info mixerinfo)
                                        throws LineUnavailableException
See Also:
AudioPermission, getTargetDataLine(AudioFormat), IllegalArgumentException, SecurityException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AudioFormat.Encoding[] getTargetEncodings(AudioFormat sourceFormat)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AudioFormat.Encoding[] getTargetEncodings(AudioFormat.Encoding sourceEncoding)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static AudioFormat[] getTargetFormats(AudioFormat.Encoding targetEncoding,
                                             AudioFormat sourceFormat)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static Line.Info[] getTargetLineInfo(Line.Info info)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static boolean isConversionSupported(AudioFormat targetFormat,
                                            AudioFormat sourceFormat)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static boolean isConversionSupported(AudioFormat.Encoding targetEncoding,
                                            AudioFormat sourceFormat)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static boolean isFileTypeSupported(AudioFileFormat.Type fileType)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static boolean isFileTypeSupported(AudioFileFormat.Type fileType,
                                          AudioInputStream stream)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static boolean isLineSupported(Line.Info info)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int NOT_SPECIFIED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static int write(AudioInputStream stream,
                        AudioFileFormat.Type fileType,
                        File out)
                 throws IOException
See Also:
getAudioFileTypes(), isFileTypeSupported(javax.sound.sampled.AudioFileFormat.Type), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static int write(AudioInputStream stream,
                        AudioFileFormat.Type fileType,
                        OutputStream out)
                 throws IOException
See Also:
getAudioFileTypes(), isFileTypeSupported(javax.sound.sampled.AudioFileFormat.Type), IllegalArgumentException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags