diff src/com/aurellem/capture/examples/AdvancedAudio.java @ 22:c7a07eefaeea

started work on audio AI
author Robert McIntyre <rlm@mit.edu>
date Sun, 30 Oct 2011 01:19:11 -0700
parents bc6fbfbbadd9
children 5f616cc420dd
line wrap: on
line diff
     1.1 --- a/src/com/aurellem/capture/examples/AdvancedAudio.java	Sat Oct 29 16:23:57 2011 -0700
     1.2 +++ b/src/com/aurellem/capture/examples/AdvancedAudio.java	Sun Oct 30 01:19:11 2011 -0700
     1.3 @@ -77,9 +77,9 @@
     1.4  	 private Geometry bell;
     1.5  	 
     1.6  	 private Spatial ear1;
     1.7 -	 private Spatial ear2;
     1.8 -	 private Spatial ear3;
     1.9 -	 private Spatial ear4;
    1.10 +	 //private Spatial ear2;
    1.11 +	 //private Spatial ear3;
    1.12 +	 //private Spatial ear4;
    1.13  	 
    1.14  	 
    1.15  	 private Vector3f[] path = new Vector3f[]{
    1.16 @@ -146,9 +146,9 @@
    1.17  		 rootNode.addLight(light);
    1.18  
    1.19  		 ear1 = makeEar(rootNode, new Vector3f(0, 0 ,20));
    1.20 -		 ear2 = makeEar(rootNode, new Vector3f(0, 0 ,-20));
    1.21 -		 ear3 = makeEar(rootNode, new Vector3f(20, 0 ,0));
    1.22 -		 ear4 = makeEar(rootNode, new Vector3f(-20, 0 ,0));
    1.23 +		 //ear2 = makeEar(rootNode, new Vector3f(0, 0 ,-20));
    1.24 +		 //ear3 = makeEar(rootNode, new Vector3f(20, 0 ,0));
    1.25 +		 //ear4 = makeEar(rootNode, new Vector3f(-20, 0 ,0));
    1.26  
    1.27  		 MotionPath track = new MotionPath();
    1.28  		 
    1.29 @@ -237,7 +237,7 @@
    1.30  	   * hears it's surroundings and reacts to them.
    1.31  	   */
    1.32  	  public void process(ByteBuffer audioSamples, int numSamples) {
    1.33 -		  System.out.println("I'm DANCING <3");
    1.34 +		  //System.out.println("I'm DANCING <3");
    1.35  		  entity.scale(this.scale);
    1.36  		  if (this.scale == 2f){this.scale = 0.5f;}
    1.37  		  else {this.scale = 2;}