ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button

Topic: Java Media

Java Media API is the multimedia application development platform. It includes the following API: Java 2D, Java 3D, Java Advanced Imaging (JAI), Java Sound, Java Media Framework (JMF), Java Telephony, Java Speech, Java Communications.

O'Reilly Network articles about this topic:

IRC Text to Speech with Java (ONJava.com)
Paul Mutton creates a multi-platform IRC bot that uses the FreeTTS Java speech synthesizer library to convert IRC messages into audible speech. Why would you want to use an IRC text-to-speech system? By reading out messages as they arrive, you can keep working, diverting your attention to IRC only when necessary. Paul is the author of IRC Hacks.

Extend JavaSound to Play MP3, Ogg Vorbis, and More (ONJava.com)
JavaSound, part of J2SE since version 1.3, handles a small number of audio formats, but is extensible so that more formats can be supported. The JavaZOOM team has done exactly this, bringing MP3 audio to JavaSound. In this article, they show how it works.

Java and Sound, Part 2 (ONJava.com)
This second installment in a two-part series of excerpts from Java Examples in a Nutshell, 3rd Edition follows last week's (on playing streaming sounds in both sampled audio and MIDI formats) with examples of how to read a simple musical score and convert it into a MIDI sequence. Author David Flanagan also shows you how to make music by directly controlling a MidiChannel of a Synthesizer.

Java and Sound, Part 1 (ONJava.com)
Where can you learn how to play simple audio clips with the java.applet.AudioClip class, as well as how to use the javax.sound.sampled and javax.sound.midi packages to do such things as load and play sound clips, and monitor and change the playback position within a clip? In these first excerpts in a two-part series of excerpts from Chapter 17 ("Sound") of Java Examples in a Nutshell, 3rd Edition.

QTJ Audio (ONJava.com)
QuickTime Java is well-suited to be the engine of audio-only applications, such as MP3 players. This article develops an audio player, QTBebop, that displays song metadata, band levels, and current time, all of which help introduce the useful audio-related tools provided by QuickTime to the Java developer. We also look at QuickTime's "callbacks," which are critical to all kinds of QT apps.

Making Media from Scratch, Part 2 (ONJava.com)
QuickTime is a media creation API. It supports far more than just editing and playing movies -- you can create them, one frame at a time. Chris Adamson demonstrates how to build movies, frame by frame, and even animate still images.

Making Media from Scratch, Part 1 (ONJava.com)
QuickTime is a media creation API. It supports far more than just editing and playing movies -- you can create them, one frame at a time. Chris Adamson demonstrates how to make moves from scratch with QuickTime for Java.

Behind JEMBlazer: Java on the GameBoy Advance (ONJava.com)
Java gaming, if you believe the industry buzz, is about to take off. aJile Systems' JEMBlazer and JFlame allow developers to write Java games for the GameBoy Advance. Howard Wen interviews Mike Masters and Kurt Mahan, principal developers of JEMBlazer.


Re-Introducing QuickTime for Java, Part 2 (ONJava.com)
The QuickTime media API is stable and featureful. Due to its lineage, it's organized a little differently than a normal Java API. Chris Adamson explores the organization of QTJ and demonstrates a small video editor.

A Gentle Re-Introduction to QuickTime for Java (ONJava.com)
The QuickTime media API is stable and featureful. The Java SDK ships with useful docs and examples. Putting the two together can be painful, though. Chris Adamson presents a gentle introduction to programming QuickTime with Java.

Java API Map (ONJava.com)
Is the world of Java getting a little unweildy for you? Use our Java API map and directory to track all significant Java platforms and respective Java APIs. Includes the JAX Pack and MIDlets.

Other documents about this topic:

Below are other references available on the web for this topic. Since other sites may change their links, please if you find any that may need to be updated.

SVG and the Java 2D API
In this article, the author of the Graphics 2D SVG Generator explains how it takes advantage of the Java 2D API's extensible architecture, and how any Java application can take advantage of it. This installment is the first of two parts. [Source: Sun]

Java 3D API Tutorial
This Java 3D API tutorial introduces the main concepts of the Java 3D API, including many code samples, examples, and diagrams. You can view chapters online or download the PDF file. (PDF viewer available from Adobe) [Source: Java 3D Engineering]

Java 2D API Tutorial
The Java 2D Text APIs are part of the Java Foundation Classes (JFC), and come in the Java Development Kit (JDK) 1.2 download. Java 2D Text is fun and easy to use, and you will find a wide range of 2D Text capabilities in the enhanced java.awt.Font class and the new java.awt.font package. Because the Java 2D Text APIs provide a wealth of functionality, this tutorial focuses on what you need to know to use the java.awt.font.TextLayout class to create exciting, interesting, and interactive styled text in any language supported by the Unicode character set. [Source: Java.Sun]

JAI Tutorial
Java Advanced Imaging (JAI) tutorial provides an overview of JAI features, source code, and demos in the form of an interactive book. Examples show key JAI functionality and coding style to incorporate advanced imaging features into programs or applets, including: Convolution filtering Basic image arithmetic operators Look up table operations (brightness and contrast) Pan and zoom Image compositing [Source: java.sun.com]