HELP!Simple MIDI player based on Sequencer:how to set Volume?
843802Oct 12 2006 — edited Apr 17 2008Hi,i'm Roberto,i'm student and i'm realizing a simple midi player in java (using java1.5 and javax.sound.midi package).....the program has a gui and it can just play midi files,and the player is a class based on a Sequencer object:so the method play() initializes a Sequence object from a file and this is given as parameter to the sequencer,so it runs with Sequencer.start();......
my BIG problem is:"how can change the volume when playng if the player's class is created as above?","how can i realize a method setVolume(int volume)?"......please help me!!!!!