o1.sound.sampled
Type members
Classlikes
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.*
.
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.*
.
- Companion:
- class
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.
- Companion:
- object