From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH] add aplaymidi & arecordmidi utils Date: Wed, 25 Feb 2004 15:04:08 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <200402251302.NAA11368@liam2.demon.co.uk> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <200402251302.NAA11368@liam2.demon.co.uk> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Will Cc: clemens@ladisch.de, alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 25 Feb 2004 13:02:15 GMT, Will wrote: > > >> How easy would it be to make aplaymidi be able to move forwards and backwards > >> during playback, e.g. by pressing f or b, like Takashi Iwai's drvmidi? > > > >Not so easy; even more so if you want to have correct controller > >values. Adjusting settings changed by sysexs would be almost > >impossible. > > > > I wonder whether drvmidi actually does correctly restore controller and sysex > when you move during MIDI playback. I haven't studied the drvmidi code in > detail. I know the sound quality always seems to be correct > even when you move forwards and backwards very often in a piece with > lots of sysex and controller settings. it does. when skipping forward/backward, it will send all necessary ctl/sysex messages from the beginning. i implemented in this way because it's designed only for the internal MIDI wavetable, which can handle many events immediately. that's not for general MIDI devices. Takashi ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click