org.das2.graph.Auralizor

Stream QDataSet to the sound system, using DEPEND_0 to control sampling rate. Note this does not support the new waveform packet scheme introduced a few years ago, and can easily be made to support it.

Auralizor( QDataSet ds )

create an Auralizor for rendering the dataset to the sound system.


PROP_POSITION


PROP_SCALE


addPropertyChangeListener

addPropertyChangeListener( java.beans.PropertyChangeListener listener ) → void

Parameters

listener - a PropertyChangeListener

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

addPropertyChangeListener( String propname, java.beans.PropertyChangeListener listener ) → void

getControlPanel

getControlPanel( ) → javax.swing.JPanel

Returns:

javax.swing.JPanel

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getPosition

getPosition( ) → Datum

Returns:

org.das2.datum.Datum

[search for examples] [view on GitHub] [view on old javadoc] [view source]


isScale

isScale( ) → boolean

Returns:

boolean

[search for examples] [view on GitHub] [view on old javadoc] [view source]


playSound

playSound( ) → void

begin streaming the sound. This will block the current thread until complete.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


removePropertyChangeListener

removePropertyChangeListener( java.beans.PropertyChangeListener listener ) → void

Parameters

listener - a PropertyChangeListener

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]

removePropertyChangeListener( String propname, java.beans.PropertyChangeListener listener ) → void

reset

reset( ) → void

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setDataSet

setDataSet( QDataSet ds ) → void

set the dataset to stream. The dataset should be rank 1 or a rank 2 waveform, and have DEPEND_0 which is convertible to seconds or be a time location unit.

Parameters

ds - the rank 1 dataset with DEPEND_0 convertible to seconds or be a time location unit, or rank 2 waveform.

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setPosition

setPosition( Datum position ) → void

Parameters

position - a Datum

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]


setScale

setScale( boolean scale ) → void

Parameters

scale - a boolean

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]