title: how to set MIDI sound pan?
body: <p>Can anyone please suggest me how to set panning for a MIDI sound. I am using java MIDI synthesis and can make it sound. But I want the sound to pan from left to right speakers. I did google but it seemed not to clear to me much? Here the example of code I am working on:</p>
  
  <pre><code>Synthesizer synthesizer = MidiSystem.getSynthesizer();
  
  synthesizer.open();
  
  MidiChannel channel = synthesizer.getChannels()[0];
  
  Soundbank soundbank = synthesizer.getDefaultSoundbank();
  
  synthesizer.loadAllInstruments(soundbank);
  
  channel.programChange(0,instrument);
  channel.noteOn(60,200);`
  </code></pre>
  
  <p>I am very grateful for any help.
  Thanks much!</p>