How to do a one pole High-pass filter

ccunha's icon

Hello,

I want to know how to do a one pole high-pass filter
in Max/MSP...

Thanks.

keithmanlove's icon

When you insert an new object, you are presented with several
categories on the left side of the box that pops up and objects on the
right. There is a category "MSP Filters" that will get you started.

Keith

On 10/5/07, Cunha Claudio wrote:
>
> Hello,
>
> I want to know how to do a one pole high-pass filter
> in Max/MSP...
>
> Thanks.
> --
> C.Cunha
>

--
Keith Manlove
(512) 825-9176
keithmanlove@gmail.com

ccunha's icon

I've see the MSP Filters but there is not a one pole high-pass filter....

keithmanlove's icon

right... forgot about that.

On 10/5/07, Cunha Claudio wrote:
>
> I've see the MSP Filters but there is not a one pole high-pass filter....
> --
> C.Cunha
>

--
Keith Manlove
(512) 825-9176
keithmanlove@gmail.com

julien breval's icon

Hello,

Maybe this can work (sorry, not tested) :

Max Patch
Copy patch and select New From Clipboard in Max.

Axiom-Crux's icon

I think onepole is a lowpass filter

You should use filtercoeff in combination with biquad, that will offer you many types of filters.

Also, I don't like the sound of any of the internal max filters and have fallen in love with the 2up.svf~ external, look on maxobjects.com

Peter McCulloch's icon

Onepole is a lowpass filter, but if you subtract its output from the
original signal you will have a highpass filter.

Highpass = original signal - lowpass

Peter McCulloch

nick rothwell | project cassiel's icon

On 6 Oct 2007, at 04:18, Peter McCulloch wrote:

> Onepole is a lowpass filter, but if you subtract its output from
> the original signal you will have a highpass filter.

Really? I thought there was always a few samples' worth of latency in
any filter.

    -- N.

Nick Rothwell / Cassiel.com Limited
www.cassiel.com
www.myspace.com/cassieldotcom
www.loadbang.net

Peter McCulloch's icon

I know there's a right answer to this, but here are at least some
observations from the test patch:

Delaying the input by one sample accentuates the highpass effect, but
shows a boost as the cutoff gets close to half the Nyquist frequency.
(1 sample delay combined with itself = comb filter...) If the delay is
set to 0, everything above the cutoff frequency is appropriately
passed, so it looks like the delay is actually not necessary, though
some of the comb filtering effects that it could introduce might be
useful in accentuating the effect. (though presumably not accurate...)

Anyways, easier still is to just use hp1~ included in the bonus
externals.

Any DSP gurus care to weigh in?

Max Patch
Copy patch and select New From Clipboard in Max.

www.petermcculloch.com

Owen Green's icon

Nick Rothwell wrote:
>
> On 6 Oct 2007, at 04:18, Peter McCulloch wrote:
>
>> Onepole is a lowpass filter, but if you subtract its output from the
>> original signal you will have a highpass filter.
>
> Really? I thought there was always a few samples' worth of latency in
> any filter.

The simplest of all possible lp filters y[k] = x[k] + x[k-1] has 0.5
samples' delay across the board:

--
Owen

Axiom-Crux's icon

bonus externals?

Peter McCulloch's icon

Yup. They're in the Pluggo support folders after you install pluggo.

For me it's:
/Library/Application Support/C74 Plug-in Support/Pluggo
Support/bonus-externs

highpass, lowpass, snapshotting, etc.

Cycling '74: any news on whether these will be transitioning over in
Max 5?

Peter McCulloch