Package uk.ac.qmul.eecs.depic.daw
Interface Sonification
-
- All Known Implementing Classes:
- BeadsSonification
public interface Sonification
A Sonification object. It represents information as sound. This is used both for playing samples in response to a user action and for giving a sonic representation of DAW entities such as automations through the SequenceMapping abstraction.
-
-
Method Summary
All Methods Instance Methods Abstract 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 type)
play a sound with default gain and panvoid
play(SoundType type, 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
SequenceMapping getSequenceMapping(SoundType soundType)
returns the sequence mapping
-
withinSelection
void withinSelection(float g, float p)
play the sound of the event: cursor entering the selection
-
outsideSelection
void outsideSelection()
play the sound of the event: cursor exits the selection
-
play
void play(SoundType type)
play a sound with default gain and pan
-
play
void play(SoundType type, float gain, float pan)
play a sound with specific gain and pan
-
-