Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 10-08-2008, 09:40 AM   #1 (permalink)
Registered User
 
Join Date: Oct 2008
Posts: 5
OS: Linux


MIDI in Linux

On my machine running debian linux, I want to use rosegarden to notate music and play it back. The evidence suggests that I have a MIDI card but rosegarden will not play back at all and neither will any other notation program. I have set up my card in the little midi setup menu in rosegarden. I don't actually know so much about my system specs due to various modifications and have lost track. It has a 900mhz processor though and running lspci -v | grep audio returns:

00:07.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
Subsystem: VIA Technologies, Inc. Device 4511
Flags: medium devsel, IRQ 5
I/O ports at dc00 [size=256]
I/O ports at e000 [size=4]
I/O ports at e400 [size=4]
Capabilities: [c0] Power Management version 2
Kernel driver in use: VIA 82xx Audio
Kernel modules: snd-via82xx

I have tried playing a midi file and that didn't work so it seems that the problem is in midi itself.
ngreey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 10-08-2008, 01:10 PM   #2 (permalink)
Moderator/Fedora Amb.
 
wmorri's Avatar
 
Join Date: May 2008
Location: /pm/etc
Posts: 2,826
OS: Window 7/Fedora 10

My System

Send a message via AIM to wmorri
Re: MIDI in Linux

So the "card" that you are talking about, I am guessing is your video card? Have you checked to make sure that your rosegarden, is being picked up as a peripheral, and that your distro of linux will read from it.(Which reminds me what disto are you using?). If you can answer those questions it will help us a lot.

Cheers!
__________________


Linux Forever!

wmorri is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-08-2008, 01:51 PM   #3 (permalink)
K-B
Moderator, Linux
 
K-B's Avatar
 
Join Date: Oct 2005
Location: NY
Posts: 2,879
OS: Vista, Ubuntu

My System

Re: MIDI in Linux

On my Ubuntu box (ubuntu is based off of Debian), I had to install the program "timidity" before I was able to play midi files.

If you're using Debian linux, see:
http://wiki.debian.org/Timidity

And:
http://packages.debian.org/unstable/sound/timidity
__________________

Last edited by K-B; 10-08-2008 at 01:54 PM.
K-B is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-10-2008, 06:35 AM   #4 (permalink)
Registered User
 
Join Date: Oct 2008
Posts: 5
OS: Linux


Re: MIDI in Linux

I have now installed timidity, but am not really sure what to do with it.

I made no deliberate reference to a video card, I have a definitely working audio card and the evidence suggests I have a midi card. I think configured the latter in rosegarden.

I don't know what a peripheral is and thus, haven't checked that my card is being picked up as one and am using debian.
ngreey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-10-2008, 09:35 AM   #5 (permalink)
K-B
Moderator, Linux
 
K-B's Avatar
 
Join Date: Oct 2005
Location: NY
Posts: 2,879
OS: Vista, Ubuntu

My System

Re: MIDI in Linux

If I remember, correctly, I installed timidity, and some other timidity plugin package....can't remember the name. After that, I could play midi in mplayer or any of the other players.
__________________
K-B is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 11-03-2008, 05:45 PM   #6 (permalink)
Registered User
 
Join Date: Nov 2008
Location: Hampshire UK
Posts: 1
OS: Several Linux


Re: MIDI in Linux

Rosegarden has more, and needs more than Timidity.

The "audio-studio" centered Distros use a kernel where the kernel tick latency has been set from the default 250Hz up to 1000Hz. When I first tried Rosegarden, it refused, with an error message asking for the tick rate to be set to 1000Hz. Not many Distros come with it set like that as standard.

I eventually go it to work in a Gentoo install, which I then broke from ineptitude. The experience of using the menu configurator to make a hand crafted, absolutely hardware-optimized kernel was way better than messing up in getting the MIDI software to run. It was lightning fast! So I got distracted

The choices are..
1. A Distro devoted to audio, with the latency preset suitable.
2. Put a Distro on a partition, with a re-compiled a kernel, copied into the /boot directory.
3. Use a LiveCD eg. Studio64. This is handy if you don't know how to set up multiboot from partitions.
4. Try UbuntuStudio, but go for the earlier 8.04 instead of 8.10 if you need the real-time kernel.
5. Possibly the Gentoo-derived "Sabayon", being media oriented, will do it OK, but I have not tried it.

There is a kernel option known as "tickless" which suits low-latency requirements.

There is a truly comprehensive MIDI setup How-To linked here <--
It even explains how to change the kernel. I strongly advise using a multibooted Distro on a separate partition, where it does not matter if you mess up.

At my level, the combination of Rosegarden + Lilypond + an audio synth package would deliver functionality similar to that from (say) "Sibelius" composition software in Windows. I only want to be play back MIDI file tracks at a speed I choose, to learn the notes on a sax

Last edited by GTrax; 11-03-2008 at 05:58 PM.
GTrax is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 09:52 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85