sonification
Class SoundGen
java.lang.Object
sonification.SoundGen
public class SoundGen
- extends java.lang.Object
Constructor Summary |
SoundGen(double Mstar,
double[][] orbitalState,
double initTime)
|
Method Summary |
static void |
copy(double[][] copied,
double[][] stored)
|
static void |
copy(double[] copied,
double[] stored)
|
void |
findViewRange(boolean find)
|
void |
generateSnd(java.lang.String baseFileNm,
double soundLength)
|
double[][] |
getViewRange()
|
static double[][] |
linearEnvelope(double[][] in,
double inFrac,
double outFrac)
|
static void |
makeSysFile(java.lang.String sysDir,
java.lang.String sysNm,
double mstar)
|
static void |
minimizeOffset(double[][] curve)
|
static void |
outputWaveform(java.lang.String file,
double[][] curve)
|
void |
setEnvelope(double att,
double sus)
|
void |
setFreq(double freq)
|
void |
setSoundDir(java.lang.String dir)
|
void |
setStoreWaveform(boolean store)
|
void |
setWaveDir(java.lang.String dir)
|
static void |
shellSort(double[][] arr,
int col,
int startRow,
int endRow)
|
static void |
storeRVdata(java.lang.String file,
double[][] data)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoundGen
public SoundGen(double Mstar,
double[][] orbitalState,
double initTime)
findViewRange
public void findViewRange(boolean find)
setStoreWaveform
public void setStoreWaveform(boolean store)
setSoundDir
public void setSoundDir(java.lang.String dir)
setWaveDir
public void setWaveDir(java.lang.String dir)
setFreq
public void setFreq(double freq)
setEnvelope
public void setEnvelope(double att,
double sus)
generateSnd
public void generateSnd(java.lang.String baseFileNm,
double soundLength)
getViewRange
public double[][] getViewRange()
linearEnvelope
public static double[][] linearEnvelope(double[][] in,
double inFrac,
double outFrac)
minimizeOffset
public static void minimizeOffset(double[][] curve)
shellSort
public static void shellSort(double[][] arr,
int col,
int startRow,
int endRow)
copy
public static void copy(double[] copied,
double[] stored)
copy
public static void copy(double[][] copied,
double[][] stored)
outputWaveform
public static void outputWaveform(java.lang.String file,
double[][] curve)
storeRVdata
public static void storeRVdata(java.lang.String file,
double[][] data)
makeSysFile
public static void makeSysFile(java.lang.String sysDir,
java.lang.String sysNm,
double mstar)