LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-23-2005, 04:21 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
MIDI in ALSA -- file plays, but no sound


I would like to know how to configure to play MIDI files through my sound card. I have tried many times, but I have never got it to work.

Now with ALSA, I compiled the "virtual midi" module from the kernel and enabled it at system startup.

Now though KMid shows the MIDI file as playing, I still get no music. I have tried the alsamixer volume control, but that doesn't have a MIDI balance/control.

How can I play my MIDI files in Slackware? I am using kernel 2.6.10.
 
Old 02-23-2005, 11:14 AM   #2
sovietpower
Member
 
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 209

Rep: Reputation: 30
does sound work in anything else like XMMS if not you may want to go back into alsamixer and unmute the master control and the pcm
 
Old 02-23-2005, 08:36 PM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Yes. Sound works when playing music and MP3s.

I am not that dumb
 
Old 03-01-2005, 03:42 AM   #4
gt73
Member
 
Registered: Sep 2003
Distribution: LDME
Posts: 41

Rep: Reputation: 15
The same happens to me. I have an old Creative Soundblaster PCI 128 whose ALSA driver is ens1371. I can hear sound when playing WAV and MP3 but no sound when playing MIDI. On the net and inside the documentation in /usr/src/linux/Documentation/sound there is written that this card, because it is a cheap model, doesn 't have a MIDI synthetizer on board. So to hear MIDI playing, one must use a software like Timidity++ that converts in real time a MIDI in WAV.

Just my two cents,
 
Old 03-13-2005, 01:25 AM   #5
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Yes.

The solution has been found. Though I did this in Gentoo, it should apply equally to slackware.

For those who have no wavetable card (unless you use Creative SBLive!) Just download and install timidity++ and the timidity EAW patches.

Then configure timidity++ to load up on boot time in your init scripts.

The sounds are pretty good. Not quite the same as hardware synth, but quite nice.
 
Old 11-20-2006, 03:49 PM   #6
huepfendes_schaf
LQ Newbie
 
Registered: Dec 2005
Location: Luxembourg
Distribution: Fedora Core 5
Posts: 23

Rep: Reputation: 15
Quote:
Originally Posted by harishankar
Yes.

The solution has been found. Though I did this in Gentoo, it should apply equally to slackware.

For those who have no wavetable card (unless you use Creative SBLive!) Just download and install timidity++ and the timidity EAW patches.

Then configure timidity++ to load up on boot time in your init scripts.

The sounds are pretty good. Not quite the same as hardware synth, but quite nice.
I have the same problem.
How can I configure timidity++ to load up on boot time in my init scripts?
 
Old 11-20-2006, 11:40 PM   #7
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
Add the following to your /etc/rc.d/rc.local script:-


#add synth midi support here using timidity software
timidity -iA -B2,8 -Os -EFreverb=0 &
#end midi support here
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ALSA MIDI: Sound fonts for NVIDIA/NForce Soundstorm on-board sound vharishankar Linux - Hardware 6 09-04-2007 12:37 PM
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
my xine engine at times plays the sound of audio file and the video window turns blue amolgupta Linux - Software 1 07-29-2005 12:55 PM
alsa - card detected, media plays, no sound, not the usual problem qwijibow Linux - General 8 06-02-2005 01:35 PM
MIDI with ALSA on ESS1869 xianath Linux - Hardware 0 03-02-2004 03:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration