DixShtix

com.dixshtix.audio.pitch
Class HelmholtzHarmony.ClassicPartials

java.lang.Object
  |
  +--com.dixshtix.audio.pitch.HelmholtzHarmony.ClassicPartials
All Implemented Interfaces:
HelmholtzHarmony.PartialStructure
Enclosing class:
HelmholtzHarmony

public static class HelmholtzHarmony.ClassicPartials
extends java.lang.Object
implements HelmholtzHarmony.PartialStructure


Field Summary
private  double buz
           
private  double saw
           
private  double sin
           
private  double squ
           
private  double tri
           
 
Constructor Summary
HelmholtzHarmony.ClassicPartials(double sine, double buzz, double sawtooth, double square, double triangle)
           
 
Method Summary
 double computePartial(int partial)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

sin

private double sin

buz

private double buz

saw

private double saw

squ

private double squ

tri

private double tri
Constructor Detail

HelmholtzHarmony.ClassicPartials

public HelmholtzHarmony.ClassicPartials(double sine,
                                        double buzz,
                                        double sawtooth,
                                        double square,
                                        double triangle)
Method Detail

computePartial

public double computePartial(int partial)
Specified by:
computePartial in interface HelmholtzHarmony.PartialStructure

DixShtix