View previous topic :: View next topic |
Author |
Message |
Xamindar Veteran
Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Fri Apr 25, 2008 9:14 am Post subject: anyone know how to get timidity to work? |
|
|
I have it set up like the howto says I think but it doesn't work.
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 |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
|
Back to top |
|
|
Xamindar Veteran
Joined: 03 Oct 2004 Posts: 1155 Location: California
|
Posted: Sat Apr 26, 2008 10:10 pm Post subject: |
|
|
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 |
|
|
Tuxido n00b
Joined: 07 Apr 2008 Posts: 57 Location: Trondheim, Norway
|
Posted: Thu Jun 12, 2008 12:06 pm Post subject: |
|
|
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 |
|
|
Kenji Miyamoto Veteran
Joined: 28 May 2005 Posts: 1452 Location: Looking over your shoulder.
|
Posted: Fri Jul 04, 2008 4:54 pm Post subject: |
|
|
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 |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Fri Jul 04, 2008 6:51 pm Post subject: |
|
|
That's case '-iA' stands for 'interface ALSA' |
|
Back to top |
|
|
mathfeel l33t
Joined: 03 Aug 2004 Posts: 700
|
Posted: Sat Jul 05, 2008 6:02 am Post subject: |
|
|
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 |
|
|
|