A B C D F G I K L M N P R S T U V 

A

add(byte) - Method in class kuusisto.tinysound.internal.ByteList
Add a byte to the end of this ByteList.
asArray() - Method in class kuusisto.tinysound.internal.ByteList
Get an array of all the bytes added to this ByteList.

B

ByteList - Class in kuusisto.tinysound.internal
The ByteList class is a dynamically sized array of primitive bytes.
ByteList() - Constructor for class kuusisto.tinysound.internal.ByteList
Create a new ByteList of default starting size.
ByteList(int) - Constructor for class kuusisto.tinysound.internal.ByteList
Create a new ByteList of a specified starting size.
bytesAvailable() - Method in interface kuusisto.tinysound.internal.MusicReference
Get the number of bytes remaining for each channel until the end of this Music.
bytesAvailable() - Method in interface kuusisto.tinysound.internal.SoundReference
Get the number of bytes remaining for each channel.

C

clear() - Method in class kuusisto.tinysound.internal.ByteList
Clear this ByteList of all added bytes.
clearMusic() - Method in class kuusisto.tinysound.internal.Mixer
Unregister all Music registered with this Mixer.
clearSounds() - Method in class kuusisto.tinysound.internal.Mixer
Unregister all Sounds registered with this Mixer.

D

dispose() - Method in interface kuusisto.tinysound.internal.MusicReference
Does any cleanup necessary to dispose of resources in use by this MusicReference.
dispose() - Method in interface kuusisto.tinysound.internal.SoundReference
Does any cleanup necessary to dispose of resources in use by this SoundReference.
done() - Method in class kuusisto.tinysound.internal.MemMusic
Determine if this MemMusic has reached its end and is done playing.
done() - Method in interface kuusisto.tinysound.internal.MusicReference
Determine if there are no bytes remaining and play has stopped.
done() - Method in class kuusisto.tinysound.internal.StreamMusic
Determine if this StreamMusic has reached its end and is done playing.
done() - Method in interface kuusisto.tinysound.Music
Determine if this Music has reached its end and is done playing.

F

FORMAT - Static variable in class kuusisto.tinysound.TinySound
The internal format used by TinySound.

G

get(int) - Method in class kuusisto.tinysound.internal.ByteList
Get a byte at a specified index in this ByteList.
getGlobalVolume() - Static method in class kuusisto.tinysound.TinySound
Get the global volume for all audio.
getLoop() - Method in interface kuusisto.tinysound.internal.MusicReference
Get the loop setting of this MusicReference.
getLoopPosition() - Method in interface kuusisto.tinysound.internal.MusicReference
Get the loop-position byte index of this MusicReference.
getLoopPositionByFrame() - Method in class kuusisto.tinysound.internal.MemMusic
Get the loop position of this MemMusic by sample frame.
getLoopPositionByFrame() - Method in class kuusisto.tinysound.internal.StreamMusic
Get the loop position of this StreamMusic by sample frame.
getLoopPositionByFrame() - Method in interface kuusisto.tinysound.Music
Get the loop position of this Music by sample frame.
getLoopPositionBySeconds() - Method in class kuusisto.tinysound.internal.MemMusic
Get the loop position of this MemMusic by seconds.
getLoopPositionBySeconds() - Method in class kuusisto.tinysound.internal.StreamMusic
Get the loop position of this StreamMusic by seconds.
getLoopPositionBySeconds() - Method in interface kuusisto.tinysound.Music
Get the loop position of this Music by seconds.
getPan() - Method in class kuusisto.tinysound.internal.MemMusic
Get the pan of this MemMusic.
getPan() - Method in interface kuusisto.tinysound.internal.MusicReference
Get the pan of this MusicReference.
getPan() - Method in interface kuusisto.tinysound.internal.SoundReference
Gets the pan of this SoundReference.
getPan() - Method in class kuusisto.tinysound.internal.StreamMusic
Get the pan of this StreamMusic.
getPan() - Method in interface kuusisto.tinysound.Music
Get the pan of this Music.
getPlaying() - Method in interface kuusisto.tinysound.internal.MusicReference
Get the playing setting of this MusicReference.
getPosition() - Method in interface kuusisto.tinysound.internal.MusicReference
Get the byte index of this MusicReference.
getSoundID() - Method in interface kuusisto.tinysound.internal.SoundReference
Get the ID of the Sound that produced this SoundReference.
getVolume() - Method in class kuusisto.tinysound.internal.MemMusic
Get the volume of this MemMusic.
getVolume() - Method in class kuusisto.tinysound.internal.Mixer
Get the global volume for this Mixer.
getVolume() - Method in interface kuusisto.tinysound.internal.MusicReference
Get the volume of this MusicReference.
getVolume() - Method in interface kuusisto.tinysound.internal.SoundReference
Gets the volume of this SoundReference.
getVolume() - Method in class kuusisto.tinysound.internal.StreamMusic
Get the volume of this StreamMusic.
getVolume() - Method in interface kuusisto.tinysound.Music
Get the volume of this Music.

