[PD] Dynamically Changing properties of a horizontal slider

2008-12-18 Thread Thomas Mayer
Hello,

I am trying to create a live sampler / looper abstraction. It will have
two horizontal sliders with the start / stop point of the loop. As I
will replace the recording during the performance, I need a way to
change the values of the output range of the slider dynamically, e.g. to
set the range of the slider from 0 to 44100 with

[output-range 0 44100(
|
[s receive_name_of_hsl]

Thanks in advance,
Thomas
-- 
Prisons are needed only to provide the illusion that courts and police
are effective. They're a kind of job insurance.
(Leto II. in: Frank Herbert, God Emperor of Dune)
http://thomas.dergrossebruder.org/

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Dynamically Changing properties of a horizontal slider

2008-12-18 Thread Claude Heiland-Allen
Thomas Mayer wrote:
 Hello,
 
 I am trying to create a live sampler / looper abstraction. It will have
 two horizontal sliders with the start / stop point of the loop. As I
 will replace the recording during the performance, I need a way to
 change the values of the output range of the slider dynamically, e.g. to
 set the range of the slider from 0 to 44100 with

check the help patch, pd edit subpatch

almost as you have, but just called range

 
 [output-range 0 44100(
 |
 [s receive_name_of_hsl]
 
 Thanks in advance,
 Thomas


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Dynamically Changing properties of a horizontal slider

2008-12-18 Thread cyrille henry
hello,

why don't you use a slider from 0 to 1, and multiply it's output to have the 
desire range?

cyrille

Thomas Mayer a écrit :
 Hello,
 
 I am trying to create a live sampler / looper abstraction. It will have
 two horizontal sliders with the start / stop point of the loop. As I
 will replace the recording during the performance, I need a way to
 change the values of the output range of the slider dynamically, e.g. to
 set the range of the slider from 0 to 44100 with
 
 [output-range 0 44100(
 |
 [s receive_name_of_hsl]
 
 Thanks in advance,
 Thomas

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Dynamically Changing properties of a horizontal slider

2008-12-18 Thread Thomas Mayer
Claude Heiland-Allen wrote:
 Thomas Mayer wrote:
 Hello,

 I am trying to create a live sampler / looper abstraction. It will have
 two horizontal sliders with the start / stop point of the loop. As I
 will replace the recording during the performance, I need a way to
 change the values of the output range of the slider dynamically, e.g. to
 set the range of the slider from 0 to 44100 with
 
 check the help patch, pd edit subpatch
 
 almost as you have, but just called range
 

Thanks, that's it.

cu Thomas
-- 
Prisons are needed only to provide the illusion that courts and police
are effective. They're a kind of job insurance.
(Leto II. in: Frank Herbert, God Emperor of Dune)
http://thomas.dergrossebruder.org/

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list