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...
Hi,
as i remeber from the phasor's helpfile, sending a bang to one of its inlets resets the phase to zero.
rgrds, p8r
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
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!
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
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.
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 atte.jensen@gmail.com [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.
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~]
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 atte.jensen@gmail.com:
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