All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Willem Stumpel <jstumpel@planet.nl>
To: linux-msdos@vger.kernel.org
Subject: Sound advice sought
Date: Sun, 19 Oct 2003 17:05:47 +0200	[thread overview]
Message-ID: <3F92A84B.2040709@my.home> (raw)

Today, for the first time, I got midi sound out of dosemu
(1.1.99)!  By trial & error -- because I know practically nothing
about midi.

My soundcard (ens1371 chip) does not have a hardware midi
synthesizer. I have sound in the kernel (2.4.20) by means of

   CONFIG_SOUND=y
   CONFIG_SOUND_ES1371=y

Now if I do

   timidity -ir 3 &

as root, and then as user

   midid -p3 ~/.dosemu/run/dosemu-midi &

I can produce midi sounds from dosemu, playing .mid files through
midi-player programs for DOS, like GSPLAY. I have not yet found a
*game* that can make midi music in this way.

In the above commands, '3' can be any number it seems; but it must
be the same in both commands.

Questions:

-- is this the 'right' way? Or is there a simpler way?
-- is there a correct value for the 'magic number' (3 in the
   example above)?
-- the sound is a bit weird: a bit too slow, and the tempo is
   somehow "wobbly" (the notes don´t seem to arrive
   always exactly at the correct time). Anyway it sounds much
   'snappier' if I just say timidity [somefile].mid outside
   dosemu. Also, if I stop gsplay, there is some 'afterburst' of
   music (a few notes). Is this normal?

Regards, Jan

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2003-10-19 15:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-19 15:05 Jan Willem Stumpel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-10-19 16:51 Sound advice sought Stas Sergeev
2003-10-19 19:24 ` Jan Willem Stumpel
2003-10-19 20:01   ` Robert Komar
2003-10-20 16:58     ` Jan Willem Stumpel

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=3F92A84B.2040709@my.home \
    --to=jstumpel@planet.nl \
    --cc=linux-msdos@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.