Class SoundPlayback
java.lang.Object
org.openpatch.scratch.SoundPlayback
One copy of a sound started with
playSoundCopy: it can be stopped or made louder or
quieter while it plays, independently of other copies.-
Method Summary
-
Method Details
-
stop
public void stop()Stops this copy. -
isPlaying
public boolean isPlaying()- Returns:
- whether this copy still plays
-
setVolume
public void setVolume(double volume) - Parameters:
volume- from 0 to 100
-