Current area: HOME -> Java -> Sound & Music Articles
Sound & Music
Add MP3 capabilities to Java Sound with SPI
The Service Provider Interface (SPI), allows developers to transparently add new functions to the JVM. That allows older Java programs to take advantage of the newly added functions with no changes and no recompiling. In this article, the Author introduces the SPI by way of a real-world example: MP3 sound files
Cellular Automata and Music Using Java
Take computers, mathematics, and the Java Sound API, add in some Java code, and you've got a recipe for creating some uniquely fascinating music. IBM Staff Software Engineer Paul Reiners demonstrates how to implement some basic concepts of algorithmic music composition in the Java language. He presents code examples and resulting MIDI files generated by the Automatous Monk program, which uses the open source jMusic framework to compose music based on mathematical structures called cellular automata.
Introduction to Java media programming
In this first installment of the Media Programming column,
author Bill Day introduces the Java Media and Communication
APIs. Day also discusses the major issues facing potential Java
Media developers and supplies a roadmap for upcoming articles
in this new monthly JavaWorld column.
Java Sound, an Introduction
This lesson provides a description of sound from both a
physical and a programming viewpoint. The lesson introduces the
Java Sound API, which provides a high degree of control over
audio-specific functionality in Java programs. It identifies
the important packages incorporated in the Sound API and
explains the difference between the sampled packages and the
MIDI packages. The lesson provides a description of sampled
audio, and explains the typical steps used to capture sampled
audio. It also explains the typical steps used to render
sampled audio. Finally, the lesson provides a program that you
can use to first capture and then to play back audio sound.
Java Sound, Getting Started, Part 1, Playback
This is the second lesson in a series of lessons designed to teach you how to use the Java Sound API. The first lesson in the series was entitled Java Sound, An Introduction.
Java Sound, Getting Started, Part 2, Capture Using Specified Mixer
This series of lessons is designed to teach you how to use the Java Sound API. The first lesson in the series was entitled Java Sound, An Introduction. The previous lesson was entitled Java Sound, Getting Started, Part 1, Playback. This lesson, entitled Java Sound, Getting Started, Part 2, Capture using Specified Mixer, is a follow-on to the previous lesson.
QuickTimeJava Audio
QuickTime Java can be the heart and soul of cross-platform video players and editors. As you will see in this article, QTJ is also well-suited to be the engine of audio-only applications, such as MP3 players. This article will develop 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'll also look at QuickTime's "callbacks," which are critical to all kinds of QT apps.
Talking Java!
This article shows how to implement a simple speech engine with less than 150 lines of Java code, no hardware, and no native calls. And if you're new to the Java Sound API, this article will serve as a handy introduction.
Writing a Seamless Looper in Java, Part 1: Playing Audio
This article will show you how to create a utility class that can seamlessly play a looped sample over and over in continuous loops, and which can replace the loop in realtime with another loop, without skipping a beat.