# Fluid.bufstats~ taking frame/chan messages

**URL:** <https://discourse.flucoma.org/t/fluid-bufstats-taking-frame-chan-messages/207>\
**Category:** New Ideas\
**Created:** [May 26, 2019, 4:43pm UTC](https://discourse.flucoma.org/t/fluid-bufstats-taking-frame-chan-messages/207 "2019-05-26T16:43:04Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [May 26, 2019, 4:43pm UTC](https://discourse.flucoma.org/t/fluid-bufstats-taking-frame-chan-messages/207/1 "2019-05-26T16:43:04Z")

</div>

I originally mentioned this in [the thread about descriptor comparisons](https://discourse.flucoma.org/t/descriptors-comparison-oldschool-vs-newschool/205) but it has gotten lost in the shuffle there.

Would it be possible for `fluid.bufstats~` to take messages for frame and chan arguments? That way you can be more granular with the data you process, and in some (many?) cases you can skip a `fluid.bufcompose~` step in a processing chain.

---

<div class="post-metadata">

**Author:** ![tremblap](https://discourse.flucoma.org/user_avatar/discourse.flucoma.org/tremblap/32/5_2.png) [@tremblap](https://discourse.flucoma.org/u/tremblap)\
**Post date:** [May 27, 2019, 7:14am UTC](https://discourse.flucoma.org/t/fluid-bufstats-taking-frame-chan-messages/207/2 "2019-05-27T07:14:16Z")

</div>

If I understand your question well, my version here does it. You mean the same interface as all others, i.e. startframe, numframes, startchan, numchans ?

If yes, check your compile time, but if you have the ones I sent during the plenary, you have the same as me.

---

<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:** [May 27, 2019, 7:56am UTC](https://discourse.flucoma.org/t/fluid-bufstats-taking-frame-chan-messages/207/3 "2019-05-27T07:56:34Z")

</div>

Ah right, I see.

The helpfile doesn’t mention them as attributes, but they are still used later in the helpfile.

That could potentially save a bunch of time in my patch as I can just do stats on the bits I need.
