# Max: comparison patch update

**URL:** https://discourse.flucoma.org/t/max-comparison-patch-update/541
**Category:** Pre-Release Toolbox2 Code Sharing
**Created:** [July 1, 2020, 10:06am UTC](https://discourse.flucoma.org/t/max-comparison-patch-update/541 "2020-07-01T10:06:16Z")
**Posts on this page:** 1
**Showing post:** 12

<div class="post-metadata">

### Author: ![rodrigo.constanzo](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/rodrigo.constanzo/32/12_2.png) [@rodrigo.constanzo](https://discourse.flucoma.org/u/rodrigo.constanzo)
#### Post date: [July 4, 2020, 3:02pm UTC](https://discourse.flucoma.org/t/max-comparison-patch-update/541/12 "2020-07-04T15:02:30Z")

</div>

A question about the interface for this\*.

I’m trying to recreate the analysis window and timescales from my main patch, in order to compare the different types of descriptors and stats.

In my original I have 256 samples that I can analyze (from the JIT rolling buffer), and I’m using `@fftsettings 256 64 512` (zero padding the end as per @weefuzzy’s [recommendation](https://discourse.flucoma.org/t/fluid-bufmelbands-not-outputting-bands-at-certain-fft-settings/525/2)).

In my present patch, I have this:  
 ![Screenshot 2020-07-04 at 3.50.07 pm](https://discourse.flucoma.org/uploads/default/original/1X/ccc402a58a079056eb5330492324e3893a2f92d3.png)  
Which gives me 7 frames of analysis total. I ignore the first and last few and take the middle ones, since I don’t want the pull from the zero padding on spectral descriptors (mirroring would be great! (but different story/post)).

I know I can’t do the selective start/numframes in the comparison patch, which is fine, but I have no idea how I’m supposed to designate that I want to create the same type of analysis.

If the `-comparison` patch, if I put in the correct `@fftsettings` (manually adding the 512 at the end), I can’t seem to select an amount of frames that corresponds with what I’m doing in my patch.

This seems the closest, but I don’t think this is right:  
 ![Screenshot 2020-07-04 at 3.46.56 pm](https://discourse.flucoma.org/uploads/default/original/1X/259c7e795aaceecc4d8ec0ce39e663117324ce4a.png)

If I put in 7 frames, which is what I’m getting in my patch, I get this, which is waaay off:  
 ![Screenshot 2020-07-04 at 3.55.46 pm](https://discourse.flucoma.org/uploads/default/original/1X/64d525ebc5be2cf613eb4ed69e6ef232842a6bda.png)

So either I’m not understanding the maths here, or the maths is wrong (i.e. windowsize vs hopsize being multiplied for the ms conversion).

And to be clear, I’m earnestly confused here\*. I would actually like to know what I’m supposed to put into this interface to correspond with `@startframe 0 @numframes 256 @fftsettings 256 64 512`. (The purpose of this is to use the same settings I’m doing in my actual patch, I just want to be able to compare the different descriptors/stats to see what works best, and 256 samples is all I have, and those fft settings are what works best with those few samples).

\*_I promise this isn’t me trying to be difficult or bust balls, but I actually don’t know what I’m supposed to enter here._

---

_[View the full topic](https://discourse.flucoma.org/t/max-comparison-patch-update/541)._
