Re: [PD] hslider/vslider - mismatch of input and output
Thanks Ico, sounds good - will have a look. Nice if your work on this could be applied to standard Pd. Cheers, Iain On Sun, 2012-04-01 at 20:11 -0400, Ivica Ico Bukvic wrote: Indeed, that is the most likely reason. If you have ability/willpower to try pd-l2ork version of hslider/vslider, this problem is solved in that any values that pass through the slider set to linearly scale between specific values remain unaltered (apart from outer edges of the slider). However, any values that result from moving the slider will be adjusted based on the slider's position in respect to the overall slider. HTH Ico On 04/01/2012 07:35 PM, Hans-Christoph Steiner wrote: I think that's because it normalizes the values based on the pixel granularity of the slider. That's just a guess. .hc On Apr 1, 2012, at 7:14 AM, Iain Mott wrote: Hi, I've noticed something strange with hslider and vslider. I you give them a large range, the inputs and outputs aren't always equal or at least they are out by a factor greater than 1. For example with the range 0 - 55000, if you connect a number object to hslider's input and enter 6034, the output reads 6032.68. Couldn't find this reported elsewhere - though perhaps i didn't search hard enough. This result is on linux. Cheers, i ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list We have nothing to fear from love and commitment. - New York Senator Diane Savino, trying to convince the NY Senate to pass a gay marriage bill ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hslider/vslider - mismatch of input and output
On Sun, Apr 01, 2012 at 08:14:43AM -0300, Iain Mott wrote: Hi, I've noticed something strange with hslider and vslider. I you give them a large range, the inputs and outputs aren't always equal or at least they are out by a factor greater than 1. For example with the range 0 - 55000, if you connect a number object to hslider's input and enter 6034, the output reads 6032.68. Couldn't find this reported elsewhere - though perhaps i didn't search hard enough. This result is on linux. I reported this a loong time ago, in 2006: http://sourceforge.net/tracker/?func=detailaid=1556206group_id=55736atid=478070 It happens, if the slider's range is not divisible by its pixel size. A 100px slider 0...100 is fine, a 100px slider 0 ... 127 is not. Ciao -- Frank BarknechtDo You RjDj.me? _ __footils.org__ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hslider/vslider - mismatch of input and output
Nice fix. I don't see it listed in your change log. Is it simple enough to make a patch for the sourceforge tracker? From: Ivica Ico Bukvic i...@vt.edu To: Hans-Christoph Steiner h...@at.or.at Cc: pd-list@iem.at Sent: Sunday, April 1, 2012 8:11 PM Subject: Re: [PD] hslider/vslider - mismatch of input and output Indeed, that is the most likely reason. If you have ability/willpower to try pd-l2ork version of hslider/vslider, this problem is solved in that any values that pass through the slider set to linearly scale between specific values remain unaltered (apart from outer edges of the slider). However, any values that result from moving the slider will be adjusted based on the slider's position in respect to the overall slider. HTH Ico On 04/01/2012 07:35 PM, Hans-Christoph Steiner wrote: I think that's because it normalizes the values based on the pixel granularity of the slider. That's just a guess. .hc On Apr 1, 2012, at 7:14 AM, Iain Mott wrote: Hi, I've noticed something strange with hslider and vslider. I you give them a large range, the inputs and outputs aren't always equal or at least they are out by a factor greater than 1. For example with the range 0 - 55000, if you connect a number object to hslider's input and enter 6034, the output reads 6032.68. Couldn't find this reported elsewhere - though perhaps i didn't search hard enough. This result is on linux. Cheers, i ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list We have nothing to fear from love and commitment. - New York Senator Diane Savino, trying to convince the NY Senate to pass a gay marriage bill ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Ivica Ico Bukvic, D.M.A Composition, Music Technology Director, DISIS Interactive Sound Intermedia Studio Director, L2Ork Linux Laptop Orchestra Assistant Director, CCTAD Virginia Tech Department of Music Blacksburg, VA 24061-0240 (540) 231-6139 (540) 231-5034 (fax) disis.music.vt.edu l2ork.music.vt.edu ico.bukvic.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hslider/vslider - mismatch of input and output
The old changelog is only up to the end of the last year (or thereabouts). All the latest changes are a part of the git now and I do believe that there is a mention of the aforesaid fix in there. HTH On 04/02/2012 12:22 PM, Jonathan Wilkes wrote: Nice fix. I don't see it listed in your change log. Is it simple enough to make a patch for the sourceforge tracker? *From:* Ivica Ico Bukvic i...@vt.edu *To:* Hans-Christoph Steiner h...@at.or.at *Cc:* pd-list@iem.at *Sent:* Sunday, April 1, 2012 8:11 PM *Subject:* Re: [PD] hslider/vslider - mismatch of input and output Indeed, that is the most likely reason. If you have ability/willpower to try pd-l2ork version of hslider/vslider, this problem is solved in that any values that pass through the slider set to linearly scale between specific values remain unaltered (apart from outer edges of the slider). However, any values that result from moving the slider will be adjusted based on the slider's position in respect to the overall slider. HTH Ico On 04/01/2012 07:35 PM, Hans-Christoph Steiner wrote: I think that's because it normalizes the values based on the pixel granularity of the slider. That's just a guess. .hc On Apr 1, 2012, at 7:14 AM, Iain Mott wrote: Hi, I've noticed something strange with hslider and vslider. I you give them a large range, the inputs and outputs aren't always equal or at least they are out by a factor greater than 1. For example with the range 0 - 55000, if you connect a number object to hslider's input and enter 6034, the output reads 6032.68. Couldn't find this reported elsewhere - though perhaps i didn't search hard enough. This result is on linux. Cheers, i ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list We have nothing to fear from love and commitment. - New York Senator Diane Savino, trying to convince the NY Senate to pass a gay marriage bill ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Ivica Ico Bukvic, D.M.A Composition, Music Technology Director, DISIS Interactive Sound Intermedia Studio Director, L2Ork Linux Laptop Orchestra Assistant Director, CCTAD Virginia Tech Department of Music Blacksburg, VA 24061-0240 (540) 231-6139 (540) 231-5034 (fax) disis.music.vt.edu http://disis.music.vt.edu l2ork.music.vt.edu http://l2ork.music.vt.edu ico.bukvic.net http://ico.bukvic.net ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Ivica Ico Bukvic, D.M.A Composition, Music Technology Director, DISIS Interactive Sound Intermedia Studio Director, L2Ork Linux Laptop Orchestra Assistant Director, CCTAD Virginia Tech Department of Music Blacksburg, VA 24061-0240 (540) 231-6139 (540) 231-5034 (fax) disis.music.vt.edu l2ork.music.vt.edu ico.bukvic.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] hslider/vslider - mismatch of input and output
Hi, I've noticed something strange with hslider and vslider. I you give them a large range, the inputs and outputs aren't always equal or at least they are out by a factor greater than 1. For example with the range 0 - 55000, if you connect a number object to hslider's input and enter 6034, the output reads 6032.68. Couldn't find this reported elsewhere - though perhaps i didn't search hard enough. This result is on linux. Cheers, i ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hslider/vslider - mismatch of input and output
I think that's because it normalizes the values based on the pixel granularity of the slider. That's just a guess. .hc On Apr 1, 2012, at 7:14 AM, Iain Mott wrote: Hi, I've noticed something strange with hslider and vslider. I you give them a large range, the inputs and outputs aren't always equal or at least they are out by a factor greater than 1. For example with the range 0 - 55000, if you connect a number object to hslider's input and enter 6034, the output reads 6032.68. Couldn't find this reported elsewhere - though perhaps i didn't search hard enough. This result is on linux. Cheers, i ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list We have nothing to fear from love and commitment. - New York Senator Diane Savino, trying to convince the NY Senate to pass a gay marriage bill ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hslider/vslider - mismatch of input and output
Indeed, that is the most likely reason. If you have ability/willpower to try pd-l2ork version of hslider/vslider, this problem is solved in that any values that pass through the slider set to linearly scale between specific values remain unaltered (apart from outer edges of the slider). However, any values that result from moving the slider will be adjusted based on the slider's position in respect to the overall slider. HTH Ico On 04/01/2012 07:35 PM, Hans-Christoph Steiner wrote: I think that's because it normalizes the values based on the pixel granularity of the slider. That's just a guess. .hc On Apr 1, 2012, at 7:14 AM, Iain Mott wrote: Hi, I've noticed something strange with hslider and vslider. I you give them a large range, the inputs and outputs aren't always equal or at least they are out by a factor greater than 1. For example with the range 0 - 55000, if you connect a number object to hslider's input and enter 6034, the output reads 6032.68. Couldn't find this reported elsewhere - though perhaps i didn't search hard enough. This result is on linux. Cheers, i ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list We have nothing to fear from love and commitment. - New York Senator Diane Savino, trying to convince the NY Senate to pass a gay marriage bill ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Ivica Ico Bukvic, D.M.A Composition, Music Technology Director, DISIS Interactive Sound Intermedia Studio Director, L2Ork Linux Laptop Orchestra Assistant Director, CCTAD Virginia Tech Department of Music Blacksburg, VA 24061-0240 (540) 231-6139 (540) 231-5034 (fax) disis.music.vt.edu l2ork.music.vt.edu ico.bukvic.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list