Skip to contentSkip to conversation

alsa-seq queue events

DISCUSSION holborn 2 participants 2 messages Aug 14, 2003 – Aug 16, 2003

lore
Share & tools
lore

holborn

author
#0 lore raw

Hi!

I have two questions.

When i queue a event

snd_seq_ev_set_note(&ev, channel, note, velocity, length); snd_seq_ev_schedule_tick(&ev, queue_id, 0, tick);

if tick is earlier than the actual tick alsa-seq play the event?

i think that's true ... but .. in this case:

when alsa-seq sends note-off for this event? in tick+length? or in "actual
tick" + length?

well .. are four questions :-)

Thanks

Josep

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

#1 lore raw
Quoted 2 lines · holborn

When i queue a event
if tick is earlier than the actual tick alsa-seq play the event?

yes

Quoted 2 lines

when alsa-seq sends note-off for this event? in tick+length? or in "actual
tick" + length?

A note events behaves like two separately scheduled note-on and note-off events, so it's tick+length.

HTH
Clemens

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01