[PD] Sorting samples by value
David McCallum
8dngm at qlink.queensu.ca
Wed Oct 24 21:07:53 CEST 2001
I'm trying to route the samples of an audio signal (adc~, no
table) according to their value. I tried using max~ and min~ to separate
them but I found that max~ and min~ clip all the audio coming in, but still
output their min or max value even when the incoming sample is out of
range. (ie. a sample value of 3 put through a [max~ 4] comes through as 4,
not nothing. (or even 0 would be nice))
This is for waveshaper algorithms where samples in certain ranges
get treated differently.
Any suggestions? I think I'm probably overlooking something.
David McCallum
More information about the Pd-list
mailing list