请问各位,我现在无法 compile,如何才能修复这个问题
/**
 * Class for creating a template for a simple Java program
 * 
 * @author Pat Troy: troy AT uic DOT edu
 */import java.awt.Color;// Note the name of the class in the following line MUST
// match the name of the file. 
public class project4aczhang34
{public static void main (String[] args) 
  {
    String fname = FileChooser.pickAFile();
    //System.out.println (fname);
    
    Sound s = new Sound (fname);
    
    
    String input;
    input = SimpleInput.getString ("Please type the message you want to encode into the your sound file:");
    System.out.println(input);
    
    int digit1, digit2, digit3;
    int temp;
    int  array[ ] = new int[100];
     for (int i=0; i<input.length(); i++)
    {
      char ch = input.charAt(i);
      int asciiNum = (int) ch;
      System.out.println ("For Character:" + ch + "int ascii value is;" + asciiNum);
      
      digit1=asciiNum % 10;
      temp = asciiNum /10;
      digit2 = temp %10;
      temp = temp /10;
      digit3 = temp%10;
      System.out.println ("The digits are:" + digit1 + "," + digit2 + "," +digit3);
      
      array [i*3+0]=digit1;
      array [i*3+1]=digit2;
      array [i*3+2]=digit3;     
    Sound NewSound = codesound(s,array);
    NewSound.explore();
    }
    
      
 public static Sound codesound (sound s, int array)   ---在这里出了问题,
 {
    SoundSample sampArr [ ]= s.getSamples();
    SoundSample samp;
    
    int numberOfSamples = s.getLength();
    
    Sound s1= new Sound (numberOfSamples);
    SoundSample sampArr1 [ ] = s1.getSamples();
    SoundSample samp1;
    
    int index;
    int sampVal, sampVal1;
    
    for (index =0; index <sampArr1.length; index ++)
    {
      samp = sampArr [index];
      samp1 = sampArr1 [index];
      
      sampVal = samp.getValue();
      
      int digit4;
      digit4 = sampVal % 10;
      int modAmpValue;
      modAmpValue = sampVal - digit4;
      
      if (sampVal >=0)
        sampVal1 = modAmpValue + array[index];
      else 
        sampVal1 = modAmpValue - array[index];
      
      if (sampVal >32767)
        sampVal1 =sampVal1-10;
      else if (sampVal <-32767)
        sampVal1 =sampVal1+10;
      else
        sampVal1= sampVal1;
      samp1.setValue (sampVal1);
      return s1;  
    }
    
 }

}