Son of Zev wrote:

> Using all available tools provided by ALSA my system does not see any input
> from my MOTU MTPAV

cat /proc/asound/seq/clients should show 19 MTP ports, and
cat /proc/asound/card0/midi0 should show 19 inputs and 19 outputs,
assuming the mtpav is card0.

Input worked for me both with 0.5 and 0.9 alsa. So maybe it's because
i use a Midi Express XT and you use the MTPAV. Try to set your parallel
port to SPP mode in your BIOS setup and make sure it has an interrupt
assigned.

> , output timing is
> > great if
> > you use the rtctimer with rtctimer_freq=128 instead of the system timer.
> 
> How do I do this and does it work with multiple inputs??

Check your kernel version. If you have 2.2.16 or 2.4.9 you can use the
supplied kernel patch, which is in utils/patches in the alsa 0.9 driver
package.
Read man patch and the patch itself. Backup your kernel source
before patching. I patched 2.2.15pre5 with the 2.2.16 patch, but i had
to rename a file.
Make sure RTC support is enabled in your kernel config, compile, reboot.

after modprobe snd-rtctimer rtctimer_freq=128
cat /proc/asound/timers should show the line
G1: RTC timer : 7812.500us (100000000 ticks)

You can use higher values of rtctimer_freq, which gives a better
midi time resolution, but this can lead to other problems i described
on this list some weeks ago.

Now you just have to convince your midi application to use the
rtctimer instead of the system timer. Don't know how this works
because i wrote my midi app by myself, which expicitly selects rtctimer.
 
> > There is
> > still one problem remaining: the hw port switching doesn't work, sometimes
> > midi out
> > events go to the wrong port. So you only can use one output port at a time.
> 
> This is a major problem....... I really do need to use more than 16 MIDI
> channels ...

I think it will work for you. As long as the midi traffic load is low,
port switching works. I think you'll never get any problems if you
play one song at a time splitted to several output ports.
But i wanted to play several complete songs at the same time, each song
on its own output port.

> > I hope i'll find some time to hook up our logic analyzer to the parallel
> > port to
> > reverse engineer the protocol, so i can patch the mtpav for proper port
> > switching.
> > But for this i need a Microsoft Windows Computer, which i don't have.
> > It's much easier to develop and build a new midi interface hardware.
> 
> I am running a Windows dual boot system and have an MTPAV , is there anyway I
> can help (debugging info) or do you need to have your logic analyser hooked
> physically to my computer.

Yes. The logic analyzer watches the voltage levels on the parallel cable.
But thanks for your offer to help.

Stef(an).

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to