LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-13-2010, 11:32 AM   #1
angelo_maci
Member
 
Registered: Apr 2006
Posts: 62

Rep: Reputation: 15
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
 
Old 05-13-2010, 09:53 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
$ 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.
 
Old 05-14-2010, 05:22 AM   #3
angelo_maci
Member
 
Registered: Apr 2006
Posts: 62

Original Poster
Rep: Reputation: 15
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...
 
Old 05-14-2010, 06:08 AM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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.
 
Old 05-14-2010, 07:09 AM   #5
angelo_maci
Member
 
Registered: Apr 2006
Posts: 62

Original Poster
Rep: Reputation: 15
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.
 
Old 05-14-2010, 07:25 AM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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.
 
  


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
Renaming ALSA midi ports drkdick Linux - Software 4 04-19-2010 02:12 PM
MIDI and ALSA: no ports at all! bartkl Linux - Hardware 3 11-22-2008 06:25 AM
no sound from MIDI ports [ITA]freeware Linux - Software 0 06-08-2006 01:22 PM
How to play MIDI files: needed a MIDI mapper? vharishankar Linux - General 3 12-30-2004 12:12 AM
Set up midi device in suse 9.1 w/ AC'97 midi controller Guitarist88 Linux - Hardware 1 07-06-2004 03:09 PM

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

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