From: "Martin Lain" Organization: CVUT FEL student To: djgpp AT delorie DOT com Date: Tue, 27 Oct 1998 08:59:35 MET-1MEST MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: [q] allegro midi sound volume X-mailer: Pegasus Mail v3.40 Message-ID: <208A12C5098@FELIS.FELD.CVUT.CZ> Reply-To: djgpp AT delorie DOT com ripped from the Allegro documentation... void set_volume(int digi_volume, int midi_volume); Alters the global sound output volume. Specify volumes for both digital samples and MIDI playback, as integers from 0 to 255, or pass a negative value to leave one of the settings unchanged. If possible this routine will use a hardware mixer to control the volume, otherwise it will tell the sample and MIDI players to simulate a mixer in software. > now sound is very small.. > i almost can't hear midi sound. > i'd like to know control method for midi volume under allegro. > > allegro_init(); // install allegro > > install_sound(DIGI_NONE,MIDI_AUTODETECT,NULL); > set_volume(-1,255); > midi=load_midi("star.mid"); > play_midi(midi,1); > > thanks > > my email address is supercms AT netian DOT com > > >