|
Thanks Andres
this code below doesn't work on my machine (Win 5.06) - but when i change
FLslidBnk to FLvslidBnk it does!
which is the first time i have seen any slidbnk set operation work at all! -
tried numerous times a few days ago however & couldn't get it to function.
(however i had inverted min max values, table offset, a much more complex
scenario - the problem is debuggers want to see simple scenarios, which
isn't necessarily when the problems surface... catch 22 it seems...)
but on my system this is still "buggy", & from my attempts to utilise this
on the weekend i think the whole slidBnk 1 & 2, horiz & vert set up needs an
audit & a double check.
I ended up scrapping all the code I had as not only was it proving
troublesome to implement the desired behaviour - but i came up with what i
thought was a better design full stop.
apologies therefore i can't be of more assistance.
but this code at least runs & demonstrates there is some sort of issue. but
i believe the "issues" are numerous & surface further once the application
is pushed into less "orthodox" implementations (although why the max slider
value is at the bottom of all the vertical sliders across the board i really
have no idea. i'm yet to implement a vertical slider who's output didn't
require a converted recalculation before output for some reason or other)
just to reiterate slidBank2 proved equally as unco-operative...
good luck. thankfully from my perspective i can report this has little
remaining relevance...
I'm looking fwd to 5.08 - at which time i promise i'll start trying to more
comprehensively catagog the numerous difficulties & unexpected behaviours
(or lack of behaviours) i seem to keep encountering from time to time.
but honestly when your orc is 500+ lines long, & all of a sudden some opcode
line you insert totally ceases to behave as expected, it's not always
possible to reproduce the "error" from a simple example in order to make a
neat presentation to the list....
but i appreciate where your all coming from. we are all busy & looking to
spend as little time as possible chasing down problems....
-d
sr = 48000
ksmps = 64
nchnls = 2
0dbfs = 1
gifunc ftgen 1,0, 8, -7, 0,8,0
gifunc2 ftgen 2,0, 8, -7, 0,8,1
FLpanel "Panel", 600, 400, 50, 50
FLslidBnk " ", 8 , gifunc , 300 , 200 , 50 , 50, -25
gihandle FLslidBnkGetHandle
FLpanelEnd
FLrun
instr 01
print gihandle
endin
instr 2
FLslidBnkSet gihandle, gifunc2
turnoff
endin
i 1 0 5
i 2 1 1
e
--
View this message in context: http://www.nabble.com/1%29-FLslidBnkSet-woes-%2B-2%29-FTsave-query-tp15101509p15154069.html
Sent from the Csound - General mailing list archive at Nabble.com.
|