Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
timidty not working..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Tue Jan 08, 2008 11:08 pm    Post subject: timidty not working.. Reply with quote

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
View user's profile Send private message
c0r0
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2006
Posts: 81
Location: Jakarta -Indonesia

PostPosted: Wed Jan 09, 2008 2:08 am    Post subject: Re: timidty not working.. Reply with quote

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
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Wed Jan 09, 2008 8:31 am    Post subject: Re: timidty not working.. Reply with quote

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
View user's profile Send private message
MostAwesomeDude
Guru
Guru


Joined: 12 Aug 2007
Posts: 373

PostPosted: Wed Jan 09, 2008 9:38 am    Post subject: Reply with quote

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
View user's profile Send private message
c0r0
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2006
Posts: 81
Location: Jakarta -Indonesia

PostPosted: Wed Jan 09, 2008 9:44 am    Post subject: Re: timidty not working.. Reply with quote

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
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Thu Jan 10, 2008 9:39 am    Post subject: Re: timidty not working.. Reply with quote

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
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Thu Jan 10, 2008 9:44 am    Post subject: Reply with quote

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
View user's profile Send private message
000000
n00b
n00b


Joined: 05 Jan 2005
Posts: 15

PostPosted: Wed Apr 16, 2008 4:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum