hi list,
i have a hard time getting a max patch ported to pd. the one object in max that bugs me is a signal accumulator. [+=~] the object adds all the values it receives and can be reset with a signal (in my case a pulse) is there an equivalent in pd? i can't seem to find one.
i try to create some kind of ramped up signal that gets reset everytime a pulse arrives. this gives me a sawtooth-like wave, the amplitude is determined by the frequency of the pulse. lower frequency of the pulse gives higher amplitude and vice versa. the important part is, that everything has to be done at signal rate, no messages :-)
here is how it looks and works in max/msp:
[sig~ 1] pulsesignal \ / [+=~] | [/~ 44100] (divided by current samplerate) | sawtooth with amplitude depending on frequency of the pulse
is there a way to achieve this without the signal accumulator object? i feel like there should be an easy solution but i can't seem to find it. any hints?
thanks, simon
Hi Simon,
On Mon, Jul 16, 2012 at 11:26 PM, Simon Iten itensimon@gmail.com wrote:
is there a way to achieve this without the signal accumulator object? i feel like there should be an easy solution but i can't seem to find it. any hints?
If you mean the following, where x is the input and y the output..
y += x;
and that for each sample..
then [biquad~] might be a solution:
[sig~ 1] | | [clear( | / [biquad~ 1 0 1 0 0] |
This adds the last output to the current input. The [clear( message resets biquad~ to 0. Now you just have to find a method to translate your pulse to a bang.
this seems like a great approach. thanks! my only concern is, that there will be nothing fast enough to detect my 30-1200 pulses per second... and i also don't think bangs can be sent that precisely, or can they? On Jul 17, 2012, at 12:13 AM, Funs Seelen wrote:
Hi Simon,
On Mon, Jul 16, 2012 at 11:26 PM, Simon Iten itensimon@gmail.com wrote:
is there a way to achieve this without the signal accumulator object? i feel like there should be an easy solution but i can't seem to find it. any hints?
If you mean the following, where x is the input and y the output..
y += x;
and that for each sample..
then [biquad~] might be a solution:
[sig~ 1] | | [clear( | / [biquad~ 1 0 1 0 0] |
This adds the last output to the current input. The [clear( message resets biquad~ to 0. Now you just have to find a method to translate your pulse to a bang.
PERFECT!!
that did the trick! now i'm one step closer to my gr-300 simulation :-) thanks!
On Jul 17, 2012, at 12:59 AM, Claude Heiland-Allen wrote:
On 16/07/12 22:26, Simon Iten wrote:
[+=~] the object adds all the values it receives and can be reset with a signal (in my case a pulse) is there an equivalent in pd? i can't seem to find one.
[rpole~]
right inlet 0 to reset right inlet 1 to accumulate
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi,
I'm interested in everything related to guitar sound processing, and I write a blog to share guitar effect patches. Would you be willing to share some of your work with us?
Cheers,
Pierre.
2012/7/17 Simon Iten itensimon@gmail.com
PERFECT!!
that did the trick! now i'm one step closer to my gr-300 simulation :-) thanks!
On Jul 17, 2012, at 12:59 AM, Claude Heiland-Allen wrote:
On 16/07/12 22:26, Simon Iten wrote:
[+=~] the object adds all the values it receives and can be reset with
a signal (in my case a pulse)
is there an equivalent in pd? i can't seem to find one.
[rpole~]
right inlet 0 to reset right inlet 1 to accumulate
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
Yeah, let us know when you got it working ... I'd like to see and perhaps try with my midi guitar.
On Jul 17, 2012, at 2:58 AM, Pierre Massat wrote:
Hi,
I'm interested in everything related to guitar sound processing, and I write a blog to share guitar effect patches. Would you be willing to share some of your work with us?
Cheers,
Pierre.
2012/7/17 Simon Iten itensimon@gmail.com PERFECT!!
that did the trick! now i'm one step closer to my gr-300 simulation :-) thanks!
On Jul 17, 2012, at 12:59 AM, Claude Heiland-Allen wrote:
On 16/07/12 22:26, Simon Iten wrote:
[+=~] the object adds all the values it receives and can be reset with a signal (in my case a pulse) is there an equivalent in pd? i can't seem to find one.
[rpole~]
right inlet 0 to reset right inlet 1 to accumulate
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
Dan Wilcox danomatika.com robotcowboy.com
Sure! The thing is though that i'm going for the "real" thing here. :-) so in order to use my patch you have to have audio output from each string of your guitar. no midi. i do this by using an active breakout box from bill baxendale. check: http://billbax.110mb.com/
cheers,
simon
On Jul 17, 2012, at 9:19 AM, Dan Wilcox wrote:
Yeah, let us know when you got it working ... I'd like to see and perhaps try with my midi guitar.
On Jul 17, 2012, at 2:58 AM, Pierre Massat wrote:
Hi,
I'm interested in everything related to guitar sound processing, and I write a blog to share guitar effect patches. Would you be willing to share some of your work with us?
Cheers,
Pierre.
2012/7/17 Simon Iten itensimon@gmail.com PERFECT!!
that did the trick! now i'm one step closer to my gr-300 simulation :-) thanks!
On Jul 17, 2012, at 12:59 AM, Claude Heiland-Allen wrote:
On 16/07/12 22:26, Simon Iten wrote:
[+=~] the object adds all the values it receives and can be reset with a signal (in my case a pulse) is there an equivalent in pd? i can't seem to find one.
[rpole~]
right inlet 0 to reset right inlet 1 to accumulate
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
Dan Wilcox danomatika.com robotcowboy.com