LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-31-2011, 02:28 PM   #1
debeb
LQ Newbie
 
Registered: Jul 2010
Posts: 5

Rep: Reputation: 0
Writing MIDI driver/interfacing with linux MIDI


Hello, I am building a midi synthesizer that I'd like to be able to control from linux. I know its a rather broad question, but, how do I go about this? At this point the hardware consists of a simple UART bridge, and I've already written a simple C++ program using termios to send the raw midi data to the device. Obviously I don't want to write a player/sequencer from scratch, so where should I start if I wanted to get this thing to work with, say, a sequencer like rosegarden? Do I write the driver for rosegarden, or hook into alsa or what?
 
Old 08-01-2011, 02:06 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,384

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Write for ALSA, then any app that uses ALSA (like rosegarden) can use it. It sounds like you would be most interested in ALSA's MIDI UART interface.

http://www.kernel.org/pub/linux/kern...iver/ch08.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
midi keyboard, how to make sound?midi keyboard, how to produce sounds? Blyiss Linux - Software 10 03-24-2007 08:53 PM
Computers for Writing and for Keyboard (Midi) webwolf70 Linux - Software 2 09-14-2005 05:48 AM
MIDI playback through midi keyboad. akihandyman Linux - Newbie 5 05-25-2005 01:37 AM
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


All times are GMT -5. The time now is 02:12 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration