Csound Csound-dev Csound-tekno Search About

[Csnd] Cmask question

Date2013-04-22 15:08
Frompeiman khosravi
Subject[Csnd] Cmask question
I'm sure I knew this before but my mind has gone numb!

In cmask (or pmask) how do the segment generators behave? Are the time values quantised to the nearest note onset? I'm just trying to figure out what is the best way to draw a segment across a sequence of notes, where the values only change on a note-by-note basis. Does it even make sense to define the segments as time values? Would it not be better to define them as the number of notes across which a segment is completed?

Best,
Peiman 

Date2013-04-22 19:11
FromSteven Yi
SubjectRe: [Csnd] Cmask question
HI Peiman,

I'm not quite sure what you're asking, but maybe the following might
help.  The time value for all notes is derived from the generator used
for p2.  That time value is also passed-in to each of the other
generators. Some generators use the given time value, others ignore
it.  I think the generators that use time values, such as break point
functions, will interpolate between points.

I took a quick look at pmask and this seems to be the case.  I seem to
remember it being the case in cmask when I implemented jmask, but it's
been a while.  Thinking it through, I'm pretty sure that must be the
case as otherwise, the time tracking code for event start/duration
would have been much more complicated.

steven

On Mon, Apr 22, 2013 at 3:08 PM, peiman khosravi
 wrote:
> I'm sure I knew this before but my mind has gone numb!
>
> In cmask (or pmask) how do the segment generators behave? Are the time
> values quantised to the nearest note onset? I'm just trying to figure out
> what is the best way to draw a segment across a sequence of notes, where the
> values only change on a note-by-note basis. Does it even make sense to
> define the segments as time values? Would it not be better to define them as
> the number of notes across which a segment is completed?
>
> Best,
> Peiman

Date2013-04-22 23:00
Frompeiman khosravi
SubjectRe: [Csnd] Cmask question
Thanks Steven,

That answers my question very well. Interpolation makes perfect sense. Back to the drawing room then!

Best,
Peiman






www.peimankhosravi.co.uk

To receive emails about upcoming concerts visit this page & enter your email address in the 'follow' section.



On 22 April 2013 19:11, Steven Yi <stevenyi@gmail.com> wrote:
HI Peiman,

I'm not quite sure what you're asking, but maybe the following might
help.  The time value for all notes is derived from the generator used
for p2.  That time value is also passed-in to each of the other
generators. Some generators use the given time value, others ignore
it.  I think the generators that use time values, such as break point
functions, will interpolate between points.

I took a quick look at pmask and this seems to be the case.  I seem to
remember it being the case in cmask when I implemented jmask, but it's
been a while.  Thinking it through, I'm pretty sure that must be the
case as otherwise, the time tracking code for event start/duration
would have been much more complicated.

steven

On Mon, Apr 22, 2013 at 3:08 PM, peiman khosravi
<peimankhosravi@gmail.com> wrote:
> I'm sure I knew this before but my mind has gone numb!
>
> In cmask (or pmask) how do the segment generators behave? Are the time
> values quantised to the nearest note onset? I'm just trying to figure out
> what is the best way to draw a segment across a sequence of notes, where the
> values only change on a note-by-note basis. Does it even make sense to
> define the segments as time values? Would it not be better to define them as
> the number of notes across which a segment is completed?
>
> Best,
> Peiman


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"