Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638968 - media-sound/timidity++-2.14.0-r2 silent
Summary: media-sound/timidity++-2.14.0-r2 silent
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-27 13:33 UTC by edes
Modified: 2021-12-21 13:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description edes 2017-11-27 13:33:35 UTC
I'm having several problems with timidity++-2.14.0-r2.

For starters, the daemon crashes:

# rc-service timidity start
* Starting TiMidity++ Virtual Midi Sequencer ...

but the server doesn't start:

$ aplaymidi  -l
 Port    Client name              Port name
 14:0    Midi Through             Midi Through Port-0

# rc-service timidity status
* status: crashed

# rc-service timidity stop
* Stopping TiMidity++ ...
* start-stop-daemon: no matching processes found 

media-sound/timidity++-2.14.0-r2::gentoo was built with the following:
USE="X alsa flac gtk ncurses vorbis -ao -emacs -jack -motif -nas -oss (-selinux) -slang -speex -tk" ABI_X86="(64)"

Other problems include:

- playing a midi file with the timidity command produces no sound.
- starting the timidity server from the command line (timidity -iA) works, but playing a midi file with aplaymidi produces a sound distorted by underruns

I use alsa without any other layer or "server" like jack, pulseaudio or anything, and my USB card works perfectly fine with every other application.

This is my .asoundrc:

pcm.usb {
    type hw
    card USBPre2
    device 0
}

ctl.usb {
    type hw
    card USBPre2
    device 0
}

pcm.usbdmix  {
        type dmix
        ipc_key 512
        slave {
                pcm "usb"
                rate 48000
                format S24_LE
                period_time 0
                period_size 1024
                buffer_size 4096
        }
        bindings {
                0 0
                1 1
        }
}

pcm.usbinout {
        type asym
        playback.pcm "usbdmix"
        capture.pcm "usb"
}

pcm.!default {
        type plug
      slave.pcm "usbinout"
}
Comment 1 edes 2017-12-03 14:05:56 UTC
I advanced a little bit, but the main problems remain.
After a major rebuild of my whole system, now the timidity daemon starts:

foo ~ # rc-service timidity start
 * Starting TiMidity++ Virtual Midi Sequencer ...                                                                 [ ok ]
foo ~ # rc-service timidity status
 * status: started
foo ~ # aplaymidi -l
 Port    Client name                      Port name
 14:0    Midi Through                     Midi Through Port-0
128:0    TiMidity                         TiMidity port 0
128:1    TiMidity                         TiMidity port 1
128:2    TiMidity                         TiMidity port 2
128:3    TiMidity                         TiMidity port 3


I still have the following problems, though:

- playing a midi file with the timidity command produces no sound.
- when the timidity server is running, playing a midi file with aplaymidi produces a sound distorted by underruns
Comment 2 edes 2018-01-06 22:24:45 UTC
Over a month after my initial report, the problems described in my last comment persist.
Comment 3 Pacho Ramos gentoo-dev 2021-12-21 13:49:34 UTC
Still valid with 2.15.0-r1?