View previous topic :: View next topic |
Author |
Message |
mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Tue Jan 08, 2008 11:08 pm Post subject: timidty not working.. |
|
|
I emerged timitdity++ and timidity-eawpatches. eselected the latter, but still there's no midi playback:
Code: | $ aplaymidi -l
Port Client name Port name
14:0 Midi Through Midi Through Port-0
$ aplaymidi -p 14:0 chicken.mid
|
...no sound. Help? _________________ -----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche |
|
Back to top |
|
|
c0r0 Tux's lil' helper
Joined: 25 Jun 2006 Posts: 81 Location: Jakarta -Indonesia
|
Posted: Wed Jan 09, 2008 2:08 am Post subject: Re: timidty not working.. |
|
|
maybe you dont have sequence dev, did you add this options in kernel config?
Code: |
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
|
i get this output from aplaymidi
Code: |
raihana~ # aplaymidi -l
Port Client name Port name
128:0 TiMidity TiMidity port 0
128:1 TiMidity TiMidity port 1
128:2 TiMidity TiMidity port 2
128:3 TiMidity TiMidity port 3
|
_________________ - Laughter, The Best Medicine - |
|
Back to top |
|
|
mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Wed Jan 09, 2008 8:31 am Post subject: Re: timidty not working.. |
|
|
c0r0 wrote: | maybe you dont have sequence dev, did you add this options in kernel config?
Code: |
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
|
|
Why do I need to enable any of the OSS items? I do have CONFIG_SND_SEQUENCER=m though and I realized that snd-seq.ko is not modprobed. Did that, and it did not help.
Quote: |
i get this output from aplaymidi
Code: |
raihana~ # aplaymidi -l
Port Client name Port name
128:0 TiMidity TiMidity port 0
128:1 TiMidity TiMidity port 1
128:2 TiMidity TiMidity port 2
128:3 TiMidity TiMidity port 3
|
|
_________________ -----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche |
|
Back to top |
|
|
MostAwesomeDude Guru
Joined: 12 Aug 2007 Posts: 373
|
Posted: Wed Jan 09, 2008 9:38 am Post subject: |
|
|
If you kill the timidity server, and try this, does it make music?
Code: | $ timidity -inv music-file.midi |
_________________ Don't believe the "n00b" under my name. |
|
Back to top |
|
|
c0r0 Tux's lil' helper
Joined: 25 Jun 2006 Posts: 81 Location: Jakarta -Indonesia
|
Posted: Wed Jan 09, 2008 9:44 am Post subject: Re: timidty not working.. |
|
|
Quote: |
Why do I need to enable any of the OSS items? I do have CONFIG_SND_SEQUENCER=m though and I realized that snd-seq.ko is not modprobed. Did that, and it did not help.
|
Yes, snd-seq which comes from CONFIG_SND_SEQUENCER absolutely needs snd-pcm-oss from SND_PCM_OSS in OSS items, it's dependencies.
it is my /etc/conf.d/timidity for reference
Code: | TIMIDITY_OPTS="-B2,8 -Os -EFreverb=0" |
start the daemon
Code: | raihana ~ # /etc/init.d/timidity start |
_________________ - Laughter, The Best Medicine - |
|
Back to top |
|
|
mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Thu Jan 10, 2008 9:39 am Post subject: Re: timidty not working.. |
|
|
c0r0 wrote: | Quote: |
Why do I need to enable any of the OSS items? I do have CONFIG_SND_SEQUENCER=m though and I realized that snd-seq.ko is not modprobed. Did that, and it did not help.
|
Yes, snd-seq which comes from CONFIG_SND_SEQUENCER absolutely needs snd-pcm-oss from SND_PCM_OSS in OSS items, it's dependencies.
|
Yes, according to the help of SND_SEQUENCER, when it compiled as M, SND_SEQ_OSS will also be compiled and the object is snd-seq-oss...only that's not true. I have to explicitly select Y for the OSS sequencer...I thought usually when you select something in menuconfig, its dependencies are also selected. Somehow this is not the case here....
Quote: |
it is my /etc/conf.d/timidity for reference
Code: | TIMIDITY_OPTS="-B2,8 -Os -EFreverb=0" |
start the daemon
Code: | raihana ~ # /etc/init.d/timidity start |
|
Thanks, some more things to try. _________________ -----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche |
|
Back to top |
|
|
mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Thu Jan 10, 2008 9:44 am Post subject: |
|
|
MostAwesomeDude wrote: | If you kill the timidity server, and try this, does it make music?
Code: | $ timidity -inv music-file.midi |
|
This works... _________________ -----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche |
|
Back to top |
|
|
000000 n00b
Joined: 05 Jan 2005 Posts: 15
|
Posted: Wed Apr 16, 2008 4:52 pm Post subject: |
|
|
Not sure if this related, but on my machine to get the timidity init script to launch the daemon I had to change "timidity:nobody" after --chuid to "root:root".
start() {
ebegin "Starting TiMidity++ Virtual Midi Sequencer"
test -n "$TIMIDITY_PCM_NAME" && export TIMIDITY_PCM_NAME
start-stop-daemon --start --background --chuid root:root \
--make-pidfile --pidfile /var/run/timidity.pid \
--exec /usr/bin/timidity -- -iA ${TIMIDITY_OPTS}
eend $?
}
this is for timidity++-2.13.2-r6 |
|
Back to top |
|
|
|