[Alsa-devel] Sequencer Input

2002-12-17 Thread Brian Victor
I'm using a MidiSport 1x1 and devfs. The modules are loading, pmidi is displaying the MidiSport and playing MIDI files through it just fine, so I presume output through /dev/snd/seq is working. cat /dev/snd/midiC0D0 displays approrpriate "garbage" characters, but cat /dev/snd/seq does nothing, an

Re: [Alsa-devel] General Guidelines? (MIDI)

2003-01-14 Thread Brian Victor
On Mon, Jan 13, 2003 at 11:02:25AM +0100, Takashi Iwai wrote: >At Mon, 13 Jan 2003 10:25:55 +0100 (MET), Clemens Ladisch wrote: >> Well, there are example programs ... > http://www.alsa-project.org/alsa-doc/alsa-lib-old/ [snips] Thanks to both of you for your responses. The old documentatio

Re: [Alsa-devel] General Guidelines? (MIDI)

2003-01-15 Thread Brian Victor
On Wed, Jan 15, 2003 at 12:43:18PM +0100, Clemens Ladisch wrote: >Running queues are visible in /proc/asound/seq/timers IIRC. And in theory, >ALSA should properly free queues/timers when doing ^C. Thanks once more. I feel like I'm getting closer, but I'm still struggling. This is my NoteOn code:

Re: [Alsa-devel] General Guidelines? (MIDI)

2003-01-16 Thread Brian Victor
On Thu, Jan 16, 2003 at 08:39:23AM +0100, Clemens Ladisch wrote: >Brian Victor wrote: >> Monitoring /proc/asound/seq/queues shows the events being queued, but as >> soon as the queue starts, all 400 notes leave the queue instantly; none >> are played. >> >> snd_

Re: [Alsa-devel] General Guidelines? (MIDI)

2003-01-16 Thread Brian Victor
On Thu, Jan 16, 2003 at 04:32:05PM +0100, Tim Goetze wrote: >afaik, you should use snd_seq_event_output() instead of >snd_seq_event_output_direct() -- the latter is supposed >to by-pass the queue for instant transmission. I've tried both, actually. output() does not show any queued events in /pro

Re: [Alsa-devel] General Guidelines? (MIDI)

2003-01-16 Thread Brian Victor
On Thu, Jan 16, 2003 at 10:27:35PM +0100, Pedro Lopez-Cabanillas wrote: >In short: start the queue before sending events, add snd_seq_drain_output at >end of SetTempo method. ...and then there was light! Er.. sound! Now that it's working, I'm left again with conceptual questions. I was under t