title: minim loadFile before audio file is recorded/created
body: <p>I am trying to create an app that would allow the user some sounds and then use this in a playback fashion.</p>
  
  <p>I would like to have my application play a .wav file that the user will record.</p>
  
  <p>I am having trouble figuring out how to code this, as I keep getting a error.</p>
  
  <pre><code>    ==== JavaSound Minim Error ====
      ==== Error invoking createInput on the file loader object: null
  </code></pre>
  
  <p>Snippet of code:</p>
  
  <pre><code>   import ddf.minim.*;
  
     AudioInput in;
     AudioRecorder recorder;
  
     RadioButtons r;
     boolean showGUI = false;
     color bgCol = color(0);
  
     Minim minim;
  
     //Recording players
     AudioPlayer player1; 
     AudioPlayer player2;
  
     void newFile()
     {
        countname =(name+1);
        recorder = minim.createRecorder(in, "data/" + countname + ".wav", true);
     }
     ......
  
     void setup(){
  
         minim = new Minim(this);
         in = minim.getLineIn(Minim.MONO, 2048);
         newFile();
         player1 = minim.loadFile("data/" + countname + ".wav");// recording #1
         player2 = minim.loadFile("data/" + countname + ".wav");//recording #2
  
  
     void draw() {
     // Draw the image to the screen at coordinate (0,0)
         image(img,0,0);
  
         //recording button
         if(r.get() == 0)
         {
              for(int i = 0; i &lt; in.left.size()-1; i++)
         }
  
              if ( recorder.isRecording() )
          {
              text("Currently recording...", 5, 15);
               }
              else
          {
              text("Not recording.", 5, 15);
            }
           }
       //play button
       if(r.get() == 1)
       {
       if(mousePressed){
       .......
       player_1.cue(0);
       player_1.play();
       }
       if(mousePressed){
       .......
       player_2.cue(0);
       player_2.play();
       }
       } 
  </code></pre>
  
  <p>The place where I have a problem is here:</p>
  
  <pre><code>       player1 = minim.loadFile("data/" + countname + ".wav");// recording #1
         player2 = minim.loadFile("data/" + countname + ".wav");//recording #2
  </code></pre>
  
  <p>The files that will be recorded will be 1.wav, 2.wav. But I can not place this in the                 </p>
  
  <pre><code>       player1.minim.loadFile ("1.wav");
         player2.mminim.loadFile("2.wav");
  </code></pre>
  
  <p>How would I do this?</p>