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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-13-2010, 12:32 PM
|
#1
|
Member
Registered: Apr 2006
Posts: 62
Rep:
|
midi ports on linux
hi
I created a nice midi application in java under windows with midi ins and outs.
When I run it in Linux I get few midi ports available: edirol interface midi in/out and two apparently useless internal synth/sequencer ports.
When I run other linux applications midi trough in/out ports appear but I just cannot find them in my java application.
Can you help me to get my application communicate with other linux application (alsa/jack) via midi?
How could I get some further midi ports like "midiyoke" on linux?
thanks in advance
|
|
|
05-13-2010, 10:53 PM
|
#2
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
$ timidity -Os -iA
synthesized in software for the soundcard. Or were you looking for physical I/O with a midi device / interface? Perhaps those are only visible when the interface is on, the midi device is on, and everything is connected. Or I could be wrong. The aforementioned assumes alsa was compiled with --enable-sequencer=yes and that timidity was compiled with synthesis options. You can use jackd with slightly different parameters. And many means to an end.
|
|
|
05-14-2010, 06:22 AM
|
#3
|
Member
Registered: Apr 2006
Posts: 62
Original Poster
Rep:
|
Java takes note of the available midi ports in the system, at least it does so under Windows. When I use my application under Linux, Java recognizes just the Edirol interface and these two default ports but I need my application to communicate with other applications within the Linux system, so other ports are nedeed...
|
|
|
05-14-2010, 07:08 AM
|
#4
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
Does midi work at all in your linux installation? For that you need a midi synth, and most sound cards nowadays doesn't provide that (even the most expensive ones sometimes). So you need to use a soft-synth like timidity or fluidsynth.
So, if you are talking about midi hardware, you need the right driver for it (provided that such a thing exist).
If you are doing synth via software then you need to correctly set up a soft-synth as said above. Windows does this by default, it's a bit expensive in cpu terms though.
|
|
|
05-14-2010, 08:09 AM
|
#5
|
Member
Registered: Apr 2006
Posts: 62
Original Poster
Rep:
|
Yes, java works, my application works and the other applications work.
"I need my application to communicate with other applications within the Linux system, so other ports are nedeed."
No hardware involved, no default soft-synth involved.
|
|
|
05-14-2010, 08:25 AM
|
#6
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
Ok, it seems like you might need to look into jack, phonon or something like that. There's an app called jack-rack which might be of interest to you if you want to know how to interconnect applications using jack.
|
|
|
All times are GMT -5. The time now is 12:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|