LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-27-2006, 02:28 PM   #1
ronjc_2001
LQ Newbie
 
Registered: Sep 2006
Distribution: suse linux 10.0
Posts: 1

Rep: Reputation: 0
Can't get sound to play in KMID.


If I run TiMidity from the console and pick run a file and then click on a midi file, timidity will play the file. But, if I pick load a number of midi files into Kmid, it will play them but without sound. I am using open source SUSE Linux version 10.0. I run in Gnome. Please give me some assistance. Do I need to install some other programs related to Alsa to make it work? Sound in other programs works fine, like Totem, CD Players etc. Only having problems with KMID. Yes, I did install the latest version. Thanks in advance.
 
Old 09-29-2006, 12:27 AM   #2
fozner
Member
 
Registered: Aug 2006
Posts: 147

Rep: Reputation: 16
You don't have a midi synth on your system or it was not detected. Many systems these days (you probably have AC97 chipset audio built in to the motherboard or something. Yeah, your lack of details is turning me into a psychic.) have no midi capability other than possibly an external port that you can maybe hook up to an external keyboard. (pause for breath)

OK so what? You can simulate having real midi hardware by installing a synth daemon in software. Timidity++ does this. (Windows has something similar that installs and consumes resources without your knowledge or perimission...)

man timidity

Right, manuals are boring, aren't they?

You probably want something like this in your startup script. On fedora this is /etc/rc.local but no experience with Suse 10 so consult with your esteemed colleagues for that OS... Where was I? Maybe you want to put in there something like this:

# MIDI Synth
esd &
killall -9 esd &

timidity -iA -B2,8 -Os -EFreverb=0 &

The bold parts may not be necessary. If it works without, leave it out!

Now go to your soundcard setup panel and select one of the Timidity devices as midi output device. Voila! To be vocative, the vibrational vermin have been vindicated, Vern!

Midi files will now play in kmid, rosegarden, loop, flex or whatever, at a cost of some CPU cycles to "simulate" the non-existant midi hardware.

Last edited by fozner; 09-29-2006 at 12:43 AM.
 
Old 09-29-2006, 12:55 AM   #3
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Only one process can access /dev/dsp so you need a process like esd's that can accept multiple audio streams and send it as one to /dev/dsp. If a process is already accessing /dev/dsp, no other process can, or perhaps are only sent to a 'access queue '.
 
  


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
No sound with MIDI files in kmid - Fedora Core 4 PeterRJG Linux - Newbie 1 08-06-2005 03:08 AM
kmid paul62 Slackware 11 06-10-2005 03:26 AM
kmid paul62 Slackware 7 03-28-2005 06:28 AM
Can't play midi files with kmid or kmidi aiims1777 Linux - Software 8 12-03-2004 10:29 PM
FC2: Sound Card (SiS SI7012) Detect But Donot Play Sound rajanaeem Linux - Hardware 0 10-22-2004 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:32 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