maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Trying to use timidity in server mode as midi sequencer device (https://talk.maemo.org/showthread.php?t=26945)

stale 2009-02-18 00:46

Trying to use timidity in server mode as midi sequencer device
 
I'm trying to use timidity in server mode to emulate a midi sequencer.
Does somebody tried to do this on a tablet before? Any success?
I investigated a little bit on this but I'm not an expert in this matter.

I'm using the timidity package available on maemo-extras (not devel) installed from application manager.
This version does not support server mode by itself, to enable server mode I found the package http://repository.maemo.org/extras/p...emo3_armel.deb Since it won't install (maybe it requires red-pill mode?) I extracted the file interface_A.so end copied to /usr/lib/timidity.

Now it accepts -iA command line but shows the following error:

Code:

# timidity  -iA
TiMidity starting in ALSA server mode
ALSA lib seq.c:935:(snd_seq_open_noupdate) Unknown SEQ hw
error in snd_seq_open

I thought some modules were missing so I compiled them from maemo sdk, copied to the tablet and loaded them, but I still get the same error:

Code:

# insmod snd-timer.ko
# insmod snd-seq.ko
# insmod snd-seq-device.ko
# insmod snd-seq-midi-event.ko
# insmod snd-rawmidi.ko
# insmod snd-seq-midi.ko
# lsmod
Module                  Size  Used by
snd_seq_midi 6400 0 - Live 0xbf07d000
snd_seq_midi_event 6176 1 snd_seq_midi, Live 0xbf07a000
snd_rawmidi 19840 1 snd_seq_midi, Live 0xbf074000
snd_seq_device 6088 2 snd_seq_midi,snd_rawmidi, Live 0xbf071000
snd_seq 49288 2 snd_seq_midi,snd_seq_midi_event, Live 0xbf063000
snd_timer 19044 1 snd_seq, Live 0xbf05d000
# timidity  -iA
TiMidity starting in ALSA server mode
ALSA lib seq.c:935:(snd_seq_open_noupdate) Unknown SEQ hw
error in snd_seq_open

I also tried to recompile timidity from source but the result was the same.

It could be an alsa library issue? Suggestions are welcome.

dfinch 2009-02-18 02:06

Re: Trying to use timidity in server mode as midi sequencer device
 
I see someone had problems running Timidity on an eee and found an alternative. I have no experience of either I'm just a home recording enthusiast and would be interested in a sequencer for the N810.
Check out
http://forum.eeeuser.com/viewtopic.php?pid=508102
and especially his link to muse-sequencer.org
Cheers

stale 2009-02-18 22:47

Re: Trying to use timidity in server mode as midi sequencer device
 
Thanks to the suggestion of dfinch I tried to recompile fluidsynth an got almost the same error:

Code:

ALSA lib seq.c:935:(snd_seq_open_noupdate) Unknown SEQ default
This might point the finger against alsalib but I don't know what to do now.

stale 2009-02-21 00:50

Re: Trying to use timidity in server mode as midi sequencer device
 
Finally I found the magic to make it work. I report it here because it might be useful for other people.

ALSA library needs some definitions about the available devices and the seq device was missing.
These definitions are stored in /usr/share/alsa/alsa.conf that includes /etc/asound.conf and ~/.asoundrc if they exists.
I created a file named .asoundrc into the /home/user directory, added the following lines and then it worked!

Code:

seq.default {
        type hw
}

seq.hw {
        type hw
}


MrWeasel 2009-02-21 21:36

Re: Trying to use timidity in server mode as midi sequencer device
 
I'm also looking for those modules you managed to compile. Did you compile them from alsa source? Could you possibly post the binaries here?
Thanks

stale 2009-02-22 00:25

Re: Trying to use timidity in server mode as midi sequencer device
 
1 Attachment(s)
Quote:

Originally Posted by MrWeasel (Post 266155)
I'm also looking for those modules you managed to compile. Did you compile them from alsa source? Could you possibly post the binaries here?
Thanks

I compiled them from diablo kernel sources in scratchbox. I didn't post them before because I was still looking for a convenient way to package them.
In the meantime, as you suggested, I'm adding them here as attachment.

Are you going to use them with a specific application?
I built them because I recompiled nted and it requires a midi sequencer for playing. If somebody is interested in nted I would try to post it but it is just a recompile, not yet hildonized nor packaged.

bbay6342 2011-09-06 15:56

Re: Trying to use timidity in server mode as midi sequencer device
 
Quote:

Originally Posted by stale (Post 266188)
I compiled them from diablo kernel sources in scratchbox. I didn't post them before because I was still looking for a convenient way to package them.
In the meantime, as you suggested, I'm adding them here as attachment.

Are you going to use them with a specific application?
I built them because I recompiled nted and it requires a midi sequencer for playing. If somebody is interested in nted I would try to post it but it is just a recompile, not yet hildonized nor packaged.

i already install nted under easy debian, but it shows me an error of midi sequencer.. will u help me how to configure so the midi playable?
thank in advance


All times are GMT. The time now is 10:33.

vBulletin® Version 3.8.8