Sampled Auditory Content
An Introduction with Examples in Java |
Prof. David Bernstein
|
Computer Science Department |
bernstdh@jmu.edu |
Temporal Sampling
Quantization
AudioFormat
object contains the number of channels (e.g., mono, stereo),
the sampling rate, the quantiziation (i.e., the number
of bits per sample), and the encoding technique (e.g.,
linear pulse code modulation, nonlinear mu-law).Conceptual Model of the Presentation of Sampled Audio
AudioFormat
BufferedSound
ClassBufferedSound
Objects:
A 100Hz Sine Wave
Harmonics (100Hz + 200Hz)
Beating/Phasing (100Hz + 105Hz)
An Infinite, Linear, Causal Filter
\( d_{i} = \sum_{k=0}^{n} s_{i-k} w_{k} + \sum_{j=0}^{m} d_{i-j} v_{j} \)
A Finite, Linear, Causal Filter (Finite Impulse Response Filter)
\( d_{i} = \sum_{k=0}^{n} s_{i-k} w_{k} \)
An Illustration
Using the Composite Pattern
The BoomBox
Getting Information on Capabilities