SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I don't think my SlackBuild fits SlackBuilds.org's style, so putting a TiMidity++ SlackBuild on SlackBuilds.org is a project I'll leave for someone else.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095
Original Poster
Rep:
Quote:
Originally Posted by dugan
Hey thanks people. Glad it worked!
I don't think my SlackBuild fits SlackBuilds.org's style, so putting a TiMidity++ SlackBuild on SlackBuilds.org is a project I'll leave for someone else.
It has been almost two years and back then Dugan's instructions worked
perfectly, but today I tried it again and wasn't as lucky.
The package appeared to build correct, i.e., I didn't see any errors and there were no errors on installation.
I edited the rc.local file in /etc/rc.d as per the instructions, but upon rebooting I got an error message that the rc.timidity file cannot be found. I looked and that is correct, it doesn't exist.
I used timidity for years but lately I have been having more issues with it than successes, plus its hardly updated anymore, in fact nothing major has been updated in years, I recently switched to fluidsynth and it works 100%, the only real difference it relies more on soundfonts but it works pretty much the same as timidity. here is the slackbuilds page
After you compile and install all you will need to make it work is a soundfont, think of a soundfont as a regular font but instead you get different "sounds" with each different fonts. A good all purpose soundfont is the one that is supplied by creative for there Soundblaster series of soundcards, here is a link
Just like timidity this will assign port 128:0 for midi which you can set in audacious or various other players for midi playback. After you get it working you can then play around with different soundfonts to get different playback with your midis.
It has been almost two years and back then Dugan's instructions worked perfectly, but today I tried it again and wasn't as lucky. The package appeared to build correct, i.e., I didn't see any errors and there were no errors on installation. I edited the rc.local file in /etc/rc.d as per the instructions, but upon rebooting I got an error message that the rc.timidity file cannot be found. I looked and that is correct, it doesn't exist.
I just saw this. Hence the late reply.
When I saw it, I immediately retested the SlackBuild (on Slackware 12.2). It worked. The rc.timidity script (which is contained in the SlackBuild) got installed in /etc/rc.d and was executable. Entering /etc/rc.d/rc.timidity start then started TiMidity++ in Alsa server mode.
I don't know what happened when you tried it, but I don't think i will happen again.
It's a TiMidity++ SlackBuild that also installs eawpats and adds a TiMidity script to rc.d. Afterwards, you will have a working MIDI port at 128:0. You will also be able to use TiMidity to play MIDI files directly, and hear music in games that use the TiMidity libraries (such as prBoom and Exult).
I've tested it on a fresh full install of Slackware 12.
I use Dugan's slackbuild and +1 for tested and works.
However I did try it with current a few months back I was getting alsa errors when using alsa_seq, but today I used the patches from the slackbuilds.org version and manually added them to your buildscript and it started working again, just FYI.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095
Original Poster
Rep:
Quote:
Originally Posted by dugan
I just saw this. Hence the late reply.
When I saw it, I immediately retested the SlackBuild (on Slackware 12.2). It worked. The rc.timidity script (which is contained in the SlackBuild) got installed in /etc/rc.d and was executable. Entering /etc/rc.d/rc.timidity start then started TiMidity++ in Alsa server mode.
I don't know what happened when you tried it, but I don't think i will happen again.
Dugan,
Thanks for taking the time to reply.
I downloaded fresh copies of the SlackBuild and the Source, but regret to report that upon trying again, the results were that same,
that is, the rc.timidity script was not created and, btw, it is not contained in the SlackBuild.
Perhaps, if it isn't too long, you could cut and pasted here?
Thanks for all your help.
Last edited by cwizardone; 06-27-2009 at 09:27 PM.
I downloaded fresh copies of the SlackBuild and the Source, but regret to report that upon trying again, the results were that same, that is, the rc.timidity script was not created and, btw, it is not contained in the SlackBuild.
I can't fix the problems you're having because I can't reproduce them!
Five minutes ago, I downloaded the SlackBuild again from the first link on my webpage (under the heading of "Download the SlackBuild"). When I untarred it, these are the files it contained:
If you don't like Timidity you can also use Fluidsynth with Qsynth / Soundfonts. Qsynth is a GUI tool so it's easier for those who don't prefer messing with text files. http://harishankar.org/blog/entry.ph...synth-in-linux
Last edited by vharishankar; 06-28-2009 at 12:28 AM.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095
Original Poster
Rep:
Quote:
Originally Posted by dugan
Five minutes ago, I downloaded the SlackBuild again from the first link on my webpage (under the heading of "Download the SlackBuild")....
Upon reading the above I realized my mistake. I wasn't using YOUR SlackBuild script, I was using the one from SlackBuild.org.
I tried again using your script and, Bingo, it worked.
Thanks very much!
Now, if I can get Firefox and/or Opera to use mozplugger. The plugin is installed but neither browser sees it for whatever reasons.
Thanks, again.
Last edited by cwizardone; 06-28-2009 at 02:57 PM.
I was able to get Dugan's package to work, once. As soon as I rebooted the synthesizer would not play anything (no sound). I manually stopped and restarted timidity and still no sound. The player seems to be playing and has the timidity channel 0 selected.
I'm using an ASUS P6T with a Core i7 CPU at 3.65 GHz. It took me a while to get the audio working. The Mixer is still not quite right. I'm wondering if the codec is just not supported by timidity.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.