Having never attempted anything like this before ...  I'm hoping to
run timidity with rosegarden-4, and everything seemed to be going
really smoothly, with just one small problem ...

there is no sound output

$ timidity -iA -Oj
TiMidity starting in ALSA server mode
Opening sequencer port: 128:0 128:1 128:2 128:3

$ cat /proc/asound/cards
0 [AudioPCI       ]: ENS1371 - Ensoniq AudioPCI
                     Ensoniq AudioPCI ENS1371 at 0xdf00, irq 10

$ aconnect -i -o
client 0: 'System' [type=kernel]
    0 'Timer           '
    1 'Announce        '
client 62: 'Midi Through' [type=kernel]
    0 'Midi Through Port-0'
client 64: 'ES1371' [type=kernel]
    0 'ES1371          '
client 128: 'TiMidity' [type=user]
    0 'TiMidity port 0 '
    1 'TiMidity port 1 '
    2 'TiMidity port 2 '
    3 'TiMidity port 3 '

rosegarden gives a status of MIDI OK and shows creating devices
for the Timidity playback and uses the following jackd command line

    /usr/bin/jackd -d alsa -d hw -r 44100 -p 2048 -n 2

when I play a midi file, there are no errors, no warnings, and no
sound.

am I missing a step?  Any advice, debugging tips, refs to appropriate
docs or whatever are greatly appreciated.

should it help explain things, here's my aadebug:

Kernel ----------------------------------------------------
Linux 2.6.11-12mdk #1 Mon Jun 27 23:18:37 MDT 2005 i686 Celeron (Coppermine) 
unknown GNU/Linux

Loaded Modules --------------------------------------------
snd-seq-midi            6656  1
snd-seq-dummy           2596  1
snd-seq-oss            31584  0
snd-seq-midi-event      6208  2 snd-seq-midi,snd-seq-oss
snd-seq                47472  20 
snd-seq-midi,snd-seq-dummy,snd-seq-oss,snd-seq-midi-event
snd-pcm-oss            49056  0
snd-mixer-oss          17248  3 snd-pcm-oss
snd-ens1371            19776  7
snd-rawmidi            19648  2 snd-seq-midi,snd-ens1371
snd-seq-device          6796  5 
snd-seq-midi,snd-seq-dummy,snd-seq-oss,snd-seq,snd-rawmidi
snd-ac97-codec         75256  1 snd-ens1371
snd-pcm                80776  5 snd-pcm-oss,snd-ens1371,snd-ac97-codec
snd-timer              20388  2 snd-seq,snd-pcm
snd-page-alloc          7588  1 snd-pcm
snd                    46980  16 
snd-seq-oss,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-ens1371,snd-rawmidi,snd-seq-device,snd-ac97-codec,snd-pcm,snd-timer

Modprobe Conf ---------------------------------------------
alias sound-slot-0 snd-ens1371
remove snd-ens1371 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time 
-r --ignore-remove snd-ens1371
install snd-ens1371 /sbin/modprobe --first-time --ignore-install snd-ens1371 && 
{ /sbin/modprobe snd-pcm-oss; /bin/true; }

Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.8.
0 [AudioPCI       ]: ENS1371 - Ensoniq AudioPCI
                     Ensoniq AudioPCI ENS1371 at 0xdf00, irq 10
  8: [0- 0]: raw midi
 17: [0- 1]: digital audio playback
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
  1:       : sequencer
 33:       : timer
00-00: ES1371/1 : ES1371 DAC2/ADC : playback 1 : capture 1
00-01: ES1371/2 : ES1371 DAC1 : playback 1
Client info
  cur  clients : 6
  peak clients : 10
  max  clients : 192

Client   0 : "System" [Kernel]
  Port   0 : "Timer" (Rwe-)
  Port   1 : "Announce" (R-e-)
    Connecting To: 63:0, 129:0
Client  62 : "Midi Through" [Kernel]
  Port   0 : "Midi Through Port-0" (RWe-)
    Connected From: 129:1
Client  63 : "OSS sequencer" [Kernel]
  Port   0 : "Receiver" (-we-)
    Connected From: 0:1
  Output pool :
    Pool size          : 1024
    Cells in use       : 0
    Peak cells in use  : 0
    Alloc success      : 0
    Alloc failures     : 0
Client  64 : "ES1371" [Kernel]
  Port   0 : "ES1371" (RWeX)
    Connected From: 129:1
Client 128 : "TiMidity" [User]
  Port   0 : "TiMidity port 0" (-We-)
    Connected From: 129:1
  Port   1 : "TiMidity port 1" (-We-)
    Connected From: 129:1
  Port   2 : "TiMidity port 2" (-We-)
    Connected From: 129:1
  Port   3 : "TiMidity port 3" (-We-)
    Connected From: 129:1
  Output pool :
    Pool size          : 500
    Cells in use       : 0
    Peak cells in use  : 0
    Alloc success      : 0
    Alloc failures     : 0
  Input pool :
    Pool size          : 1000
    Cells in use       : 0
    Peak cells in use  : 112
    Alloc success      : 132
    Alloc failures     : 0
