A solution is available in Enzien's heavylib https://github.com/enzienaudio/heavylib%C2%A0, it involves some [min] and [clip -1e-37 0] . No [expr~], so it is also fully heavy-compatible (as you would expect).Giulio
From: cyrille henry <ch@chnry.net>
To: pd-list@lists.iem.at Sent: Monday, 6 February 2017, 13:11 Subject: Re: [PD] test audio signals: Are there <~ and >~ objects?
Le 06/02/2017 à 14:00, Peter P. a écrit :
- IOhannes m zmoelnig zmoelnig@iem.at [2017-02-06 07:45]:
On 2017-02-06 13:34, Peter P. wrote:
Hi list,
this seems to be easy but I can't figure it out:
How can I test an audio signal to lie within a certain range, or just if it is bigger or smaller than a reference value, and receive the result as an audio signal as well? Are there <~ an >~ objects or equivalents?
- [expr~ $v1>0.5]
- zexy's [>~]
- iirc cyclone provides them too
Thanks IOhannes and Roman! Funny there are no internal objects for this.
for a vanilla only solution, you can use tabread~ with a 2 point table... cheers C
best, P
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list