Package simulatedAcquisition.sounds
Class PinkNoise
java.lang.Object
simulatedAcquisition.sounds.SimSignal
simulatedAcquisition.sounds.WhiteNoise
simulatedAcquisition.sounds.PinkNoise
Pink noise source - that's noise that has roughly the same amount 
 of energy in each octave band.
- Author:
 - Doug Gillespie
 
- 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class simulatedAcquisition.sounds.SimSignal
prepareSignal, taperEnds, toString 
- 
Constructor Details
- 
PinkNoise
public PinkNoise() 
 - 
 - 
Method Details
- 
getName
- Overrides:
 getNamein classWhiteNoise- Returns:
 - friendly name for displaying
 
 - 
getSignal
public double[] getSignal(int channel, float sampleRate, double sampleOffset) Description copied from class:SimSignalGet a single simulated signal.- Overrides:
 getSignalin classWhiteNoise- Parameters:
 sampleRate- sample rate of datasampleOffset- sample offset - 0invalid input: '<'=sampleOffsetinvalid input: '<'1
How far into the sound the first sample is, i.e. 0 means that the first sample point will be right on the start of the sound (value 0 if it's sin wave based), value 0.5 would be half a sample later.- Returns:
 - a signal for a single channel.
 
 
 -