Re: [PD] possible to reset phasor~?

2008-07-03 Thread Roman Haefeli
On Wed, 2008-07-02 at 23:58 +0200, Atte André Jensen wrote:
 Peter Plessas wrote:
 
  as i remeber from the phasor's helpfile, sending a bang to one of its
  inlets resets the phase to zero.
 
 Sending a float to right inlet resets phase (it seems regardless of the 
 value of the float).

not quite true. if yourfloat = int(yourfloat), then yes, the [phasor~]
is always resetted to zero. 
but generally: the second inlet of [phasor~] is used to set the phase,
so normally numbers between 0 and 1 are used, which give different
results.

roman




___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


Re: [PD] possible to reset phasor~?

2008-07-03 Thread Atte André Jensen
Roman Haefeli wrote:

 but generally: the second inlet of [phasor~] is used to set the phase,
 so normally numbers between 0 and 1 are used, which give different
 results.

That makes sense. So sending a .5 would reset the phase to half way 
through? Thanks for mentioning this.

-- 
peace, love  harmony
Atte

http://atte.dk   | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk

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


[PD] possible to reset phasor~?

2008-07-02 Thread Atte André Jensen
Hi

Is it possible to reset phasor, so sending it a message that'll make it 
start from 0 again?

I tried using a metro/vline substitute, but couldn't figure out how to 
change the speed *within* a cycle. Is such a construction possible?

NB: I'm trying to read out a sample from a table...

-- 
peace, love  harmony
Atte

http://atte.dk   | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk

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


Re: [PD] possible to reset phasor~?

2008-07-02 Thread Peter Plessas
Hi,

as i remeber from the phasor's helpfile, sending a bang to one of its
inlets resets the phase to zero.

rgrds,
p8r

* Atte André Jensen [EMAIL PROTECTED] [2008-07-02 23:45]:
 Hi
 
 Is it possible to reset phasor, so sending it a message that'll make it 
 start from 0 again?
 
 I tried using a metro/vline substitute, but couldn't figure out how to 
 change the speed *within* a cycle. Is such a construction possible?
 
 NB: I'm trying to read out a sample from a table...
 
 -- 
 peace, love  harmony
 Atte
 
 http://atte.dk   | http://myspace.com/attejensen
 http://anagrammer.dk | http://modlys.dk
 
 ___
 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] possible to reset phasor~?

2008-07-02 Thread ypatios
Hi

You can set the phase through the right inlet. Just send a zero and the
phasor starts a new cycle.

alabala

2008/7/2 Atte André Jensen [EMAIL PROTECTED]:

 Hi

 Is it possible to reset phasor, so sending it a message that'll make it
 start from 0 again?

 I tried using a metro/vline substitute, but couldn't figure out how to
 change the speed *within* a cycle. Is such a construction possible?

 NB: I'm trying to read out a sample from a table...

 --
 peace, love  harmony
 Atte

 http://atte.dk   | http://myspace.com/attejensen
 http://anagrammer.dk | http://modlys.dk

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




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


Re: [PD] possible to reset phasor~?

2008-07-02 Thread Atte André Jensen
Peter Plessas wrote:

 as i remeber from the phasor's helpfile, sending a bang to one of its
 inlets resets the phase to zero.

Sending a float to right inlet resets phase (it seems regardless of the 
value of the float).

I'm not only newbie, I'm also blind :-) Sorry, about that!

-- 
peace, love  harmony
Atte

http://atte.dk   | http://myspace.com/attejensen
http://anagrammer.dk | http://modlys.dk

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


Re: [PD] possible to reset phasor~?

2008-07-02 Thread Claude Heiland-Allen
Peter Plessas wrote:
 as i remeber from the phasor's helpfile, sending a bang to one of its
 inlets resets the phase to zero.

Sending a 0=float=1 to the right hand inlet sets the phase at the next 
block boundary (usually 64 samples).

 * Atte André Jensen [EMAIL PROTECTED] [2008-07-02 23:45]:
 I tried using a metro/vline substitute, but couldn't figure out how to 
 change the speed *within* a cycle. Is such a construction possible?

[phasor~]
  | \   falling edge when you want to bash phase to 0
  |  \   |
  | [samphold~]
  |  |
[-~  ]
  |
[wrap~]
  |

might do what you want, I haven't tested it particularly.  You could use 
the falling edge of the [phasor~] itself to trigger the [samphold~] when 
you need the output to be back in sync with that [phasor~], which might 
be useful.


Claude
-- 
http://claudiusmaximus.goto10.org

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


Re: [PD] possible to reset phasor~?

2008-07-02 Thread hard off
changing speed within a cycle using vline:


[metro 1]
|
|   [r to-float]
|   |
[f  ]   [enter your new speed here(
|   |
[t f f][* 44.1]
| | |
| [+ 44.1]
| |\
| | [s to-float]
| |
[pack]
|
[$1, $2 1(
|
[vline~]
|
[tabread4~]
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list