kmid

Bob Stia rnr at sanctum.com
Mon Jan 10 06:34:09 GMT 2005


On Saturday 08 January 2005 09:22, Thierry de Coulon wrote:
> As far as I know,
>
> - Kmid plays midi on MIDI hardware (keyboard, expander) via a midi
> output. If Kmid says "no midi ports", then you either have none, or
> they are not supported, or you have to find a driver/module and/or
> load it.

Hello Thierry, thanks for responding. That is is not a problem anymore 
(hopefully) since following Andy's advice. (previous post)
>
> - Timidity++ plays midi using a software synth. To do this, you have
> to get some "sound fonts" and instruct timidity to load them. You can
> get sound fonts on the web (look for *.sf2 files) or on any Sound
> Blaster AWE/Live CD.

I didn't go out and get the sound fonts since I was able to get a .midi 
file to play following Andy's advice.
>
> I could not get Kmid to run with Timidity - although I got it to work
> with an AWE32 and it's wavetable. I play midi with timidity, using
> the basic graphical interface (timidity -ia) but there are many
> interfaces available.
>
> Here is my config file (on my machine it's
> /etc/timidity/timidity.cfg):

I don't have such a file. I do have one 
at /usr/share/timidity/timidity.cfg which is somewhat different. There 
are no .sf2 files in there. I am running SuSE 9.2. Your distro and 
version may be very different. 
>
> # Instrument configuration file for timidity
.............<snip the file>..............

As stated to Andy, Timidity will now play .midi files. However, when I 
try to play a file in Kmid it crashes. Following is the trace from the 
crash:
-----------------------------------------------------------------
Using host libthread_db library "/lib64/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 182961037056 (LWP 29098)]
[KCrash handler]
#3  0x0000002a965aba63 in AlsaOut::eventInit ()
   from /opt/kde3/lib64/libkmid.so.0
#4  0x0000002a965abbfc in AlsaOut::sysex () 
from /opt/kde3/lib64/libkmid.so.0
#5  0x0000002a965aa48e in AlsaOut::initDev () 
from /opt/kde3/lib64/libkmid.so.0
#6  0x0000002a965a9e24 in DeviceManager::initDev ()
   from /opt/kde3/lib64/libkmid.so.0
#7  0x0000002a965b6142 in MidiPlayer::play () 
from /opt/kde3/lib64/libkmid.so.0
#8  0x0000002a956b2fb1 in kmidClient::slotPlay ()
   from /opt/kde3/lib64/libkmidlib.so.0
#9  0x0000002a956b313d in kmidClient::qt_invoke ()
   from /opt/kde3/lib64/libkmidlib.so.0
#10 0x0000002a9763b609 in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#11 0x0000002a9763bca8 in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#12 0x0000002a95f9bea4 in KAction::activated ()
   from /opt/kde3/lib64/libkdeui.so.4
#13 0x0000002a95f9beb9 in KAction::slotActivated ()
   from /opt/kde3/lib64/libkdeui.so.4
#14 0x0000002a95fa3680 in KAction::qt_invoke ()
   from /opt/kde3/lib64/libkdeui.so.4
#15 0x0000002a9763b567 in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#16 0x0000002a9763bca8 in QObject::activate_signal ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#17 0x0000002a9791a4d7 in QButton::clicked ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#18 0x0000002a976c094e in QButton::mouseReleaseEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#19 0x0000002a9766a102 in QWidget::event ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#20 0x0000002a975e390d in QApplication::internalNotify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#21 0x0000002a975e58a6 in QApplication::notify ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#22 0x0000002a96a54765 in KApplication::notify ()
   from /opt/kde3/lib64/libkdecore.so.4
#23 0x0000002a9758dcf4 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#24 0x0000002a9758cc6d in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#25 0x0000002a9759b4c3 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#26 0x0000002a975f8fc1 in QEventLoop::enterLoop ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#27 0x0000002a975f8e32 in QEventLoop::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#28 0x0000002a975e5155 in QApplication::exec ()
   from /usr/lib/qt3/lib64/libqt-mt.so.3
#29 0x0000000000401aed in main ()
----------------------------------------------------------------------
Hopefully some guru from this list can jump in here and explain why Kmid 
crashed. My ultimate goal is to have Firefox play a .midi file when a 
Web Page calls it.

Thanks for responding and trying to help.

Bob S.

PS is .ch Chile ???
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list