Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: jestabro@amt.tay1.dec.com <jestabro@amt.tay1.dec.com>
Subject: Re: midi on UDB?
Date: Wed, 30 Oct 1996 13:44:40 -0500	[thread overview]
Message-ID: <199610301844.NAA11031@linux03.amt.tay1.dec.com> (raw)
In-Reply-To: <CMM-RU.1.5.846699476.jtuan@qing.rutgers.edu>

>>> James Tuan said:
> Hi, I have an UDB and I tried to compile timidity, the software midi player
> on it.  However, whenever I play a midi file, I hear a lot of clicking and
> static.  I've tried using different switches when I run the program and when
> I compile the program, and none of them made any difference.  Can any one
> help me? 
> 
> I am using timidity 0.02i, Redhat 3.0.3.  I know the sound works because I
> can use mikmod, a mod player, without any problems.

I'll include the patches I made to 0.02h, which, if I remember correctly,
at least some of which were not needed for 0.02i.

Do you have all the sample files setup corectly, with the appropriate config
files pointing to them?  This burned me when going to 0.02i from 0.02h, for
some reason which I can't remember.

--Jay++

-------------------------------------------------------------------------------
diff -urP timidity-0.2h/Makefile timidity-new/Makefile
--- timidity-0.2h/Makefile	Fri Apr 19 14:55:07 1996
+++ timidity-new/Makefile	Thu Apr 25 23:28:43 1996
@@ -31,7 +31,7 @@
 # or you'll need to invoke timidity with the -L option.
 TIMID_DIR = /usr/local/lib/timidity
 
-INSTALL = /usr/ucb/install
+INSTALL = /usr/bin/install
 
 ########### Compilation options -- there are more in config.h.  
 #
diff -urP timidity-0.2h/config.h timidity-new/config.h
--- timidity-0.2h/config.h	Mon Sep 11 05:41:11 1995
+++ timidity-new/config.h	Thu Apr 25 23:28:43 1996
@@ -204,8 +204,13 @@
 # endif
 #endif
 
+#ifdef __alpha__
+typedef unsigned int uint32;
+typedef int int32;
+#else
 typedef unsigned long uint32;
 typedef long int32;
+#endif /* __alpha__ */
 typedef unsigned short uint16;
 typedef short int16;
 typedef unsigned char uint8;
diff -urP timidity-0.2h/playmidi.c timidity-new/playmidi.c
--- timidity-0.2h/playmidi.c	Mon Sep 11 07:06:17 1995
+++ timidity-new/playmidi.c	Thu Apr 25 23:28:43 1996
@@ -900,6 +900,8 @@
   int rc;
   FILE *fp;
 
+  if (!fn) return RC_ERROR;
+
   ctl->cmsg(CMSG_INFO, VERB_VERBOSE, "MIDI file: %s", fn);
 
   if (!strcmp(fn, "-"))
-------------------------------------------------------------------------------

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

       reply	other threads:[~1996-10-30 18:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CMM-RU.1.5.846699476.jtuan@qing.rutgers.edu>
1996-10-30 18:44 ` jestabro [this message]
1996-10-30 18:17 midi on UDB? James Tuan
     [not found] <199610222027.NAA00514@netcom8.netcom.com>
1996-10-23 15:32 ` jestabro
1996-10-23 19:21   ` Marc Singer
  -- strict thread matches above, loose matches on Subject: below --
1996-10-22 17:44 Eric Jones
1996-10-22 20:27 ` Marc Singer
read-only archive

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