This page presents examples related to playback and recording of audio data. The examples utilize the package javax.sound.sampled.
Playing an audio file (easy)
Recording to an audio file (simple version)
Playing an audio file multiple times (Clip)
Playing an audio file (advanced)
Recording to an audio file (advanced version)
Playing an encoded audio file
Playing an audio file multiple times
Recording and playing back the recorded data immediately
ExamplesAudio Playback and Recording SimpleAudioPlayerSimpleAudioRecorderClipPlayerAudioPlayerAudioRecorderDecodingAudioPlayerRewindingAudioPlayerAudioLoopAudio FilesAudio ConversionCD Digital Audio ExtractionDigital Signal ProcessingMisc AudioMIDI Playback and RecordingMIDI FilesMIDI Input/OutputMIDI SynthesizerA - ZDownloadFAQGeneralAudio ProgrammingMIDI ProgrammingApplets and Java WebStartPerformance IssuesOther ResourcesTritonusMiscellaneousApplicationsAnwering MachineChatJam SessionJSInfoMidiPlayerSystemMixerTime Turner RadioRipperLinksSearchContactQuestion GuidelinesAuthorsDevelopment