Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
anyone know how to get timidity to work?
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
Xamindar
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1155
Location: California

PostPosted: Fri Apr 25, 2008 9:14 am    Post subject: anyone know how to get timidity to work? Reply with quote

I have it set up like the howto says I think but it doesn't work. :cry:
If I restart it it says this:
Code:
xamindar@localhost ~ $ sudo /etc/init.d/timidity restart
 * Stopping TiMidity++ ...                                                            [ ok ]
 * Starting TiMidity++ Virtual Midi Sequencer ...
 * start-stop-daemon: caught an interrupt                                             [ ok ]
xamindar@localhost ~ $

Code:
localhost xamindar # eselect timidity list
Available TiMidity++ patchsets:
  [1]   eawpatches
  [2]   freepats *


But aplaymidi doesn't show any ports
Code:
xamindar@localhost ~ $ aplaymidi -l
 Port    Client name                      Port name
xamindar@localhost ~ $
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Sat Apr 26, 2008 10:47 am    Post subject: Reply with quote

Quote:
* start-stop-daemon: caught an interrupt

https://bugs.gentoo.org/show_bug.cgi?id=203092 got a solve you could try
Back to top
View user's profile Send private message
Xamindar
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1155
Location: California

PostPosted: Sat Apr 26, 2008 10:10 pm    Post subject: Reply with quote

krinn wrote:
Quote:
* start-stop-daemon: caught an interrupt

https://bugs.gentoo.org/show_bug.cgi?id=203092 got a solve you could try


Hey thanks! That helped! Got it working......

All I had to do was change "timidity:nobody" to "timidity:audio" in /etc/init.d/timidity and I added user "timidity" to the audio group. Don't know if I needed to do that though.
Back to top
View user's profile Send private message
Tuxido
n00b
n00b


Joined: 07 Apr 2008
Posts: 57
Location: Trondheim, Norway

PostPosted: Thu Jun 12, 2008 12:06 pm    Post subject: Reply with quote

I only added timidity to the audio group, that did the trick for me. But I didn't have the other problem though, I simply couldnt find any ports.
_________________
"Some smart quote" -Some cult guy
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Fri Jul 04, 2008 4:54 pm    Post subject: Reply with quote

Doesn't seem to work for me:
Code:
# cat /etc/init.d/timidity
#!/sbin/runscript
 
depend() {
   after alsasound esound
}
 
start() {
   ebegin "Starting TiMidity++ Virtual Midi Sequencer"
   test -n "$TIMIDITY_PCM_NAME" && export TIMIDITY_PCM_NAME
   start-stop-daemon --start --background --chuid timidity:audio \
      --make-pidfile --pidfile /var/run/timidity.pid \
      --exec /usr/bin/timidity -- -iA ${TIMIDITY_OPTS}
   eend $?
}
 
stop() {
   ebegin "Stopping TiMidity++"
   start-stop-daemon --stop --quiet --pidfile /var/run/timidity.pid
   eend $?
}
# groups timidity
audio
# /etc/init.d/timidity start
 * Caching service dependencies ...                                                                                                                           [ ok ]
 * Starting TiMidity++ Virtual Midi Sequencer ...
 * start-stop-daemon: /usr/bin/timidity died                                                                                                                  [ !! ]
 * ERROR: timidity failed to start
Is there anything else I could try? I'm using OSS4 output, since ALSA doesn't support my sound card.


This is what I get when running /usr/bin/timidity with the options from the init script:
Code:
# /usr/bin/timidity -iA -B2,8 -Od -EFreverb=0
Interface `A' is not compiled in.
Try timidity -h for help

_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Fri Jul 04, 2008 6:51 pm    Post subject: Reply with quote

That's case '-iA' stands for 'interface ALSA'
Back to top
View user's profile Send private message
mathfeel
l33t
l33t


Joined: 03 Aug 2004
Posts: 700

PostPosted: Sat Jul 05, 2008 6:02 am    Post subject: Reply with quote

Adding timidity to the audio group solved the problem for me. Thanks.

In a related topic, I can play midi file from command line with aplaymidi. Is it possible to play it from apps like totem??
_________________
-----------------------------------------------------------
"In heaven all the interesting people are missing"
-- Friedrich Nietzsche
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