You don't actually need the [wrap~] as the domain of [cos~] is already suited.
On Wed, 14 Apr 2010 13:17:54 +0200 Roman Haefeli reduzierer@yahoo.de wrote:
On Wed, 2010-04-14 at 02:10 -0700, Jaime Oliver wrote:
Hi all,
It would be great it phasor~ and/or osc~ could receive phase information (right inlet) as a signal. objects like *~ can recognize if they are receiving a float or a signal on their left inlet?
if this feature was added in vanilla, would it break anything? is it possible, worthwhile? is there a third party external doing this?
As IOhannes pointed out, it doesn't make too much sense to have the phase inlets fed by a signal.
What would you probably want is to be able to constantly shift the phase over time relative to an initially set absolute phase. This can be achieve by adding a constant to the [phasor~] signal and wrapping the the result.
[phasor~] | | [inlet~ relative-phase-shift] | | [+~ ] | [wrap~] (<- use Pd's internal [wrap~] here, not zexy's)
For a similar [osc~] replacement, just connect [wrap~]'s outlet to a [cos~].
Roman
___________________________________________________________ Der fr_he Vogel f_ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de