Max value for Envelope.addSegment(endValue, ...) (neophyte question)

5 views
Skip to first unread message

Barnet Wagman

unread,
Jul 30, 2020, 6:47:02 PM7/30/20
to beadsproject
I've just started using beads and have a very elementary question.

The Envelope.addSegment() method has "endValue" as one of its arguments.  What is the range of this argument?  I.e. is it limited to [ 0.0f, 1.0f ]?  If not, does its value represent any kind of units?  Does it have a max value? The javadoc for Envelope doesn't say anything about this.

Thanks.

Ollie Bown

unread,
Jul 30, 2020, 6:49:23 PM7/30/20
to beadsp...@googlegroups.com
Hi Barnet,

it can be any floating point value.

In general this is true of any “audio” signal in Beads, which use floats. Actual audio signals vary between -1 and 1 but we use signals for all kinds of things within Beads signal chains.

Ollie

--
You received this message because you are subscribed to the Google Groups "beadsproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beadsproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beadsproject/c140370f-0c93-4b9f-b789-1d1b01eab22bo%40googlegroups.com.

Barnet Wagman

unread,
Jul 30, 2020, 9:03:48 PM7/30/20
to beadsproject
Thanks, Ollie.


On Thursday, July 30, 2020 at 3:49:23 PM UTC-7, Ollie wrote:
Hi Barnet,

it can be any floating point value.

In general this is true of any “audio” signal in Beads, which use floats. Actual audio signals vary between -1 and 1 but we use signals for all kinds of things within Beads signal chains.

Ollie

On 31 Jul 2020, at 4:45 am, Barnet Wagman <bdw...@gmail.com> wrote:

I've just started using beads and have a very elementary question.

The Envelope.addSegment() method has "endValue" as one of its arguments.  What is the range of this argument?  I.e. is it limited to [ 0.0f, 1.0f ]?  If not, does its value represent any kind of units?  Does it have a max value? The javadoc for Envelope doesn't say anything about this.

Thanks.

--
You received this message because you are subscribed to the Google Groups "beadsproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beadsp...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages