Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Will <walsac2@liam2.demon.co.uk>
To: clemens@ladisch.de
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: [PATCH] add aplaymidi & arecordmidi utils
Date: Wed, 25 Feb 2004 13:02:15 GMT	[thread overview]
Message-ID: <200402251302.NAA11368@liam2.demon.co.uk> (raw)
In-Reply-To: <Pine.HPX.4.33n.0402241836390.5168-100000@studcom.urz.uni-halle.de>

Clemens Ladisch <clemens@ladisch.de> wrote:
>Will wrote:
>> How easy would it be to make aplaymidi be able to adjust the playback speed
>> like playmidi?  (playmidi -t 0.5 music.mid plays at twice the default speed)
>
>Very easy.

1 hour of code changes?

>> 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.

>However, these tools are meant as basic command-line utilities (and
>examples).  I think your suggestions would fit better into some GUI
>player.

Yes, you're right a GUI player can be much more powerful but I also like
command-line players like drvmidi because you can always run them without X
and moving forwards and backwards using the ncurses interface is easy.
It's a useful minimum functionality (being able to move forwards and backwards
in a MIDI file while it's playing) but it sounds like it'd be difficult
to extend arecordmidi to do this.

William



-------------------------------------------------------
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

  reply	other threads:[~2004-02-25 13:02 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-23  9:18 [PATCH] add aplaymidi & arecordmidi utils Clemens Ladisch
2004-02-23  9:41 ` Jaroslav Kysela
2004-02-24 17:12 ` Will
2004-02-24 17:36   ` Clemens Ladisch
2004-02-24 17:51     ` Will
2004-02-24 17:58       ` Clemens Ladisch
2004-02-25  0:10         ` Will
2004-02-25  8:23           ` Clemens Ladisch
2004-02-25 13:22             ` Will
2004-02-25 13:58               ` James Courtier-Dutton
2004-02-25 14:11                 ` Will
2004-02-24 17:26 ` Will
2004-02-24 17:43   ` Clemens Ladisch
2004-02-25 13:02     ` Will [this message]
2004-02-25 14:04       ` Takashi Iwai
2004-02-25 14:19         ` Will
2004-02-25 14:26           ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2004-03-02 15:20 CVS ALSA failed upgrade in Linux 2.6.3 William
2004-03-02 15:36 ` Takashi Iwai
2004-03-02 15:52   ` William
2004-03-02 16:39     ` Takashi Iwai
2004-03-02 17:28       ` William
2004-03-02 17:33         ` Takashi Iwai
2004-03-02 17:59           ` William
2004-03-02 18:04             ` Takashi Iwai
2004-03-03 14:50               ` William
2004-03-02 21:08 ` James Courtier-Dutton
2004-03-02 23:35   ` William
2004-03-03  1:07     ` James Courtier-Dutton
2004-03-03 15:54       ` William

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200402251302.NAA11368@liam2.demon.co.uk \
    --to=walsac2@liam2.demon.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=clemens@ladisch.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox