Hi,
apart from true CQ Gabor transformations there is a method for estimating the 
power spectra of arbitrary frequency scales. It's probably what you are looking 
for.
It is based on summing up power spectrum bins by use of triangular windows.
I made an implementation which is fairly general. It employs some dynamic 
patching to generate the individual filter bands.
spect_scaled.pd is the main abstraction, it comes with a demo file 
spect_scaled-help.pd

have fun, Thomas

--
Thomas Grill
http://grrrr.org

Attachment: hz-log.pd
Description: Binary data

Attachment: list-map.pd
Description: Binary data

Attachment: log-hz.pd
Description: Binary data

Attachment: scl2bin.pd
Description: Binary data

Attachment: spect_part.pd
Description: Binary data

Attachment: spect_parts.pd
Description: Binary data

Attachment: spect_scaled-help.pd
Description: Binary data

Attachment: spect_scaled.pd
Description: Binary data




> Am 10.07.2017 um 22:01 schrieb Alexandre Torres Porres <[email protected]>:
> 
> Howdy, trying to figure the relationship between constant-Q and FFT, and if 
> you can make a constant-Q patch in vanilla based on [fft~]. This would be for 
> an android app, so it'd be good if I didn't need an external.
> 
> I was checking the [constantq~] external, which is found here and in 'deken'. 
> it's based on a paper by Puckette and Brown. I need help cause I can't read 
> math or figure out code reasonably well, so I don't really know how it works. 
> It seems it could be done just by rescaling the output of an FFT with 
> logarithmic values, but I could be terribly wrong.
> 
> Thing is that I already have a pd patch with a logarithmic output here - this 
> is not vanilla, but made on extended, but easily adaptable for vanilla (I'm 
> also attaching it).
> 
> Also, how about just having a bank of filters with center frequencies around 
> the tempered scale, could you have in practice the same thing as from 
> [constantq~]?
> 
> thanks
> <6.Log_Freq.pd>_______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to