I

init() - Static method in class kuusisto.tinysound.TinySound
Initialize Tinysound.
init(Mixer.Info) - Static method in class kuusisto.tinysound.TinySound
Alternative function to initialize TinySound which should only be used by those very familiar with the Java Sound API.
isInitialized() - Static method in class kuusisto.tinysound.TinySound
Determine if TinySound is initialized and ready for use.

K

kuusisto.tinysound - package kuusisto.tinysound
 
kuusisto.tinysound.internal - package kuusisto.tinysound.internal
 

L

loadMusic(String) - Static method in class kuusisto.tinysound.TinySound
Load a Music by a resource name.
loadMusic(String, boolean) - Static method in class kuusisto.tinysound.TinySound
Load a Music by a resource name.
loadMusic(File) - Static method in class kuusisto.tinysound.TinySound
Load a Music by a File.
loadMusic(File, boolean) - Static method in class kuusisto.tinysound.TinySound
Load a Music by a File.
loadMusic(URL) - Static method in class kuusisto.tinysound.TinySound
Load a Music by a URL.
loadMusic(URL, boolean) - Static method in class kuusisto.tinysound.TinySound
Load a Music by a URL.
loadSound(String) - Static method in class kuusisto.tinysound.TinySound
Load a Sound by a resource name.
loadSound(String, boolean) - Static method in class kuusisto.tinysound.TinySound
Load a Sound by a resource name.
loadSound(File) - Static method in class kuusisto.tinysound.TinySound
Load a Sound by a File.
loadSound(File, boolean) - Static method in class kuusisto.tinysound.TinySound
Load a Sound by a File.
loadSound(URL) - Static method in class kuusisto.tinysound.TinySound
Load a Sound by a URL.
loadSound(URL, boolean) - Static method in class kuusisto.tinysound.TinySound
Load a Sound by a URL.
loop() - Method in class kuusisto.tinysound.internal.MemMusic
Determine if this MemMusic will loop.
loop() - Method in class kuusisto.tinysound.internal.StreamMusic
Determine if this StreamMusic will loop.
loop() - Method in interface kuusisto.tinysound.Music
Determine if this Music will loop.

M

MemMusic - Class in kuusisto.tinysound.internal
The MemMusic class is an implementation of the Music interface that stores all audio data in memory for low latency.
MemMusic(byte[], byte[], Mixer) - Constructor for class kuusisto.tinysound.internal.MemMusic
Construct a new MemMusic with the given music data and the Mixer with which to register this MemMusic.
MemSound - Class in kuusisto.tinysound.internal
The MemSound class is an implementation of the Sound interface that stores all audio data in memory for low latency.
MemSound(byte[], byte[], Mixer, int) - Constructor for class kuusisto.tinysound.internal.MemSound
Construct a new MemSound with the given data and Mixer which will handle this MemSound.
Mixer - Class in kuusisto.tinysound.internal
The Mixer class is what does the audio data mixing for the TinySound system.
Mixer() - Constructor for class kuusisto.tinysound.internal.Mixer
Construct a new Mixer for TinySound system.
Music - Interface in kuusisto.tinysound
The Music interface is an abstraction for music.
MusicReference - Interface in kuusisto.tinysound.internal
The MusicReference interface is the Mixer's interface to the audio data of a Music object.

