Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

  Tutorial: A Java-Based Music Player For MP3, Ogg, & WAV

The speed of today\'s desktop PCs coupled with breakthroughs in Java Virtual Machine (VM) optimization technology opens the door to Java-based, real-time signal processing, like that required by digital music players. the design and construction of a digi

Tutorial Details:

JavaSound is a lightweight, low-level programming API that supports recording/playback of digital audio and MIDI data. Beginning with Java 2 Version 1.3.0, JavaSound is part of the base JDK distribution. Any JavaSound-based audio application (such as my music player) should run without additional software downloads or installation on any Java 1.3.x implementation across operating system and hardware platforms.
There is also an open-source JavaSound implementation . which was written to provide Linux support.
JavaSound Architecture
JavaSound Basics
Audio Data and Storage Formats
Designing the Music Player
Coding the Player Logic
Playing Music from a WAV File
Playing Music from A Compressed Audio File
Obtaining a Compatible SourceDataline
Extending JavaSound with SPI


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
A Java-Based Music Player For MP3, Ogg, & WAV

View Tutorial:
A Java-Based Music Player For MP3, Ogg, & WAV

Related Tutorials:

Bean Markup Language, Part 1 - JavaWorld August 1999
Bean Markup Language, Part 1 - JavaWorld August 1999
 
Dynamic user interface is only skin deep - JavaWorld May 2000
Dynamic user interface is only skin deep - JavaWorld May 2000
 
JDK 1.2 breaks the Java sound barrier - JavaWorld August 2000
JDK 1.2 breaks the Java sound barrier - JavaWorld August 2000
 
Add MP3 capabilities to Java Sound with SPI - JavaWorld November 2000
Add MP3 capabilities to Java Sound with SPI - JavaWorld November 2000
 
Sir, what is your preference?
Sir, what is your preference?
 
Think small: Java on Compaq's iPAQ
Think small: Java on Compaq's iPAQ
 
Should you go with JMS?
Should you go with JMS?
 
Develop state-of-the-art mobile games
Develop state-of-the-art mobile games
 
QTJ Audio
QTJ Audio QuickTime Java can be the heart and soul of cross-platform video players and editors QTJ is also well-suited to be the engine of audio-only applications, such as MP3 players. an audio player, QTBebop, that displays song metadata, band levels,
 
Java and Sound, Part 1
On systems that support it, sound can be an important part of many applications. Sound can be used to notify the user that her attention is required, to add the extra dimension of aural feedback to visual GUIs, or for entertainment purposes.
 
The HTML Renderer Shootout, Part 1
The HTML Renderer Shootout, Part 1 In this article, we will review 11 different HTML renderers, comparing their features, compliance, and speed; searching for the best one for any project.
 
An Intelligent Nim Computer Game, Part 1
An Intelligent Nim Computer Game, Part 1 In this article, you learn how to play Nim, and discover tools for creating an intelligent computer player. In the next article, you apply those tools to the creation of that player, while building console and G
 
Extend JavaSound to Play MP3, Ogg Vorbis, and More
This article deals with this plugin architecture and API, how to write and use a custom SPI implementation, how metadata such as title, artist, and copyright are exposed, and how multiple SPI implementations could be integrated in an application such as p
 
Jajuk is a Java music organizer for all platforms
Jajuk is a Java music organizer for all platforms. The main goal of this project is to provide a fully-featured application to advanced users with large or scattered music collections. Jajuk supports MP3, OGG Vorbis, AU, AIFF, WAV and SPEEX audio formats.
 
We are providing Knoppix 3.4 Live Linux CD's
We are providing Knoppix 3.4 Live Linux CD's Knoppix Linux CD's Now Available Linux Knoppix 3.4 CD's What is KNOPPIX? KNOPPIX is a bootable Linux CD with a collection of various GNU/Linux software. It auto-detects hardware and supports many
 
We are providing Knoppix 3.6 Live Linux CD's
We are providing Knoppix 3.6 Live Linux CD's Knoppix Linux CD's Now Available Linux Knoppix 3.6 CD's What is KNOPPIX? KNOPPIX is a bootable Linux CD with a collection of various GNU/Linux software. It auto-detects hardware and supports many
 
We are providing Linux CD's for free.
We are providing Linux CD's for free. Knoppix Linux CD's Now Available Linux Knoppix 3.3 CD's What is KNOPPIX? KNOPPIX is a bootable Linux CD with a collection of various GNU/Linux software. It auto-detects hardware and supports many graphics
 
Buy Peanut 9.6 Linux in India from us. Peanut 9.6 distribution is available in India.
Buy Peanut 9.6 Linux in India from us. Peanut 9.6 distribution is available in India. Peanut 9.6 Linux Now Available Peanut 9.6 Linux CD It is a Linux OS (operating system), especially made for those new to Linux. This is the most POWERFUL and
 
Buy SuSe 9.1 Personal CDs in India from us. Suse 9.1 Personal is available with us.
Buy SuSe 9.1 Personal CDs in India from us. Suse 9.1 Personal is available with us. SuSe 9.1 Personal Linux Now Available SuSe 9.1 Personal CD's SuSE 9.1 Personal Edition was based on the x86 port of the Personal Edition, and it includes all of
 
Comparing J2ME Multimedia Options
This article presents the latest developments in MMAPI: the new security considerations raised in MMAPI 1.1, the differences between MMAPI and the MIDP 2.0 Media API, J2ME Wireless Toolkit 2.2 support for MMAPI, and JSR 234, Advanced Multimedia Supplement
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.