Csound Csound-dev Csound-tekno Search About

[Csnd] chnset (1-0.1)/(2-0.1), "slider3"

Date2021-06-18 11:18
From'2+
Subject[Csnd] chnset (1-0.1)/(2-0.1), "slider3"
hi!

since teclast m40(10inch android10) tablet is here with me
made my mind to get serious with csound4android again

reading a photocopy of the old example(i.csd i think it was) that i liked
and trying to learn how to set up a default value(range?) of a slider widget

.csd has:

gkslider2 chnget "slider2"
                  chnset 0.5, "slider2"
gkslider3 chnget "slider3"
                  chnset (1-0.1)/(2-0.1), "slider3"

in it
i can understand slider2
but what does this (1-0.1)/(2-0.1) for slider3 mean?

read through these:
https://csoundqt.github.io/pages/widgets.html
but i don't get it ...

guide me with a pointer(a good url), please

tia

btw: html5 related examples that comes with the app fails with webview error :(

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2021-06-18 12:03
From"Jeanette C."
SubjectRe: [Csnd] chnset (1-0.1)/(2-0.1), "slider3"
Jun 18 2021, '2+ has written:
...
>                  chnset (1-0.1)/(2-0.1), "slider3"
...
It reads like a normal expression, perhaps an example what you can do
with the chnset command. So it would evaluate to:
0.9 / 1.9
Beyond that, I don't see anything special about the value and the way it
is expressed.

Best wishes,

Jeanette

-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

Just call out my name, and I will be there... <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2021-06-18 12:49
From'2+
SubjectRe: [Csnd] chnset (1-0.1)/(2-0.1), "slider3"
omg! just that?
took it for granted that it must had something to do with range setup :D
thank you!

On Fri, Jun 18, 2021, 20:03 Jeanette C. <julien@mail.upb.de> wrote:
Jun 18 2021, '2+ has written:
...
>                  chnset (1-0.1)/(2-0.1), "slider3"
...
It reads like a normal expression, perhaps an example what you can do
with the chnset command. So it would evaluate to:
0.9 / 1.9
Beyond that, I don't see anything special about the value and the way it
is expressed.

Best wishes,

Jeanette

--
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

Just call out my name, and I will be there... <3
(Britney Spears)

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here