N

nextTwoBytes(int[], boolean) - Method in interface kuusisto.tinysound.internal.MusicReference
Get the next two bytes from the music data in the specified endianness.
nextTwoBytes(int[], boolean) - Method in interface kuusisto.tinysound.internal.SoundReference
Get the next two bytes from the sound data in the specified endianness.
NUM_BYTES_PER_CHANNEL - Variable in class kuusisto.tinysound.internal.StreamInfo
 

P

pause() - Method in class kuusisto.tinysound.internal.MemMusic
Stop playing this MemMusic and keep its current position.
pause() - Method in class kuusisto.tinysound.internal.StreamMusic
Stop playing this StreamMusic and keep its current position.
pause() - Method in interface kuusisto.tinysound.Music
Stop playing this Music and keep its current position.
play(boolean) - Method in class kuusisto.tinysound.internal.MemMusic
Play this MemMusic and loop if specified.
play(boolean, double) - Method in class kuusisto.tinysound.internal.MemMusic
Play this MemMusic at the specified volume and loop if specified.
play(boolean, double, double) - Method in class kuusisto.tinysound.internal.MemMusic
Play this MemMusic at the specified volume and pan, and loop if specified .
play() - Method in class kuusisto.tinysound.internal.MemSound
Plays this MemSound.
play(double) - Method in class kuusisto.tinysound.internal.MemSound
Plays this MemSound with a specified volume.
play(double, double) - Method in class kuusisto.tinysound.internal.MemSound
Plays this MemSound with a specified volume and pan.
play(boolean) - Method in class kuusisto.tinysound.internal.StreamMusic
Play this StreamMusic and loop if specified.
play(boolean, double) - Method in class kuusisto.tinysound.internal.StreamMusic
Play this StreamMusic at the specified volume and loop if specified.
play(boolean, double, double) - Method in class kuusisto.tinysound.internal.StreamMusic
Play this StreamMusic at the specified volume and pan, and loop if specified.
play() - Method in class kuusisto.tinysound.internal.StreamSound
Plays this StreamSound.
play(double) - Method in class kuusisto.tinysound.internal.StreamSound
Plays this StreamSound with a specified volume.
play(double, double) - Method in class kuusisto.tinysound.internal.StreamSound
Plays this MemSound with a specified volume and pan.
play(boolean) - Method in interface kuusisto.tinysound.Music
Play this Music and loop if specified.
play(boolean, double) - Method in interface kuusisto.tinysound.Music
Play this Music at the specified volume and loop if specified.
play(boolean, double, double) - Method in interface kuusisto.tinysound.Music
Play this Music at the specified volume and pan, and loop if specified.
play() - Method in interface kuusisto.tinysound.Sound
Plays this Sound.
play(double) - Method in interface kuusisto.tinysound.Sound
Plays this Sound with a specified volume.
play(double, double) - Method in interface kuusisto.tinysound.Sound
Plays this Sound with a specified volume and pan.
playing() - Method in class kuusisto.tinysound.internal.MemMusic
Determine if this MemMusic is playing.
playing() - Method in class kuusisto.tinysound.internal.StreamMusic
Determine if this StreamMusic is playing.
playing() - Method in interface kuusisto.tinysound.Music
Determine if this Music is playing.

R

