Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Programming a virtual midi keyboard

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
aidy
l33t
l33t
Posts: 915
Joined: Thu Apr 07, 2005 8:46 am

Programming a virtual midi keyboard

  • Quote

Post by aidy » Wed Jul 02, 2008 3:49 pm

Hi
I want to write an application where you select a keyboard device connected to your computer and then have it generate midi-events -this should work independently of any virtual terminal/X server, so that it'll always work, whatever you're currently doing with the other keyboard.
So is it possible to access the scancodes of a keyboard device without being root? E.g. showkey -s only works while root on my system...

Thanks for the help :)
Top
olivier elmekki
n00b
n00b
Posts: 55
Joined: Sun Jan 29, 2006 6:56 pm
Contact:
Contact olivier elmekki
Website

  • Quote

Post by olivier elmekki » Thu Jul 03, 2008 1:16 am

Hi,

I played a bit with the jack API, but most for audio. I heard several times that the best thing to do midi is to use directly the alsa api. Maybe jack midi is a bit better, now.

Here is the alsa sequencer API : http://www.alsa-project.org/alsa-doc/alsa-lib/seq.html
blog : http://kikhome.net
professional site (french) : http://olivier-elmekki.com
Top
aidy
l33t
l33t
Posts: 915
Joined: Thu Apr 07, 2005 8:46 am

  • Quote

Post by aidy » Thu Jul 03, 2008 2:07 am

im not really asking for the midi part, it's the keyboard input part that bothers me :(
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic