o1.sound.sampled
package o1.sound.sampled
Members list
Type members
Classlikes
object Sound
This companion object of class Sound
provides methods for creating new Sound
objects. It has an alias in the top-level package o1, so it’s accessible to students simply via import o1.*
.
trait Sound
Each instance of this trait represents a recorded sound sample.
Each instance of this trait represents a recorded sound sample.
You create Sound
s with the methods on the companion object: Sound("my_sound_file.wav")
. The supported formats are WAV, AIFF, AU, AIFC, and SND.
This trait has an alias in the top-level package o1, so it’s accessible to students simply via import o1.*
.
This type is essentially a wrapper around the key functionality in javax.sound.sampled
, especially its Clip class.
Attributes
- Companion
- object
- Supertypes
Value members
Concrete fields
In this article