Class BeadsSonification
- java.lang.Object
-
- uk.ac.qmul.eecs.depic.daw.beads.sonification.BeadsSonification
-
- All Implemented Interfaces:
- Sonification
public class BeadsSonification extends java.lang.Object implements Sonification
Sonification class that uses the Beads library
-
-
Constructor Summary
Constructors Constructor and Description BeadsSonification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description SequenceMapping
getSequenceMapping(SoundType soundType)
returns the sequence mappingvoid
outsideSelection()
play the sound of the event: cursor exits the selectionvoid
play(SoundType soundType)
play a sound with default gain and panvoid
play(SoundType soundType, float gain, float pan)
play a sound with specific gain and panvoid
withinSelection(float g, float p)
play the sound of the event: cursor entering the selection
-
-
-
Method Detail
-
getSequenceMapping
public SequenceMapping getSequenceMapping(SoundType soundType)
Description copied from interface:Sonification
returns the sequence mapping- Specified by:
getSequenceMapping
in interfaceSonification
-
play
public void play(SoundType soundType)
Description copied from interface:Sonification
play a sound with default gain and pan- Specified by:
play
in interfaceSonification
-
play
public void play(SoundType soundType, float gain, float pan)
Description copied from interface:Sonification
play a sound with specific gain and pan- Specified by:
play
in interfaceSonification
-
withinSelection
public void withinSelection(float g, float p)
Description copied from interface:Sonification
play the sound of the event: cursor entering the selection- Specified by:
withinSelection
in interfaceSonification
-
outsideSelection
public void outsideSelection()
Description copied from interface:Sonification
play the sound of the event: cursor exits the selection- Specified by:
outsideSelection
in interfaceSonification
-
-