What's the method to control volume in an MIDI sequencer?
问题 Can someone show me how to control the volume of an MIDI sequencer without using a sound bank or synthesizer? I want to make the MIDI fade out before continuing to the next MIDI in sequence if(midiplay) { midi = s + savereq; try { //System.out.println("Play MIDI " + midi); if (musicSr != null) { /* This is where I want it to fade out*/ musicSr.stop(); //stop sequencer musicSr.close(); //close sequencer } musicSr = null; musicS = null; File music = new File(midi); if(music.exists()) { musicS =