read(byte[], int, int) - Method in class kuusisto.tinysound.internal.Mixer
Read bytes from this Mixer.
registerMusicReference(MusicReference) - Method in class kuusisto.tinysound.internal.Mixer
Registers a MusicReference with this Mixer.
registerSoundReference(SoundReference) - Method in class kuusisto.tinysound.internal.Mixer
Registers a SoundReference with this Mixer.
resume() - Method in class kuusisto.tinysound.internal.MemMusic
Play this MemMusic from its current position.
resume() - Method in class kuusisto.tinysound.internal.StreamMusic
Play this StreamMusic from its current position.
resume() - Method in interface kuusisto.tinysound.Music
Play this Music from its current position.
rewind() - Method in class kuusisto.tinysound.internal.MemMusic
Set this MemMusic's position to the beginning.
rewind() - Method in class kuusisto.tinysound.internal.StreamMusic
Set this StreamMusic's position to the beginning.
rewind() - Method in interface kuusisto.tinysound.Music
Set this Music's position to the beginning.
rewindToLoopPosition() - Method in class kuusisto.tinysound.internal.MemMusic
Set this MemMusic's position to the loop position.
rewindToLoopPosition() - Method in class kuusisto.tinysound.internal.StreamMusic
Set this StreamMusic's position to the loop position.
rewindToLoopPosition() - Method in interface kuusisto.tinysound.Music
Set this Music's position to the loop position.
run() - Method in class kuusisto.tinysound.internal.UpdateRunner
 

S

setGlobalVolume(double) - Static method in class kuusisto.tinysound.TinySound
Set the global volume.
setLoop(boolean) - Method in class kuusisto.tinysound.internal.MemMusic
Set whether this MemMusic will loop.
setLoop(boolean) - Method in interface kuusisto.tinysound.internal.MusicReference
Set whether this MusicReference will loop.
setLoop(boolean) - Method in class kuusisto.tinysound.internal.StreamMusic
Set whether this StreamMusic will loop.
setLoop(boolean) - Method in interface kuusisto.tinysound.Music
Set whether this Music will loop.
setLoopPosition(long) - Method in interface kuusisto.tinysound.internal.MusicReference
Set the loop-position byte index of this MusicReference.
setLoopPositionByFrame(int) - Method in class kuusisto.tinysound.internal.MemMusic
Set the loop position of this MemMusic by sample frame.
setLoopPositionByFrame(int) - Method in class kuusisto.tinysound.internal.StreamMusic
Set the loop position of this StreamMusic by sample frame.
setLoopPositionByFrame(int) - Method in interface kuusisto.tinysound.Music
Set the loop position of this Music by sample frame.
setLoopPositionBySeconds(double) - Method in class kuusisto.tinysound.internal.MemMusic
Set the loop position of this MemMusic by seconds.
setLoopPositionBySeconds(double) - Method in class kuusisto.tinysound.internal.StreamMusic
Set the loop position of this StreamMusic by seconds.
setLoopPositionBySeconds(double) - Method in interface kuusisto.tinysound.Music
Set the loop position of this Music by seconds.
setPan(double) - Method in class kuusisto.tinysound.internal.MemMusic
Set the pan of this MemMusic.
setPan(double) - Method in interface kuusisto.tinysound.internal.MusicReference
Set the pan of this MusicReference.
setPan(double) - Method in class kuusisto.tinysound.internal.StreamMusic
Set the pan of this StreamMusic.
setPan(double) - Method in interface kuusisto.tinysound.Music
Set the pan of this Music.
setPlaying(boolean) - Method in interface kuusisto.tinysound.internal.MusicReference
Set whether this MusicReference is playing.
setPosition(long) - Method in interface kuusisto.tinysound.internal.MusicReference
Set the byte index of this MusicReference.
setVolume(double) - Method in class kuusisto.tinysound.internal.MemMusic
Set the volume of this MemMusic.
setVolume(double) - Method in class kuusisto.tinysound.internal.Mixer
Set the global volume for this Mixer.
setVolume(double) - Method in interface kuusisto.tinysound.internal.MusicReference
Set the volume of this MusicReference.
setVolume(double) - Method in class kuusisto.tinysound.internal.StreamMusic
Set the volume of this StreamMusic.
setVolume(double) - Method in interface kuusisto.tinysound.Music
Set the volume of this Music.
shutdown() - Static method in class kuusisto.tinysound.TinySound
Shutdown TinySound.
size() - Method in class kuusisto.tinysound.internal.ByteList
Get the number of bytes that have been added to this ByteList.
skip(int) - Method in class kuusisto.tinysound.internal.Mixer
Skip specified number of bytes of all audio in this Mixer.
skipBytes(long) - Method in interface kuusisto.tinysound.internal.MusicReference
Skip a specified number of bytes of the audio data.
skipBytes(long) - Method in interface kuusisto.tinysound.internal.SoundReference
Skip a specified number of bytes of the audio data.
Sound - Interface in kuusisto.tinysound
The Sound interface is an abstraction for sound effects.
SoundReference - Interface in kuusisto.tinysound.internal
The SoundReference interface is the Mixer's interface to the audio data of a Sound object.
stop() - Method in class kuusisto.tinysound.internal.MemMusic
Stop playing this MemMusic and set its position to the beginning.
stop() - Method in class kuusisto.tinysound.internal.MemSound
Stops this MemSound from playing.
stop() - Method in class kuusisto.tinysound.internal.StreamMusic
Stop playing this StreamMusic and set its position to the beginning.
stop() - Method in class kuusisto.tinysound.internal.StreamSound
Stops this StreamSound from playing.
stop() - Method in class kuusisto.tinysound.internal.UpdateRunner
Stop this UpdateRunner from updating the TinySound system.
stop() - Method in interface kuusisto.tinysound.Music
Stop playing this Music and set its position to the beginning.
stop() - Method in interface kuusisto.tinysound.Sound
Stops this Sound from playing.
StreamInfo - Class in kuusisto.tinysound.internal
 
