| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsound.Voice
public class Voice
Created by IntelliJ IDEA. User: dlyon Date: Nov 10, 2003 Time: 6:46:12 PM To change this template use Options | File Templates.
| Constructor Summary | |
|---|---|
| Voice(double _frequency) | |
| Method Summary | |
|---|---|
|  double | getFrequency() | 
|  double[] | getVoicedWave()This gives us all 7 harmonics together. | 
|  double[] | getVoicedWave(int i)Get the double precision voice where i is the harmonic number, starting affineTransform 1 and ending affineTransform 7. | 
| static void | main(java.lang.String[] args) | 
|  void | play() | 
|  void | setFrequency(double _d) | 
|  void | setHarmonic(double[] _d)setHamonic is called every time a new voice is instanced, or the default squarewave will be played. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Voice(double _frequency)
| Method Detail | 
|---|
public double getFrequency()
public void setFrequency(double _d)
public void setHarmonic(double[] _d)
_d - public double[] getVoicedWave()
public double[] getVoicedWave(int i)
i - 
public void play()
public static void main(java.lang.String[] args)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||