Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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'm trying to build a Linux Audio Workstation. This is for multitracking audio and MIDI. Rosegarden and Ardour are some good examples of applications I'd like to use.
Mostly, though, I'm a programming geek and I'd like to take advantage of Linux to build a lot of my own tools.
At the moment, I've installed Fedora Core 4, and added the Planet CCRMA extensions. However, I've found it's not a very good audio workstation. The ALSA serial port MIDI driver simply doesn't work (and I haven't found any way to debug it), and even XMMS has serious problems playing audio. Loading a new (static) page in Firefox will cause the mp3 playback to stutter (!). Rosegarden often locks up the computer when I close the application (to be fair to Rosegarden, it's probably a driver bug).
What would Linux gurus recommend as a distro/drivers? Is there a good forum for this sort of question? Are there any Linux-based musicians around? Have you found ALSA to be a reliable platform, or do you recommend something else? Should I even bother with serial port MIDI, or should I get a simple card that supports midi out?
Many thanks for any help or suggestions. I've been tinkering (and re-installing distros) for a week or so now, and haven't had much luck getting reliable audio performance.
check out http://linux-sound.org/ they have links to alsorsts or music software, also have a section on audio distros.
You dont mention it, but have you tried using JACK ("professional-quality low-latency audio server").
Ive just switched over to Arch linux from slackware, it has a nice packaging system with quite a few audio tools and isnt too hard to create your own packages. I find it pretty quick, bugs are squashed quickly and very up to date.
Quote:
Should I even bother with serial port MIDI, or should I get a simple card that supports midi out
Most half decent soundcards game ports double up as a midi port.
Quote:
Are there any Linux-based musicians around?
me (I dual boot, so get the best of both worlds). Hydrogen (drum machine) is probably what I use the most in linux though, and it syncs up quit nicely with other apps (sequencers etc) using jack.
I hope some of this info helps, good luck with your search.
Sorry to keep posting. I'm about to stop work for the day, and I thought I'd post where I was in case any technically-minded people had any suggestions on my configuration.
Again, my problem is that I can't seem to get midi apps (Rosegarden, KMid, pmidi) to play midi to external MIDI devices. I've tried both serial port, and game port. I'm currently troubleshooting the game port setup.
If I try the alsa midi player ("% aplaymidi -l") I see
Quote:
Port Client name Port name
14:0 Midi Through Midi Through Port-0
I think that's just the serial port? Which didn't work in any case. Or is that the emulator? (I'm not interested in emulators at the moment).
pmidi gives the same result as aplaymidi.
Here is what I get when I cat /proc/asound/oss/sndstat:
To my untrained eye, that all looks pretty good (I see the gameport, uart, midi, and sequencer modules) but then it is all the more perplexing that midi isn't working.
Any thoughts as to why MIDI is working through either the serial or game ports? Should I be seeing a midi device under /dev? Any other suggestions?
Well, I finally got my audio to work. I have a functional Linux Audio Workstation! I was able to do multitrack recording sync'd with MIDI using Rosegarden and JACK.
The missing piece? I had to manually edit /etc/modprobe.conf so alsa could find my game port for midi.
1) See if your card is even detected. Run "lspci" and make sure your card shows up.
2) Verify alsa initialized your card. Run "cat /proc/asound/cards" and double check that your card(s) are listed.
3) See if alsa is running with midi. Run "cat /proc/asound/oss/sndstat" and see that midi is working.
In my case, midi wasn't working. It said midi was NOT ENABLED IN CONFIG (see above).
So I followed the excellent instructions at midi_organ_net (?) and enabled the game port in /etc/modprobe.conf. I added his exact line:
options snd-ymfpci mpu_port=0x330
to my /etc/modprobe.conf file (I was using the ymfpci driver for the soundcard with the game port, so that makes sense).
I rebooted, and voila! I was able to stream midi out through my Yamaha card, and record/playback using my Delta M66.
Only one remaining problem: playing back midi files (using KMid or pmidi or anything) would crash the kernel (panic). Stack dump seemed to indicate the mpu401 driver.
However, if I boot using the realtime kernel from Planet CCRMA, everything seems to work. So I haven't debugged that further.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.