StreamInfo(URL, long) - Constructor for class kuusisto.tinysound.internal.StreamInfo
 
StreamMusic - Class in kuusisto.tinysound.internal
The StreamMusic class is an implementation of the Music interface that streams audio data from a temporary file to reduce memory overhead.
StreamMusic(URL, long, Mixer) - Constructor for class kuusisto.tinysound.internal.StreamMusic
Construct a new StreamMusic with the given data and the Mixer with which to register this StreamMusic.
StreamSound - Class in kuusisto.tinysound.internal
Thes StreamSound class is an implementation of the Sound interface that streams audio data from a temporary file to reduce memory overhead.
StreamSound(URL, long, Mixer, int) - Constructor for class kuusisto.tinysound.internal.StreamSound
Construct a new StreamSound with the given data and Mixer which will handle this StreamSound.

T

TinySound - Class in kuusisto.tinysound
TinySound is the main class of the TinySound system.
TinySound() - Constructor for class kuusisto.tinysound.TinySound
 

U

unload() - Method in class kuusisto.tinysound.internal.MemMusic
Unload this MemMusic from the system.
unload() - Method in class kuusisto.tinysound.internal.MemSound
Unloads this MemSound from the system.
unload() - Method in class kuusisto.tinysound.internal.StreamMusic
Unload this MemMusic from the system.
unload() - Method in class kuusisto.tinysound.internal.StreamSound
Unloads this StreamSound from the system.
unload() - Method in interface kuusisto.tinysound.Music
Unload this Music from the system.
unload() - Method in interface kuusisto.tinysound.Sound
Unloads this Sound from the system.
unRegisterMusicReference(MusicReference) - Method in class kuusisto.tinysound.internal.Mixer
Unregisters a MusicReference with this Mixer.
unRegisterSoundReference(int) - Method in class kuusisto.tinysound.internal.Mixer
Unregisters all SoundReferences with a given soundID.
UpdateRunner - Class in kuusisto.tinysound.internal
The UpdateRunner class implements Runnable and is what performs automatic updates of the TinySound system.
UpdateRunner(Mixer, SourceDataLine) - Constructor for class kuusisto.tinysound.internal.UpdateRunner
Constructs a new UpdateRunner to update the TinySound system.
URL - Variable in class kuusisto.tinysound.internal.StreamInfo
 

V

VERSION - Static variable in class kuusisto.tinysound.TinySound
 
A B C D F G I K L M N P R S T U V