Client 129 : "Rosegarden" [User]
  Port   0 : "Rosegarden input" (-We-)
    Connected From: 0:1
  Port   1 : "Rosegarden output" (r-e-)
    Connecting To: 64:0, 128:0, 128:1, 128:2, 128:3, 62:0
  Output pool :
    Pool size          : 2000
    Cells in use       : 0
    Peak cells in use  : 1
    Alloc success      : 201
    Alloc failures     : 0
  Input pool :
    Pool size          : 2000
    Cells in use       : 0
    Peak cells in use  : 0
    Alloc success      : 0
    Alloc failures     : 0

Dev Snd ---------------------------------------------------
controlC0  midiC0D0  pcmC0D0c  pcmC0D0p  pcmC0D1p  seq  timer

CPU -------------------------------------------------------
model name      : Celeron (Coppermine)
cpu MHz         : 697.911

RAM -------------------------------------------------------
MemTotal:       254812 kB
SwapTotal:     1253020 kB

================================

and if it's useful, here's the rosegarden log ...

  ALSA Client information:

    62,0 - (Midi Through, Midi Through Port-0)                  (DUPLEX) [ctype 
2, ptype 2, cap 99]
    64,0 - (ES1371, ES1371)                     (DUPLEX) [ctype 2, ptype 2, cap 
127]
    128,0 - (TiMidity, TiMidity port 0)         (WRITE ONLY) [ctype 1, ptype 2, 
cap 66]
    128,1 - (TiMidity, TiMidity port 1)         (WRITE ONLY) [ctype 1, ptype 2, 
cap 66]
    128,2 - (TiMidity, TiMidity port 2)         (WRITE ONLY) [ctype 1, ptype 2, 
cap 66]
    128,3 - (TiMidity, TiMidity port 3)         (WRITE ONLY) [ctype 1, ptype 2, 
cap 66]

Creating device 0 in Play mode for connection 64:0 ES1371 (duplex)
Default device name for this device is MIDI external device
Creating device 1 in Record mode for connection 64:0 ES1371 (duplex)
Default device name for this device is MIDI hardware input device
Creating device 2 in Play mode for connection 128:0 TiMidity port 0 (write)
Default device name for this device is MIDI software device
(repeated for ports 1-3)

Creating device 6 in Play mode for connection 62:0 Midi Through Port-0 
(duplex)Default device name for this device is MIDI output system device
Creating device 7 in Record mode for connection 62:0 Midi Through Port-0 
(duplex)
Default device name for this device is MIDI input system device
AlsaDriver::setCurrentTimer((auto))
    Current timer set to "PCM playback 0-0-0"
AlsaDriver::initialiseMidi -  initialised MIDI subsystem

AlsaDriver::setCurrentTimer((auto))
    Current timer set to "PCM playback 0-0-0"
SoundDriver::getMappedDevice(0) - name = "MIDI external device" type = 0 
direction = 0 connection = "64:0 ES1371 (duplex)" recording = 0
SoundDriver::getMappedDevice(1) - name = "MIDI hardware input device" type = 0 
direction = 1 connection = "64:0 ES1371 (duplex)" recording = 0
SoundDriver::getMappedDevice(2) - name = "MIDI software device" type = 0 
direction = 0 connection = "128:0 TiMidity port 0 (write)" recording = 0
(repeated for ports 1-3)

SoundDriver::getMappedDevice(6) - name = "MIDI output system device" type = 0 
direction = 0 connection = "62:0 Midi Through Port-0 (duplex)" recording = 0
SoundDriver::getMappedDevice(7) - name = "MIDI input system device" type = 0 
direction = 1 connection = "62:0 Midi Through Port-0 (duplex)" recording = 0
SoundDriver::getMappedDevice(8) - name = "Audio" type = 1 direction = 0 
connection = "Audio connection" recording = 0
RosegardenGUIDoc::xmlParse (reader.parse()): 580ms elapsed
AlsaDriver::setMIDIClockInterval( 0.020833333R)
SoundDriver::getMappedDevice(0) - name = "MIDI external device" type = 0 
direction = 0 connection = "64:0 ES1371 (duplex)" recording = 0
SoundDriver::getMappedDevice(1) - name = "MIDI hardware input device" type = 0 
direction = 1 connection = "64:0 ES1371 (duplex)" recording = 0
SoundDriver::getMappedDevice(2) - name = "MIDI software device" type = 0 
direction = 0 connection = "128:0 TiMidity port 0 (write)" recording = 0
(repeated for device 2-4)

SoundDriver::getMappedDevice(6) - name = "MIDI output system device" type = 0 
direction = 0 connection = "62:0 Midi Through Port-0 (duplex)" recording = 0
SoundDriver::getMappedDevice(7) - name = "MIDI input system device" type = 0 
direction = 1 connection = "62:0 Midi Through Port-0 (duplex)" recording = 0
SoundDriver::getMappedDevice(8) - name = "Audio" type = 1 direction = 0 
connection = "Audio connection" recording = 0
SoundDriver::clearAudioFiles() - clearing down audio files

-- 
Gary Lawrence Murphy <garym at linux.ca>
"what I need is a job that doesn't interfere with my work"


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to