Package uk.ac.qmul.eecs.depic.daw
Class Sound
- java.lang.Object
-
- uk.ac.qmul.eecs.depic.daw.Sound
-
public class Sound extends java.lang.Object
a sound played by the Sonification
-
-
Constructor Summary
Constructors Constructor and Description Sound(java.lang.Enum<?> type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
float
getGain()
float
getPan()
float
getPitch()
java.lang.Object
getSource()
java.lang.Enum<?>
getType()
void
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Sound
setGain(float gain)
Sound
setPan(float pan)
Sound
setPitch(float pitch)
java.lang.String
toString()
-
-
-
Method Detail
-
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
-
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
-
getType
public java.lang.Enum<?> getType()
-
getPitch
public float getPitch()
-
setPitch
public Sound setPitch(float pitch)
-
getGain
public float getGain()
-
setGain
public Sound setGain(float gain)
-
setPan
public Sound setPan(float pan)
-
getPan
public float getPan()
-
getSource
public java.lang.Object getSource()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-