public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Sound advice sought
@ 2003-10-19 16:51 Stas Sergeev
  2003-10-19 19:24 ` Jan Willem Stumpel
  0 siblings, 1 reply; 5+ messages in thread
From: Stas Sergeev @ 2003-10-19 16:51 UTC (permalink / raw)
  To: linux-msdos

Hello.

Jan Willem Stumpel wrote:
> By trial & error -- because I know practically nothing
> about midi.
But there is a sound-usage.txt that
describes the ways of getting midi to
work, among other things.
The midid program is not properly
documented there, but "midid --help"
can fill the gap sometimes.

> I have not yet found a
> *game* that can make midi music in this way.
They all can (almost). Just set them
to General Midi or MPU-401. Or to MT-32
and use the -m option for midid. Or "Sound
Canvas" with the same option to midid,
etc.

> In the above commands, '3' can be any number it seems; but it must
> be the same in both commands.
True. This is a TCP port number which
is used for communication between midid
and timidity.

> -- is this the 'right' way? Or is there a simpler way?
There are other ways, see sound-usage.txt.
They may (and usually do) work better.
However in case you stuck with OSS and
without the HW synth, this might be the
only way for you to get midi. Also midid
allows you to record the music to a .mid
files.

> -- is there a correct value for the 'magic number' (3 in the
> example above)?
7777 is a default for midid, but basically
any number above 1024 is OK. Using ports
below 1024 requires root and is not
recommended.

> -- 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).
Try renicing timidity for a higher priority.
Sometimes that helps.

> Also, if I stop gsplay, there is some 'afterburst' of
> music (a few notes). Is this normal?
You have to upgrade to the daily snapshot of
TiMidity++, or from CVS to avoid some of the
weirdness, although some problems are still
there. Also try playing around with the -o
option of midid.


^ permalink raw reply	[flat|nested] 5+ messages in thread
* Sound advice sought
@ 2003-10-19 15:05 Jan Willem Stumpel
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Willem Stumpel @ 2003-10-19 15:05 UTC (permalink / raw)
  To: linux-msdos

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-20 16:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2003-10-19 15:05 Jan Willem Stumpel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox