Package tripleplay.sound
Interface Clip
- All Superinterfaces:
Playable
- All Known Implementing Classes:
Clip.Silence
Represents a one-shot clip.
-
Nested Class Summary
-
Method Summary
-
Method Details
-
fadeIn
void fadeIn(float fadeMillis) Fades this clip in over the specified duration. -
fadeOut
void fadeOut(float fadeMillis) Fades this clip out over the specified duration. -
preload
void preload()Preloads this clip's underlying audio data. -
asSound
Sound asSound()Views this clip as aSound
. Only theSound.play()
andSound.stop()
methods can be used. Useful for passing a clip into code that expectsSound
.
-