LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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

Reply
 
LinkBack Search this Thread
Old 04-25-2006, 01:46 PM   #1
phleva
LQ Newbie
 
Registered: Apr 2006
Location: Montréal, Qc, Canada
Distribution: Kubuntu 5.10
Posts: 15

Rep: Reputation: 0
ALSA - how to enable Synth devices to play Midi


I have a midi keyboard plugged in. I have an output on /dev/snd/midiXXX when I play on the keyboard. So this part seems ok.

I managed to get sounds with soft synths (Timidity, fluidsynth, ...) but it takes about 1 sec for me to hear the notes after I pressed them... not very good for playing music

I have a SB Audigy and an onboard chip so I think it can be possible to use one of these as synth (that way I assume there wouldn't be such a delay). I tried everything I could think of but there might be something wrong with my ALSA configuration. Here is sndstat:

Quote:
Sound Driver:3.8.1a-980706 (ALSA v1.0.9 emulation code)
Kernel: Linux ubuntu 2.6.12-10-686 #1 Sat Mar 11 16:22:51 UTC 2006 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
Intel 82801DB-ICH4 with AD1980 at 0xe9800000, irq 17
AudigyLS [Unknown] at 0xa400 irq 22
MPU-401 UART at 0x330, irq 10

Audio devices:
0: Intel 82801DB-ICH4 (DUPLEX)
1: CA0106 (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
2: MPU-401 UART MIDI

Timers:
7: system timer

Mixers:
0: Analog Devices AD1980
1: mixer10
2: mixer20
Is there any way to get something after Synth devices: other then NOT ENABLED IN CONFIG ???

Hope someone can help me out with this !

 
Old 04-27-2006, 08:31 AM   #2
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,116

Rep: Reputation: 85
You probably need realtime. Use jack and qjackctl as root to have this. You'll also need to load the NSA linux security module (!).
You can also try to run synths as root with high priority, ex.:
nice -n -20 fluidsynth
 
Old 04-28-2006, 10:28 AM   #3
phleva
LQ Newbie
 
Registered: Apr 2006
Location: Montréal, Qc, Canada
Distribution: Kubuntu 5.10
Posts: 15

Original Poster
Rep: Reputation: 0
I managed to do it with this command:
sudo timidity -iAv -Os -B2,8 -j

then connecting the ports with:
aconnect 80:0 128:0

Thx
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to enable midi? justin99 Linux - Software 1 11-22-2005 06:07 AM
How to play MIDI files: needed a MIDI mapper? vharishankar Linux - General 3 12-30-2004 12:12 AM
Midi devices Pedroski Linux - Hardware 2 12-22-2003 11:22 PM
midi / synth sound with SIS7012 aka Intel i8x0 onboard sound card does not work wahwah Linux - Hardware 1 11-10-2003 05:25 PM
MIDI Synth busy? Citizen Bleys Linux - General 0 10-23-2001 11:40 AM


All times are GMT -5. The time now is 09:46 PM.

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
Open Source Consulting | Domain Registration