Skip to Content

Using Hydrogen and Timidity++ with one soundcard?

No replies
Joined: 04/17/2010

I have on my notebook with FC3 and Alsa 1.0.6 following MIDI applications:

Rosegarden4 (1.0.1) // ccrma repository
Timidity++ (2.13.0-3) // distribution
Hydrogen (0.9.2) // ccrma repository

I want to using Timidity++ and Hydrogen together but have only one soundcard.

I start Timidity++ with:
$ timidity -iA -B2,8 -Os -EFreverb=0

and play MIDI file.
$ aplaymidi -p 128:0 mysong.mid

I start Hydrogen with:
$ /usr/bin/hydrogen -d alsa

But if now I try play MIDI then got error (by Timidity++):

ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
Can't open pcm device 'default'.
Couldn't open ALSA pcm device (`s')

It means - Hydrogen locked output device.

How to solve it?

Thank you very much.