Help setting up Timidity?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
User avatar
Hoodlook
Posts: 85
Joined: Tue Sep 16, 2014 5:50 pm

Help setting up Timidity?

Post by Hoodlook »

My cfg looks like this

Code: Select all

dir "C:\timidity"
soundfont 1.sf2
I get into GZDoom and type
timidity_exe "c:/timidity"
and then I restart, I look in the console and it says it can't access "c:/timidity" so I move the timidity folder to my D drive. I get into GZDoom and type
timidity_exe "d:/timidity"
and then I restart, I look in the console and it says it can't access "d:/timidity" so I try typing in
timidity_exe "d:/timidity/timidity.exe"
and then I restart, look in the console and it says "Zdoom requires a special version of Timidity++". I downloaded the same Timidity For ZDoom on the [wiki]TiMidity++[/wiki] wiki page. What am I doing wrong? :(
User avatar
Kappes Buur
 
 
Posts: 4191
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Help setting up Timidity?

Post by Kappes Buur »

The way I have it set up:

In the GZDoom folder:
  • timidity.exe
    timidity.cfg
contents of timidity.cfg:
  • soundfont H:\SOUNDFONTS\ChoriumRevA.sf2
or whatever soundfont you use.

contents of zdoom-user.ini file:
  • timidity_frequency=22050
    timidity_pipe=90
    timidity_mastervolume=1
    timidity_byteswap=false
    timidity_8bit=false
    timidity_stereo=true
    timidity_reverb=0
    timidity_chorus=0
    timidity_extargs=
    timidity_exe=timidity.exe
User avatar
Hoodlook
Posts: 85
Joined: Tue Sep 16, 2014 5:50 pm

Re: Help setting up Timidity?

Post by Hoodlook »

Kappes Buur wrote:The way I have it set up:

In the GZDoom folder:
  • timidity.exe
    timidity.cfg
contents of timidity.cfg:
  • soundfont H:\SOUNDFONTS\ChoriumRevA.sf2
or whatever soundfont you use.

contents of zdoom-user.ini file:
  • timidity_frequency=22050
    timidity_pipe=90
    timidity_mastervolume=1
    timidity_byteswap=false
    timidity_8bit=false
    timidity_stereo=true
    timidity_reverb=0
    timidity_chorus=0
    timidity_extargs=
    timidity_exe=timidity.exe
Tried doing your setup, still says ZDoom requires a special version of Timidity++
User avatar
Kappes Buur
 
 
Posts: 4191
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Help setting up Timidity?

Post by Kappes Buur »

User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: Help setting up Timidity?

Post by wildweasel »

Except the original poster has already linked to said wiki page and said that he's read it, so clearly either he's missing something or the page is missing something.
User avatar
Medicris
Posts: 125
Joined: Sat Oct 05, 2013 9:14 pm
Location: British Columbia

Re: Help setting up Timidity?

Post by Medicris »

Alternatively, if you're on a Windows system, you have more options available.BASSMIDI Driver (scroll to bottom for links) or Coolsoft VirtualMIDISynth. Timidity is quite a bit more antiquated than either of these, but last I heard is pretty the only other option for Linux users.

I use Kode's BASSMIDI myself. Very user-friendly.[/spoiler]
Last edited by Medicris on Tue Nov 25, 2014 1:16 am, edited 2 times in total.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Help setting up Timidity?

Post by Gez »

Hoodlook wrote:My cfg looks like this

Code: Select all

dir "C:\timidity"
soundfont 1.sf2
I get into GZDoom and type
timidity_exe "c:/timidity"
and then I restart, I look in the console and it says it can't access "c:/timidity" so I move the timidity folder to my D drive. I get into GZDoom and type
timidity_exe "d:/timidity"
and then I restart, I look in the console and it says it can't access "d:/timidity" so I try typing in
timidity_exe "d:/timidity/timidity.exe"
and then I restart, look in the console and it says "Zdoom requires a special version of Timidity++". I downloaded the same Timidity For ZDoom on the [wiki]TiMidity++[/wiki] wiki page. What am I doing wrong? :(
ZDoom prints that error message if it cannot find the string "TiMidity Killer" in the timidity executable. (That corresponds to an event it uses to kill the TiMidity process when it needs it to stop playing a song.) Normally it is found at offset 0x9C57E (or 640382 in decimal). If you open your timidity.exe in a hex editor and search it for that string, do you find it?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Help setting up Timidity?

Post by Graf Zahl »

That thing has become pointless anyway. The Timidity Killer event is no longer being used so this entire check may be removed, I think.
User avatar
Hoodlook
Posts: 85
Joined: Tue Sep 16, 2014 5:50 pm

Re: Help setting up Timidity?

Post by Hoodlook »

Gez wrote:it is found at offset 0x9C57E (or 640382 in decimal). If you open your timidity.exe in a hex editor and search it for that string, do you find it?
Yup, just opened it up and I could go offset 0x9C57E. Here's a screencap of what it looks like
Spoiler:
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Help setting up Timidity?

Post by Gez »

Definitely not the same file, then. Odd.

Image
User avatar
Hoodlook
Posts: 85
Joined: Tue Sep 16, 2014 5:50 pm

Re: Help setting up Timidity?

Post by Hoodlook »

Gez wrote:Definitely not the same file, then. Odd.

Image
Perhaps maybe a newer(and broken) version of Timidity For ZDoom was put on the wiki page? Would you mind attaching your copy of timidity.exe? Mine seems to be corrupted or not compatible...even though I got it from the wiki page.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: Help setting up Timidity?

Post by Gez »

I've just redownloaded the same file linked from the wiki and gotten exactly the same file as the one I have had for years.

I suppose it doesn't hurt much to attach it anyway (just the exe, though, and in 7z, there's an attachment size limit).

Edit: attachment removed.
Last edited by Gez on Mon Nov 24, 2014 3:14 am, edited 1 time in total.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: Help setting up Timidity?

Post by randi »

Graf Zahl wrote:That thing has become pointless anyway. The Timidity Killer event is no longer being used so this entire check may be removed, I think.
It's still useful for identifying that the executable writes to pipes in binary mode. The standard Windows builds write audio data to stdout in ASCII mode, effectively making pipes with them useless.
User avatar
Hoodlook
Posts: 85
Joined: Tue Sep 16, 2014 5:50 pm

Re: Help setting up Timidity?

Post by Hoodlook »

Gez wrote:I've just redownloaded the same file linked from the wiki and gotten exactly the same file as the one I have had for years.

I suppose it doesn't hurt much to attach it anyway (just the exe, though, and in 7z, there's an attachment size limit).
:D It works!

EDIT: My god...Timidity sounds terrible. :lol:
Post Reply

Return to “General”