Re: Direct Delivery of NoteOn events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



paul santa clara wrote:
> I am having difficulty getting alsa to actually delivery a noteon
> event for me.  I am came across a list posting from 2004 which
> claimed that Queue's were necessary for NoteOn's to allow alsa to
> schedule the concomitant Noteoff at the appropriate time.

This applies only to note events, not to note on events.
Note events are split into a note on and a note off event.

> Nevertheless, i can find nothing in the documentation which
> collaborates this.

Well, there is no documentation ...

> Still, i did attempt to use to a Q but was unable  
> to produce any results.  Here is the offending code:
> ...
> snd_seq_ev_set_direct( &event );

You shouldn't use this when using a queue. (However, the following
call to snd_seq_ev_schedule_tick() will correct this.)

> int queue = snd_seq_alloc_queue( our_parcel->seq );

You must create the queue before you try to send events through it.


HTH
Clemens

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux