so i've got debian woody, linux 2.4.18-4 with alsa 0.5.12a-2, pmidi
1.4.1-2.1, timidity 2.10.4-2.2 and the following problem:

i can do

$ timidity -iA -B 2,8 -Os & pmidi -p 128:0 Cavatina.mid &
[1] 1487
[2] 1488
TiMidity starting in ALSA server mode
        set SCHED_FIFO
Opening sequencer port: 128:0 128:1

$

and get sound from my speakers.  but

$ timidity -iA -B 2,8 -Os & pmidi -p 72:0 Cavatina.mid & aconnect 72:0 128:0
[1] 1522
[2] 1523
TiMidity starting in ALSA server mode
set SCHED_FIFO
Opening sequencer port: 128:0 128:1
$

won't work (no sound at all).  here's what /proc/asound/seq/clients
might look like during this:

-------
Client info
  cur  clients : 9
  peak clients : 11
  max  clients : 192

Client   0 : "System" [Kernel]
  Port   0 : "Timer" (system:Rwe:Rwe-)
  Port   1 : "Announce" (system:R-e:R-e-)
    Connecting To: 63:0
Client  63 : "OSS sequencer" [Kernel]
  Port   0 : "Receiver" (system:-we:-we-)
    Connected From: 0:1
Client  64 : "External MIDI 0" [Kernel]
  Port   0 : "MIDI 0-0" (device:RWe:RWeX)
Client  72 : "Virtual Raw MIDI 1:0" [Kernel]
  Port   0 : "Virtual Raw MIDI 1:0" (device:RWe:RWeX)
    Connecting To: 128:0
    Connected From: 129:0
Client  73 : "Virtual Raw MIDI 1:1" [Kernel]
  Port   0 : "Virtual Raw MIDI 1:1" (device:RWe:RWeX)
Client  74 : "Virtual Raw MIDI 1:2" [Kernel]
  Port   0 : "Virtual Raw MIDI 1:2" (device:RWe:RWeX)
Client  75 : "Virtual Raw MIDI 1:3" [Kernel]
  Port   0 : "Virtual Raw MIDI 1:3" (device:RWe:RWeX)
Client 128 : "Client-128" [User]
  Port   0 : "TiMidity port 0" (device:-We:-We-)
    Connected From: 72:0
  Port   1 : "TiMidity port 1" (device:-We:-We-)
  Input pool :
    Pool size          : 200
    Available cells    : 200
    Cells in use       : 0
    Peak cells in use  : 1
    Alloc success      : 1
    Alloc failures     : 0
    Alloc no-pool      : 0
Client 129 : "Client-129" [User]
  Port   0 : "port-0" (application:rWe:rWe-)
    Connecting To: 72:0
  Output pool :
    Pool size          : 500
    Available cells    : 114
    Cells in use       : 386
    Peak cells in use  : 500
    Alloc success      : 506
    Alloc failures     : 0
    Alloc no-pool      : 0
  Input pool :
    Pool size          : 200
    Available cells    : 200
    Cells in use       : 0
    Peak cells in use  : 0
    Alloc success      : 0
    Alloc failures     : 0
    Alloc no-pool      : 0
-------

am i doing something wrong here?  shouldn't the playing get routed
through "Virtual Raw MIDI 1:0" to timidity?  do i need to do something
extra here?  here's some of my configs and possibly relevant
information:

$ cat /etc/alsa/modutils/0.5

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.4.3b ---
alias char-major-116 snd
alias snd-card-0 snd-card-ens1371
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
options snd snd_major=116 snd_cards_limit=2
snd_device_mode=0660 snd_device_gid=29 snd_device_uid=0
options snd-card-ens1371 snd_index=0 snd_id=ENSONIQ
# --- END: Generated by ALSACONF, do not edit. ---

# virtual midi:
alias snd-card-1 snd-card-virmidi
alias sound-slot-1 snd-card-1
options snd-card-virmidi snd_index=1 snd_id=VIRTUAL_MIDI


$ cat /proc/asound/devices
  0: [0]   : control
  1:       : sequencer
  6: [0- 0]: mixer
  8: [0- 0]: raw midi
 16: [0- 0]: digital audio playback
 17: [0- 1]: digital audio playback
 24: [0- 0]: digital audio capture
 32: [1]   : control
 33:       : timer
 40: [1- 0]: seq-virmidi
 41: [1- 1]: seq-virmidi
 42: [1- 2]: seq-virmidi
 43: [1- 3]: seq-virmidi


$ ls -l /proc/asound/dev
total 0
crw-rw----    1 root     audio    116,   0 Apr 23 17:41 controlC0
crw-rw----    1 root     audio    116,  32 Apr 23 17:41 controlC1
crw-rw----    1 root     audio    116,   8 Apr 23 17:41 midiC0D0
crw-rw----    1 root     audio    116,  40 Apr 23 17:41 midiC1D0
crw-rw----    1 root     audio    116,  41 Apr 23 17:41 midiC1D1
crw-rw----    1 root     audio    116,  42 Apr 23 17:41 midiC1D2
crw-rw----    1 root     audio    116,  43 Apr 23 17:41 midiC1D3
crw-rw----    1 root     audio    116,   6 Apr 23 17:41 mixerC0D0
crw-rw----    1 root     audio    116,  24 Apr 23 17:41 pcmC0D0c
crw-rw----    1 root     audio    116,  16 Apr 23 17:39 pcmC0D0p
crw-rw----    1 root     audio    116,  17 Apr 23 17:41 pcmC0D1p
crw-rw----    1 root     audio    116,   1 Apr 23 17:39 seq
crw-rw----    1 root     audio    116,  33 Apr 23 17:41 timer

_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to