没有合适的资源?快使用搜索试试~ 我知道了~
java sound programmer_guide.pdf 转自sun
4星 · 超过85%的资源 需积分: 11 16 下载量 28 浏览量
2012-07-13
07:30:34
上传
评论
收藏 464KB PDF 举报
温馨提示
试读
114页
讲解Java工具在声音处理上的应用 AudioSystem.java For the benefit of service providers and API implementers, a brief overview of the JavaSound source code is provided. javax.sound.sampled.AudioSystem is the entry point to JavaSound for obtaining resources; i.e., mixers, lines, etc. And each method of AudioSystem involves getting the providers of some service—MixerProvider[], FormatConversionProvider[], AudioFileReader[], or AudioFileWriter[]. Then the method goes onto to obtain some specific information or perform some task. There is much similarity in how these methods work. Let us take a look at how getMixerInfo() works. The following is a sequence diagram of getMixerInfo() in AudioSystem.java:
资源推荐
资源详情
资源评论
Sampled Audio
What Is Sampled Audio?
Audio Configurations
MIDI
What Is MIDI?
MIDI Configurations
Service Provider Interfaces
Part I: Sampled Audio
Chapter 2: Overview of the Sampled
Package
Design Goals
A Focus on Data Transport
Buffered and Unbuffered Handling of Audio
The Essentials: Format, Mixer, and Line
What Is Formatted Audio Data?
What Is a Mixer?
What Is a Line?
Lines in an Audio-output Configuration
Lines in an Audio-input Configuration
The Line Interface Hierarchy
Chapter 3: Accessing Audio System
Resources
The AudioSystem Class
Information Objects
Getting a Mixer
Getting a Line of a Desired Type
Getting a Line Directly from the AudioSystem
Getting a Line from a Mixer
Selecting Input and Output Ports
Permission to Use Audio Resources
Chapter 4: Playing Back Audio
Using a Clip
Setting Up the Clip for Playback
Starting and Stopping Playback
Using a SourceDataLine
Setting Up the SourceDataLine for Playback
Starting and Stopping Playback
Monitoring a Line's Status
Synchronizing Playback on Multiple Lines
Processing the Outgoing Audio
Chapter 5: Capturing Audio
Setting Up a TargetDataLine
Reading the Data from the TargetDataLine
Monitoring the Line's Status
Processing the Incoming Audio
Chapter 6: Processing Audio with
Controls
Introduction to Controls
Getting a Line that Has the Desired Controls
Getting the Controls from the Line
Using a Control to Change the Audio Signal
Controlling a Line's Mute State
Changing a Line's Volume
Selecting among Various Reverberation Presets
Manipulating the Audio Data Directly
Chapter 7: Using Files and Format
Converters
Reading Sound Files
Writing Sound Files
Converting File and Data Formats
Converting from One File Format to Another
Converting Audio between Different Data Formats
Learning What Conversions Are Available
Part II: MIDI
Chapter 8: Overview of the MIDI
Package
A MIDI Refresher: Wires and Files
Streaming Data in the MIDI Wire Protocol
Sequenced Data in Standard MIDI Files
The Java Sound API's Representation of MIDI Data
MIDI Messages
MIDI Events
Sequences and Tracks
The Java Sound API's Representation of MIDI Devices
The MidiDevice Interface
Transmitters and Receivers
Sequencers
Synthesizers
Chapter 9: Accessing MIDI System
Resources
The MidiSystem Class
Obtaining Default Devices
Learning What Devices Are Installed
Obtaining a Desired Device
Opening Devices
Chapter 10: Transmitting and
Receiving MIDI Messages
Understanding Devices, Transmitters, and Receivers
Sending a Message to a Receiver without Using a Transmitter
Understanding Time Stamps
Time Stamps on Messages Sent to Devices
Connecting Transmitters to Receivers
Connecting to a Single Device
Connecting to More than One Device
Closing Connections
Chapter 11: Playing, Recording, and
Editing MIDI Sequences
Introduction to Sequencers
When to Use a Sequencer
Understanding Sequence Data
Sequences and Tracks
MidiEvents and Ticks
Overview of Sequencer Methods
Obtaining a Sequencer
Loading a Sequence
Playing a Sequence
剩余113页未读,继续阅读
资源评论
- smallnewQaQ2013-08-28这文档写的很详细,非常不错,看完就成大师了
- aione12342013-07-31有没有中文版的
ddjdl
- 粉丝: 16
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功