## org.das2.graph.Auralizor

Stream QDataSet to the sound system, using DEPEND_0 to control sampling rate.

## Auralizor( QDataSet ds )

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

## PROP_POSITION

## PROP_SCALE

## PROP_TIMESCALE

## PROP_REPORT_PERIOD

## 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 [view source]

## getControlPanel

getControlPanel( ) → javax.swing.JPanel

### Returns:

javax.swing.JPanel
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getFramePosition

getFramePosition( ) → Datum

return the actual instant being played, getting the position from the line.

### Returns:

the position as a Datum, in the same frame as DEPEND_0.

### See Also:

SourceDataLine#getLongFramePosition()
[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]

## getReportPeriod

getReportPeriod( ) → Datum

### Returns:

org.das2.datum.Datum
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## getTimeScale

getTimeScale( ) → double

### Returns:

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

## isPlaying

isPlaying( ) → boolean

### Returns:

boolean
[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)

### See Also:

start()
[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 [view source]

## 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]

## setPlaying

setPlaying( boolean playing ) → void

### Parameters

playing - a boolean

### 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]

## setReportPeriod

setReportPeriod( Datum reportPeriod ) → void

frequency reports are issued. Note this may be ignored.

### Parameters

reportPeriod - 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]

## setTimeScale

setTimeScale( double timeScale ) → void

Speed or slow the sound by this much, greater than one speeds up, less than one slows down.

### Parameters

timeScale - a double

### Returns:

void (returns nothing)
[search for examples] [view on GitHub] [view on old javadoc] [view source]

## start

start( ) → void

begin streaming the sound. This will start the process on a separate thread and not block the current thread.

### Returns:

void (returns nothing)

### See Also:

playSound()
[search for examples] [view on GitHub] [view on old javadoc] [view source]