From: "Clemens Ladisch" <cladisch@fastmail.net>
To: paul santa clara <kesserich1@comcast.net>,
alsa-devel@lists.sourceforge.net
Subject: Re: Direct Delivery of NoteOn events
Date: Tue, 24 Oct 2006 10:00:27 +0200 [thread overview]
Message-ID: <1161676827.21456.274067836@webmail.messagingengine.com> (raw)
In-Reply-To: <46195E17-B17F-40C2-A77A-7CABB4B9E742@comcast.net>
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
next prev parent reply other threads:[~2006-10-24 8:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-23 19:58 Direct Delivery of NoteOn events paul santa clara
2006-10-24 8:00 ` Clemens Ladisch [this message]
[not found] ` <99C795AE-FCD2-4E95-ABE0-145AA81EFB58@comcast.net>
2006-10-25 8:25 ` Clemens Ladisch
2006-10-25 23:56 ` paul santa clara
2006-10-26 7:23 ` Clemens Ladisch
2006-10-26 19:26 ` paul santa clara
-- strict thread matches above, loose matches on Subject: below --
2006-10-24 22:24 paul santa clara
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1161676827.21456.274067836@webmail.messagingengine.com \
--to=cladisch@fastmail.net \
--cc=alsa-devel@lists.sourceforge.net \
--cc=kesserich1@comcast.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.