All of lore.kernel.org
 help / color / mirror / Atom feed
* Sequencer Note events...?
@ 2003-01-30 12:14 David Olofson
  2003-01-30 12:53 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: David Olofson @ 2003-01-30 12:14 UTC (permalink / raw)
  To: alsa-devel


I've noticed that there is a Note event type (the one with duration 
and Off velocity), and means for sending it.

Does this mean I should also expect to receive such events? I've never 
seen an example program handle this event, so I initially assumed 
that it's actually a macro event that will be turned into separate 
Note On and Note Off events by the sequencer.

What's the deal?


//David Olofson - Programmer, Composer, Open Source Advocate

.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`---------------------------> http://olofson.net/audiality -'
   --- http://olofson.net --- http://www.reologica.se ---



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sequencer Note events...?
  2003-01-30 12:14 Sequencer Note events...? David Olofson
@ 2003-01-30 12:53 ` Takashi Iwai
  2003-01-30 13:15   ` David Olofson
  0 siblings, 1 reply; 4+ messages in thread
From: Takashi Iwai @ 2003-01-30 12:53 UTC (permalink / raw)
  To: David Olofson; +Cc: alsa-devel

At Thu, 30 Jan 2003 13:14:13 +0100,
David Olofson wrote:
> 
> 
> I've noticed that there is a Note event type (the one with duration 
> and Off velocity), and means for sending it.
> 
> Does this mean I should also expect to receive such events? I've never 
> seen an example program handle this event, so I initially assumed 
> that it's actually a macro event that will be turned into separate 
> Note On and Note Off events by the sequencer.

yes, exactly.  the sequencer core resents the note-off event replaced
from the original note event after the given duration.


Takashi


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sequencer Note events...?
  2003-01-30 12:53 ` Takashi Iwai
@ 2003-01-30 13:15   ` David Olofson
  2003-01-30 13:19     ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: David Olofson @ 2003-01-30 13:15 UTC (permalink / raw)
  To: alsa-devel

On Thursday 30 January 2003 13.53, Takashi Iwai wrote:
> At Thu, 30 Jan 2003 13:14:13 +0100,
>
> David Olofson wrote:
> > I've noticed that there is a Note event type (the one with
> > duration and Off velocity), and means for sending it.
> >
> > Does this mean I should also expect to receive such events? I've
> > never seen an example program handle this event, so I initially
> > assumed that it's actually a macro event that will be turned into
> > separate Note On and Note Off events by the sequencer.
>
> yes, exactly.  the sequencer core resents the note-off event
> replaced from the original note event after the given duration.

...and it also replaces the Note event with a Note On event, so I 
don't have to see the actual Note event at all...?


//David Olofson - Programmer, Composer, Open Source Advocate

.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`---------------------------> http://olofson.net/audiality -'
   --- http://olofson.net --- http://www.reologica.se ---



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sequencer Note events...?
  2003-01-30 13:15   ` David Olofson
@ 2003-01-30 13:19     ` Takashi Iwai
  0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2003-01-30 13:19 UTC (permalink / raw)
  To: David Olofson; +Cc: alsa-devel

At Thu, 30 Jan 2003 14:15:23 +0100,
David Olofson wrote:
> 
> On Thursday 30 January 2003 13.53, Takashi Iwai wrote:
> > At Thu, 30 Jan 2003 13:14:13 +0100,
> >
> > David Olofson wrote:
> > > I've noticed that there is a Note event type (the one with
> > > duration and Off velocity), and means for sending it.
> > >
> > > Does this mean I should also expect to receive such events? I've
> > > never seen an example program handle this event, so I initially
> > > assumed that it's actually a macro event that will be turned into
> > > separate Note On and Note Off events by the sequencer.
> >
> > yes, exactly.  the sequencer core resents the note-off event
> > replaced from the original note event after the given duration.
> 
> ...and it also replaces the Note event with a Note On event, so I 
> don't have to see the actual Note event at all...?

no.  it doesn't appear as a received event.


Takashi


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-30 13:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-30 12:14 Sequencer Note events...? David Olofson
2003-01-30 12:53 ` Takashi Iwai
2003-01-30 13:15   ` David Olofson
2003-01-30 13:19     ` Takashi Iwai

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.